What a framework gives you
What it is
An agent framework is a library that supplies the parts around the model so you do not write them yourself. Nearly all of them provide the same things under different names:
- a loop or runner (module 10);
- a way to define tools from functions (module 3);
- state and persistence (module 6);
- workflow wiring: graphs, routes, hand-offs (module 14);
- human approval: pause and resume (module 15);
- multi-agent plumbing (modules 16 to 18);
- tracing (module 25);
- ready-made integrations with models, stores and tool servers.
Why it matters
A framework saves time on plumbing and costs you visibility and control.
- For one loop and a few tools, the hundred lines of module 10 are simpler to debug than any framework.
- For saved state, approvals, branching flows and several agents, a framework saves weeks.
- Because every framework implements the same concepts, knowing the concepts lets you learn any of them in a day and switch when needed.
- The risk is treating the framework as the agent and losing sight of what is sent to the model.
In the real world: A team that began with a hand-written loop adopts a graph framework when approvals and long-running jobs arrive; its tool layer, written as plain functions, moves across unchanged.
Visual example
Rosetta stoneLearn the left-hand column once. The rest are translations.
Choosing a framework first and designing the agent to fit it. Design the agent from the task (tools, state, flow, approvals), then pick the framework whose parts match, or none.