
Apache Hamilton (incubating)
510 posts

Apache Hamilton (incubating)
@hamilton_os
OS project to build testable & modular dataflows (DAGs) in #python Get lineage & observability for free. Use in DE, DS, ML, LLMs contexts. Run by @TheASF.



















anecdote about alec: he codes exclusively in a jupyter notebook and then has like a research engineer there to translate it it. he’s there for the discovery, not for the execution. curiosity trumps all.




A @burr_framework user shared this video youtube.com/watch?v=evmZTh… with me on the "problem with frameworks". Worth a watch. I 💯% agree with the take home. The "coupling problem" is the reason why people graduate out of frameworks like @langchain & @llama_index. You become overly coupled and then find yourself overtime asking why am I using this? It's not that the framework authors did this maliciously, it's just that they optimized for their needs, in this case for POCs, which is not the same as long lived maintainable code. That's why we see people either build their own frameworks, or they hopefully discover @hamilton_os & @burr_framework and realize that there are frameworks that allow "loose coupling" that don't get in your way (as a platform person and framework author we optimize for maintainable code). A good example of this is @FastAPI - very easy to not couple your business logic and iterate quickly no matter the age of the code. So how can you tell where a framework lies on the spectrum of tight coupling versus not? Some tests: (1) How many "objects" do I need to use from the framework to couple the logic I want to happen? The fewer the better. E.g. with @hamilton_os by default it's 0. With @burr_framework it's just 1 and that's due to state for edge transitions, but that's easy to decouple from. (2) How many framework imports do you need to get something to run? The less the better - consider @burr_framework vs @langchain using #langgraph (see images) If you're feeling framework pains, or are curious on how it can be done right, checkout: github.com/DAGWorks-Inc/b… (agents) github.com/DAGWorks-Inc/h… (pipelines/tools) or subscribe to our blog - blog.dagworks.io #python #opensource #genai #llmops









