Compare
This section puts troupekit next to the agent frameworks people use today: ten in Rust, seven in Python and three in TypeScript. Each page builds the same small agent in both, shows the other project's own code from its docs or examples, and says where the other project is better.
How we compared
- One release each. Every project was read at its latest release, pinned to the commit of its tag, and every claim links its docs or source at that commit. Where a project has no tag for its release, the page names the commit we read instead.
- Checked on 2026-11-28. Projects move fast. A feature marked missing may have landed after that date, and the main branch may already have it; the pages say so where we saw it.
- The same agent. A persona, one tool, a run that is killed and resumed, and a spend cap. Where a project cannot express a part, the page says so and shows its closest real example.
- Only what we can cite. A mark of ✗ means we searched the project's docs and source at that release and did not find it, not that it is impossible to build on top.
The matrix
✓ means the framework or one of its own first-party packages has it. ✗ means it does not, or only through code you write or a third-party package. "Resume a killed run" is ✓ when the framework saves the run's own state during the run, or lets you save it between its steps, and continues it in a new process; saving only the message history, or state that survives a restart but not a crash mid-run, is ✗. "Pause for a human" counts any durable or in-process pause: troupekit's is a human node in a workflow, where several others approve each tool call. A version after ✗ means troupekit plans it for that release. Each page explains its marks, including the conditions behind a ✓, such as a separate package or a setting you must turn on.
Rust
| Framework | Resume a killed run | Spend cap in USD or tokens | Tracing with no hosted service | Evals built in | Local model in process | iOS or Android | No language runtime needed | MCP tools | Pause for a human | Graph workflows |
|---|---|---|---|---|---|---|---|---|---|---|
| Troupekit 0.4 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ 0.6 | ✓ | ✓ |
| Rig 0.47.1 | ✓ | ✗ | ✓ | ✗ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ |
| ADK-Rust 2.3.0 | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✓ |
| Swiftide 0.34.0 | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
| Kalosm 0.4.0 | ✗ | ✗ | ✗ | ✓ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ |
| AutoAgents 0.4.0 | ✗ | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ |
| langchain-rust 8.0.0 | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ |
| llm-chain 0.13.0 | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ |
| anchor-chain 0.4.2 | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ |
| yoagent 0.27.9 | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ | ✓ | ✓ | ✓ | ✗ |
| swarms-rs 0.3.0 | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✓ | ✗ | ✓ |
Python
| Framework | Resume a killed run | Spend cap in USD or tokens | Tracing with no hosted service | Evals built in | Local model in process | iOS or Android | No language runtime needed | MCP tools | Pause for a human | Graph workflows |
|---|---|---|---|---|---|---|---|---|---|---|
| Troupekit 0.4 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ 0.6 | ✓ | ✓ |
| LangChain 1.5.2 | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✓ | ✓ | ✓ |
| LangGraph 1.2.24 | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✓ | ✓ | ✓ |
| CrewAI 1.15.45 | ✓ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✓ | ✓ | ✓ |
| Agno 3.2.1 | ✓ | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ | ✓ | ✓ | ✓ |
| AutoGen 0.7.5 | ✗ | ✓ | ✓ | ✗ | ✓ | ✗ | ✗ | ✓ | ✓ | ✓ |
| PydanticAI 2.77.0 | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | ✓ | ✓ | ✓ |
| LlamaIndex 0.14.26 | ✗ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ | ✓ | ✓ | ✓ |
TypeScript
| Framework | Resume a killed run | Spend cap in USD or tokens | Tracing with no hosted service | Evals built in | Local model in process | iOS or Android | No language runtime needed | MCP tools | Pause for a human | Graph workflows |
|---|---|---|---|---|---|---|---|---|---|---|
| Troupekit 0.4 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ 0.6 | ✓ | ✓ |
| Mastra 1.86.0 | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | ✓ | ✓ | ✓ |
| AI SDK 7.0.184 | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | ✓ | ✓ | ✗ |
| LangChain.js 1.6.8 | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✓ | ✓ | ✓ |
"No language runtime needed" means the agent compiles into your program; the Python and TypeScript frameworks need Python or Node installed. "iOS or Android" means the agent loop itself runs on the device: troupekit's core builds for both in CI, and AutoAgents has an Android example on llama.cpp. The AI SDK's Expo quickstart is ✗ because its model call runs in a server route.
What the matrix does not show
The marks are coarse on purpose, so read the page before you choose. Three differences matter most:
- When the cap is checked. Troupekit checks an estimate before each model call, so a call the estimate says would cross the cap is not sent. The estimate counts the full
max_tokensof output, but input is approximated as a quarter of the request's JSON bytes, so a token-dense input can cost more than estimated. A shared period cap is enforced only among runs in one process that share a ledger; runs in separate processes do not see each other's holds. Mastra calls its cap approximate, PydanticAI checks after a response has been billed, and yoagent checks the spend so far before each request, so the request that crosses its limit still completes. See Spend limits. - What a resume repeats. Troupekit writes a checkpoint after every step, before the next one starts. LangGraph and ADK-Rust repeat the interrupted super-step, CrewAI the interrupted task by default, and Agno checkpoints mid-run only when you opt in. See Durable runs.
- Where others lead. Almost every framework here has MCP tools today, and most have more providers, stores and integrations than troupekit. The pages name these plainly.
The home page has a longer feature matrix for the Rust frameworks, including Chidori.
The pages
Rust: Rig, ADK-Rust, Swiftide, Kalosm, AutoAgents, langchain-rust, llm-chain, anchor-chain, yoagent, swarms-rs.
Python: LangChain, LangGraph, CrewAI, Agno, AutoGen, PydanticAI, LlamaIndex.
TypeScript: Mastra, AI SDK, LangChain.js and LangGraph.js.