Build-it-yourself stacks, side by side.

Orchestration, retrieval and graph workflows. Pick the one that matches your architecture.

How to choose an agent framework

A framework is the code library you build agents with. It handles the plumbing: calling the model, running tools, keeping memory and passing work between agents. Pick one only after you know what your agent must do.

Match the framework to the shape of the work. Retrieval heavy apps that answer questions from your documents suit libraries built around search and indexing. Multi-step workflows with branches and retries suit graph based frameworks. Teams of role based agents suit frameworks designed for crews of agents.

Check how mature and maintained it is: recent releases, clear documentation, and an active issue tracker. Some well known projects have been replaced by successors, and each comparison above notes that where it applies.

Prefer the simplest option that works. Many first agents need no framework at all: a model API, a few tools and a loop. Add a framework when you need what it provides, such as state, retries or tracing.