I keep seeing “agent” used as a catch-all term for anything with an LLM in the loop, and that’s part of why so many teams ship messy systems.
The cleaner distinction is:
Workflows are predefined code paths wrapped around LLM calls.
Agents are when you let the model decide its next action, usually through tool calls, based on environment feedback.
That framing is simple, but it clears up a lot of confusion.
What I liked here is that the patterns stay concrete instead of drifting into vague “autonomous systems” talk. You can actually map them to code and, more importantly, to production tradeoffs.
A few patterns stood out:
Prompt chaining is the obvious one: one LLM call feeds the next, with some gating in between. Boring? Maybe. Useful? Absolutely. If I can decompose a task into a fixed sequence, I usually trust this more than handing everything to an agent and hoping it improvises correctly.
Parallelization is another pattern I’ve used a lot in practice. If you want multiple independent outputs or perspectives, fan out and aggregate. Simple example: generate a joke, story, and poem in parallel. Real example: multi-query retrieval, multiple evaluators, or independent sub-analyses.
Routing is where things start getting more interesting. Instead of hardcoding every branch, let the model classify the request and send it down one path. I’m a fan of doing this with structured outputs rather than loose prompting. If the router must return joke | story | poem, make it return exactly that. Less magic, fewer weird edge cases.
The orchestrator-worker pattern is probably the most practically important one for bigger tasks. The model creates a plan, breaks the job into subtasks, and workers handle them independently before a synthesizer merges the result. Report generation and research workflows fit this really well. It’s basically dynamic parallelization: you don’t know upfront how many workers you need.
Then there’s evaluator-optimizer, which is one of those patterns that sounds fancy but is just common sense. Generate something, grade it, feed back the critique, regenerate. I’ve seen this work well for hallucination checks, response quality gating, and any case where “one shot and pray” isn’t good enough.
The bigger point: a lot of useful LLM systems are not agents. They’re workflows with selective model-based decisions inside them.
And honestly, that’s usually the better engineering choice today.
I’m still pretty skeptical of teams reaching for full agent loops too early. The basic agent pattern is elegant — model calls a tool, receives tool output, decides what to do next, repeat until done — but elegance in a notebook is not the same thing as reliability in production.
That’s why I think the workflow vs agent distinction matters so much:
- If I roughly know the sequence of steps, I want a workflow.
- If the task is genuinely open-ended and I can’t predict the tool trajectory, then an agent starts to make sense.
This matches what I’ve seen in the field. Most production systems still benefit from scaffolding. Not because agents are conceptually wrong, but because reliability still matters more than demo appeal.
What also resonates with me is the argument for frameworks when they’re used the right way.
I have very little patience for framework pitches that boil down to “it abstracts everything.” Usually that means it hides the parts I actually need to control.
The more compelling pitch is lower-level infrastructure:
- persistence and memory
- human-in-the-loop pauses/reviews
- streaming beyond just token output
- easier debugging and deployment
That’s a real benefit. Not “AI strategy.” Not “agentic transformation.” Just operational plumbing that saves time when the toy demo has to become a system someone depends on.
I also like the emphasis on structured outputs as the core primitive. That’s one of the least hyped and most useful ideas in LLM engineering right now. You can build routers, graders, planners, and state transitions with much tighter control if the model is required to emit something typed and predictable.
If I had to summarize my takeaway:
Workflows are still the default.
Agents are for the cases that are truly open-ended.
And the value of something like LangGraph is not that it invents new magic — it’s that it gives you better control over state, flow, interruptions, and deployment when you’re building these patterns for real.
That’s the kind of framing I want more of in this space: less mythology, more execution.