Skip to content
Victory Square Partners

Insight

Choosing an AI Agent Framework: Let the Shape of the Job Decide

Seven agent frameworks, one method: classify the use case, check for a single decisive requirement, otherwise pick the shape that fits with the least work. With a worked example that was actually run.

Insight· Stefana Uta

Seven of the most-used agent frameworks (LangGraph, CrewAI, the OpenAI Agents SDK, the Claude Agent SDK, Google ADK, Microsoft Agent Framework, and PydanticAI) compared hands-on, with real code rather than feature lists.

For an ordinary agent, the seven are roughly the same. The basics are table stakes. The frameworks differ on a handful of specific things, and whether those things matter depends entirely on the shape of the job.

The useful question is “what shape is this job?” Below: the vocabulary, the three things that actually differ, the seven frameworks in one table, the method, one worked example that was actually run, and what real companies chose.

First, six words

Six terms cover everything that follows.

Model: the “brain in a jar.” Text in, text out. It has no memory of its own and takes no actions.

Tool: a function given to the model so it can do things: search, calculate, read a file. The model asks for it; the application code runs it.

Loop: think → use a tool → see the result → repeat → stop when done. It’s a loop whenever the next step depends on the last one.

Harness: the code that orchestrates the model: driving the steps, calling the tools, holding the state. The body for the brain.

Agent: model + harness, working toward a goal and deciding its own next steps.

Framework: the toolkit for building agents. Each ships one or more harnesses. (Vendor ones are called “SDKs,” which is just their official library.)

One more distinction quietly decides more than any feature list: who decides the path. In some places the model decides (“should I call this tool now?”), a judgment call that differs every time. In others the engine decides (“after step 2, always run step 3”), fixed wiring that is the same every time. Where the fixed wiring lives is one of the three real differences below.

The three things that actually differ

1. Durability: what happens when it dies halfway, and who can wait

A seven-step workflow crashes at step five: redo everything, or resume at five? This is the single most consequential difference between frameworks, and the one least often asked up front.

Some engines auto-save a snapshot of the run after every step, called a checkpoint. If the server restarts, the run continues exactly where it stopped. Others hold the run only inside the running process: a restart means starting over. A third group sits in between: the run’s state can be saved explicitly at certain points, for example when it pauses at a tool call, but nothing saves it automatically.

For a research summary, redoing is fine. For anything that already sent two of five emails, or already changed a salary, redoing is damage.

Human approval is the same question in disguise. Instant approval, where a person clicks yes or no while the program is running, is easy everywhere. Durable approval, where the approver answers on Thursday and the server was redeployed on Wednesday, needs the run’s position saved with the pending question attached. Only frameworks that save the run’s position can do that.

2. Control inside the loop: can the flow be shaped?

Some frameworks provide a ready-made loop that can be nudged but not redrawn; the fixed wiring is then plain Python written around the agent. Others expose the flow itself as a construct: any step to any step, pause anywhere, control over how parallel results merge.

3. Multi-agent patterns: how teams of agents are wired

Multi-agent setups come in many named patterns, but two questions sort them all: does every agent work, or just one? and do the agents hear each other? A router sends the job to one specialist, and the others never run. The choice of specialist can be made by code (a classifier and a rule) or by the model reading the request; when the model chooses and then passes the whole conversation to that specialist and steps out, it is called a handoff. A pipeline runs all of them in order, each seeing only the previous result. A supervisor hands out work and collects it but never does the job itself. A group chat lets everyone read everything with a moderator giving turns.

Seven frameworks, one shape each

Each of the seven was built around a different shape of problem. The shape identifies the framework; the features follow.

FrameworkBuilt forThe tellDurability