Interesting take. I think frameworks are great for getting started, but production is where the real trade-offs show. What's your go-to setup today?
Are orchestration frameworks for production or just for getting started?
10 Comments
Never used one. The agent layer in my game is an abstract class with two methods - give me structured output matching this schema, or give me plain text. Every provider implements those two, and that has carried 20-something models across 9 providers.
The frameworks abstract the part that was already easy. Calling a model is easy. The work is deciding what goes into the context at each step, and that is your domain, not theirs. I compute the exact slice of rules a given step needs and inject it as the last message, then validate the answer against an enum before it goes anywhere.
@[hiper2d] Hey thats a great perspective actually I like the idea of abstracting only the provider layer and keeping the orchestration domain specific. The context injection point is especially interesting that seems to be where the real value is. Did you ever experiment with frameworks or has this custom approach worked well from the beginning? What was your approach when you start working on new agentic ai project?
@[Ayush_SIngh] Never adopted one, but I read through a couple before deciding. What put me off is that when you break them apart, every piece is something you already have. Memory is a file plus a step that decides what to load. The loop is a while statement. The provider call is one function. I would be trading readability for convenience I do not need.
Starting a new one, I write the dumbest possible version first - one script, one prompt, no abstractions - and run it until it breaks. What it breaks on tells you what to build. Mine broke on context: the model kept drifting off rules that were sitting right there in the system prompt. So what I built was the per-step context assembly. If it had broken on tool routing I would have built that instead, and I would have got there without guessing.
The one piece I would put in on day one regardless is validation at the boundary. Every model response gets parsed into a type before anything downstream sees it. Cheap to add early, miserable to retrofit.
@[hiper2d]Oh that's really a nice approach I really like the idea of letting the failures drive the architecture instead of guessing upfront. The validation-at-the-boundary point also feels like one of those small decisions that pays off as systems grow.
I just want to ask one thing have you ever has there ever been a point where you felt a framework would have saved time or has the custom approach continued to scale well for you?
and one more thing has your custom orchestration held up as you have added more providers and features, or have there been parts you have had to redesign over time?
Other than i genuinely like the approach thank you for the insights it is really helpful for me as well.
@[Ayush_SIngh] I didn't find the right framework for my case. Usually, the orchestration logic assumes that different models have different roles, and the orchestrator picks one based on whoever shuts the task better. In my case, the orchestrator needs to pick one by name to keep the conversation going smoothly. It has 10+ AI players, it follows their conversation and based of that decides who speaks next.
And implementing my own orchestrator was an easy thing. I can add new providers by simply passing their documentation page to Claude Code. I used LangChain in the past, and it was a struggle - this things kept breaking and was not customizable enough. I had to wait when devs adds some new feature or fix a bug - now I can have the newest models or API features the same day they are released. With AI it's easy to maintain.
AI has changed my philosophy to having as least frameworks are possible.
@[hiper2d] That's a really good insight for me, especially the point about maintaining and debugging framework heavy pipelines. I think every framework has its limitations and sometimes the better approach is to build your own orchestration while taking the useful ideas and patterns from those frameworks. I really like your philosophy of keeping the framework layer as small as possible and owning the orchestration logic yourself. The ability to adopt new model/API features immediately is a big advantage too.
This was really helpful and honestly cleared up a lot of my confusion around when custom orchestration makes more sense than using a framework. Thanks for sharing your experience!
Please log in to add a comment.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Premium Subscription
- Terms of Service
- Early Builders
More From Ayush_SIngh
Related Jobs
- Chemical Maintenance Technician - ProductionNICO PRODUCTS, INC. · Full time · Canada
- Software Engineer, Test & Infrastructure II (Bilingual Spanish)Vail Systems · Full time · Springfield, IL
- Associate Production Resource Specialist (Nursery/Finishing)Murphy-Brown LLC · Full time · Warsaw, NC
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!