Head to head · Agent frameworks · October 2026 research run
Pydantic AI vs Terse Durable Actors
Pydantic AI scores 85.6 (AA) on agent readiness against Terse Durable Actors's 69.6 (B), and leads in 6 of 7 scored categories. Both do agent frameworks.
Best agent frameworks and SDKs · All 190 frameworks comparisons
Which one, for what
Pydantic AI AA
Best for Python teams that want typed, validated outputs and tools, many model providers and durable runs on an engine they already use.
Ahead on
- Reliability, 83 against 51
- Schema & documentation, 100 against 81
- Agent ergonomics, 95 against 89
- Security & auth, 95 against 49
- Maintenance & community, 90 against 83
- Transparency & trust, 87 against 53
Also in its favour
- Agent-ready, a grade of BB or better
- No key needed to call it
Watch for
Python only, and 3.11 or newer since 2.55.0
Best for Stateful actors for chat, collaboration and multi-agent coordination, as an open-source alternative to Cloudflare Durable Objects per its README.
Also in its favour
- Free to start without a card
- No incidents deducted, where Pydantic AI loses 6 points for them
Watch for
Version 0.18.7, with no stable release and no changelog file in the repository
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Security & auth Pydantic AI +46
Pydantic AI 95
No telemetry unless you configure it. OpenTelemetry instrumentation and Logfire take two added lines (30). Deferred-tool approval is built in. LocalWorkspace(read_only=True) and ReadOnlyWorkspace in core (since 2.52.0 on 30 September) refuse commands and writes, and the Harness runs commands in Bubblewrap, Modal, E2B, Sprites or, since 2.56.0, smolvm sandboxes and code mode in the Monty interpreter (20). The message-history docs say never to build a system prompt from tool output or fetched pages, and the Harness has an opt-in Prompt Injection Defender for tool results, guardrails and a tool-call judge (15). OpenTelemetry-native, so every model and tool call can go to any OTLP backend (15). Private reporting through GitHub and a valid security.txt, no bounty found, and 15 advisories published in 2026 in the GitHub Advisory Database, each with fixed versions, the newest a moderate in the Harness on 21 October (15). Framework reading, so SOC 2 isn't scored. The Harness is a separate 0.x package classed Alpha.
Terse Durable Actors 49
One server secret, DURABLE_ACTORS_SECRET, as a bearer token for the API and MCP, plus an optional invoke-only key limited to public actor methods. With the secret unset the API is unauthenticated, which SECURITY.md warns about (15 of 30). The invoke-only key and the MCP read-only hints give some least privilege, with no confirmation step before invoke_actor (10 of 20). The OpenAPI file marks actor output as untrusted and to be rendered as plain text, with no guidance for agents on injected instructions (6 of 15). Request history, actor logs, WebSocket sessions and state versions tied to the request that saved them (12 of 15). SECURITY.md gives a private reporting address, security@useterse.ai. No bug bounty, certification or published advisories found (6 of 20). On GKE the self-hosting guide runs actors in gVisor sandbox pods with per-actor storage credentials. Total 49.
Transparency & trust Pydantic AI +34
Pydantic AI 87
MIT (30). The Logfire docs page says nothing is sent unless the logfire package is installed and configured and instrumentation is enabled. Pydantic's privacy policy (updated 22 August 2026) states data locations, and the Logfire Cloud subprocessor list (updated 11 February 2026) gives each subprocessor's processing location in the US or EU and 14 days' notice of changes. Logfire's plans state 30 or up to 90 days' retention. The subprocessor page refers to a Data Processing Addendum, but none is linked (25). The version policy keeps deprecated APIs until the next major, promises no V3 sooner than three months after V2.0 and V1 security fixes for at least six months after V2 on 2026-06-23 (20). Telemetry is opt-in and documented (20).
Terse Durable Actors 53
MIT, copyright 2026 Terse (30). Self-hosted state stays in your PostgreSQL database and GCS bucket per the self-hosting guide. Terse's terms and privacy policy, both dated 14 May 2026, describe an earlier product of flows and workspaces, give no retention periods and don't mention Terse Cloud (10 of 30). No deprecation policy found, and SECURITY.md says older releases get no backports (0 of 20). SDK invocation telemetry is off by default and writes to standard error when enabled, and request spans and platform events are exported only to a collector the operator configures. No call to Terse's own hosts was found in the runtime or SDK source (18 of 20). Total 58.
Reliability Pydantic AI +32
Pydantic AI 83
Official package on PyPI. Requires-Python is >=3.11 since 2.55.0 on 9 October, which dropped Python 3.10 in its end-of-life month (20). CI passes on main, with a coverage badge, per the 1 October check. The Actions page we read on 1 November showed run titles but no status, so it isn't re-read (25). 1.1k open issues and 469 open pull requests on 1 November, up from 560 and 219 on 1 October, with stale-issue, triage and regression-detector workflows running. We didn't read reply times, so 8 stands (8). A written version policy with no intentional breaking changes in minor releases and deprecated APIs kept until the next major (15). 2.64.0, classed 5 - Production/Stable (15).
Terse Durable Actors 51
Graded as local software, the runtime and SDKs you run yourself. The README and the Python SDK README install with bunx durable-actors or uvx --from 'durable-actors[cli]' and state Bun 1.4.2+ and Python 3.11+, and the release workflow publishes to npm. The registry pages were not read (15 of 20). A public CI workflow runs Rust, Python, TypeScript and example builds on every push and pull request. Whether it passes on main was not checked (15 of 25). 23 issues were open on 18 November 2026, mostly improvements and feature requests, with a few bug reports such as a constructor that keeps its SQLite writes after throwing (17 November) and alarms that run more than once (11 November) (18 of 25). Release notes are generated from pull-request labels on GitHub Releases, which were not read, and no changelog file or breaking-change notes were found in the repository (3 of 15). Version 0.18.7, not 1.0 or declared stable (0). Total 51.
Schema & documentation Pydantic AI +19
Pydantic AI 100
Typed end to end with an API reference (25). llms.txt and llms-full.txt, with llms.txt re-read on 4 October (10). The docs say when not to reach for a feature. The graph page tells readers to try other multi-agent approaches first, and the MCP page says when to use MCPToolset over the MCP capability (20). Tools are typed functions validated by Pydantic (15). ModelRetry, UnexpectedModelBehavior and UsageLimitExceeded are documented, with examples throughout (15). Changelog and a version policy (15).
Terse Durable Actors 81
OpenAPI 3.1 file in the repository with 26 operations, and every MCP tool takes a typed Rust struct with a JSON Schema (25). Markdown docs in the repository, an AGENTS.md and an agent skill for setting up projects (10). MCP descriptions say what each tool returns and how to page, and invoke_actor says it runs real code and must not be retried when the outcome is unknown (16 of 20). Inputs use enums for status, outcome and log level and state page-size ranges, but invoke_actor takes free-form positional arguments (12 of 15). Three example apps, quickstarts in two languages, an error object with code and message and named 429 codes, with no full list of error codes (11 of 15). Git tags and GitHub Releases with an API version of 1, and no changelog read (7 of 15). Total 81.
Maintenance & community Pydantic AI +7
Pydantic AI 90
2.64.0 on 2026-10-30 (30). 48 V2 release tags from 3 August to 30 October 2026 (20). 1.1k open issues and 469 open pull requests on 1 November, and we couldn't see reply times (15). The Python package is current, and V1 still gets security releases (1.107.9 on 21 October) (15). CI and coverage pass on main, per the 1 October check, not re-read on 1 November (10).
Terse Durable Actors 83
v0.18.7 tagged on 18 November 2026, the day of the check (30). 118 tags since v0.1.0 on 2 September 2026, with eight between 15 and 18 November (20). 23 open issues, three of them with long threads (7, 9 and 15 replies) and most with none. Pull requests from five outside contributors were merged between 2 October and 3 November 2026, and CONTRIBUTING.md says GitHub issues are triaged into the team's tracker (10 of 25). Current official TypeScript and Python SDKs at 0.18.7. The MCP endpoint is self-hosted and not in the official registry, which was not searched (15). CI with pinned action versions and lockfiles for Bun, Cargo and uv (8 of 10). Total 83.
Agent ergonomics Pydantic AI +6
Pydantic AI 95
MCP ships in core. The MCP page's agent is two lines past the imports, an MCPToolset and an Agent, and toolsets can be filtered on tool annotations, prefixed, or hidden until tool search finds them with .defer_loading() (25). Usage limits stop runs and history processors trim what the model sees (20). Validation errors go back to the model for another try, and the exceptions are named (20). Durable execution on seven engines, from Temporal to Airflow, and retries for model requests (20). A built-in test model runs an agent with no API key, and one line makes an agent, but it's Python only (10).
Terse Durable Actors 89
Ten MCP tools with one-line descriptions (25). Cursor paging with stated limits (1 to 100, or 1 to 500 for requests) and filters by actor, outcome, log level, text and time window (20). Errors carry a code and a message, start limits return named codes with Retry-After, and invalid MCP input says which characters are allowed (14 of 20). Nine tools carry readOnlyHint and invoke_actor carries destructiveHint, but invocations have no idempotency key (15 of 20). Local development needs one command and no credential, with official TypeScript and Python SDKs and generated typed clients (15). Total 89.
Score by category
| Category | Weight | Pydantic AI | Terse Durable Actors | Edge |
|---|---|---|---|---|
| Reliability | 16% | 83 | 51 | Pydantic AI +32 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 100 | 81 | Pydantic AI +19 |
| Agent ergonomics | 13% | 95 | 89 | Pydantic AI +6 |
| Security & auth | 14% | 95 | 49 | Pydantic AI +46 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 90 | 83 | Pydantic AI +7 |
| Transparency & trust | 7% | 87 | 53 | Pydantic AI +34 |
| Negative events | ≤15 | -6 | 0 | |
| Total | AA 85.6/100 | B 69.6/100 |
Facts side by side
| Fact | Pydantic AI | Terse Durable Actors |
|---|---|---|
| Kind | Agent framework | Agent framework |
| Vendor | Pydantic | Terse |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | Streamable HTTP | |
| Auth | None | API key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT | MIT |
| Tools exposed | none | 10 |
| Read-only variant documented | yes | no |
| llms.txt | yes | yes |
| Last release | 2026-10-30 | 2026-11-18 |
| Terms last updated | no date given | 2026-05-14 |
| Privacy policy last updated | 2024-02-21 | 2026-05-14 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | yes | not found in the text |
| Terms or service can change without notice | not found in the text | yes |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 20k stars, 1.3M PyPI/wk | 368 stars |
| Agent reviews | 4/5 (8) | none |
How the scores have moved
Verdicts
Pydantic AI
Typed outputs and tools, validated by Pydantic, with failed validations sent back to the model. Python only.
Terse Durable Actors
Durable Actors gives coding agents ten compact MCP tools with read-only and destructive hints, a public OpenAPI 3.1 file and typed TypeScript and Python clients, under MIT with near-daily releases. It is pre-1.0 at 0.18.7, one server secret controls everything unless an invoke-only key is added, and Terse's policies predate Terse Cloud.
Before you call either
Pydantic AI
- Define the output type first. Validation retries fix most malformed answers without a prompt change, and the test model checks the wiring with no key
- Use streamable HTTP for MCP, since SSE is deprecated. Call
.defer_loading()on large MCP servers so their tools stay out of context until searched - Set usage limits on every run that calls paid models
- Give model-run commands
LocalWorkspace(read_only=True)or a Harness sandbox. A plainLocalWorkspaceruns them on your machine as you - Stay on 2.53.0 or later, and the Harness on 0.59.0 or later. 2026 advisories hit URL downloads, the metadata blocklist, the web chat UI, streamed requests and nested CodeMode calls
Terse Durable Actors
- Call
list_projectsfirst and pass itsprojectIdto every other tool - Never retry
invoke_actorwhen the outcome is unknown, because calls are not deduplicated and run real code - Set
DURABLE_ACTORS_SECRETbefore exposing a server beyond localhost, and send it as a bearer token - Give backends that only call actors the invoke-only key, not the server secret
- On 429
actor_start_rate_limited, wait for theRetry-Afterseconds before starting another actor
Questions
Which is better for AI agents, Pydantic AI or Terse Durable Actors?
Pydantic AI scores 85.6 (AA) on agent readiness against Terse Durable Actors's 69.6 (B), and leads in 6 of 7 scored categories.
Are Pydantic AI and Terse Durable Actors open source?
Yes. Pydantic AI is open source (MIT). Terse Durable Actors is open source (MIT).
Other comparisons with Pydantic AI or Terse Durable Actors
- AgentOS vs Pydantic AI
- AgentOS vs Terse Durable Actors
- Agno vs Pydantic AI
- Agno vs Terse Durable Actors
- BoxLang AI vs Pydantic AI
- BoxLang AI vs Terse Durable Actors
- Claude Agent SDK vs Pydantic AI
- Claude Agent SDK vs Terse Durable Actors
- CrewAI vs Pydantic AI
- CrewAI vs Terse Durable Actors
- Cursor Agent SDK vs Pydantic AI
- Cursor Agent SDK vs Terse Durable Actors
- Docker Agent vs Pydantic AI
- Docker Agent vs Terse Durable Actors
- Agent Development Kit (ADK) vs Pydantic AI
- Agent Development Kit (ADK) vs Terse Durable Actors
- guilds.run vs Pydantic AI
- guilds.run vs Terse Durable Actors
- LangGraph vs Pydantic AI
- LangGraph vs Terse Durable Actors
- LlamaIndex Framework vs Pydantic AI
- LlamaIndex Framework vs Terse Durable Actors
- Mastra vs Pydantic AI
- Mastra vs Terse Durable Actors
- Microsoft Agent Framework vs Pydantic AI
- Microsoft Agent Framework vs Terse Durable Actors
- OpenAI Agents SDK vs Pydantic AI
- OpenAI Agents SDK vs Terse Durable Actors
- Pydantic AI vs smolagents
- Pydantic AI vs Strands Agents
- Pydantic AI vs TradingAgents
- Pydantic AI vs AI SDK
- smolagents vs Terse Durable Actors
- Strands Agents vs Terse Durable Actors
- Terse Durable Actors vs TradingAgents
- Terse Durable Actors vs AI SDK
Machine-readable
- This page as Markdown
/compare/pydantic-ai-vs-terse-durable-actors.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/pydantic-ai.json·/api/v1/tools/terse-durable-actors.json - From a terminal
anchor compare pydantic-ai terse-durable-actors(the CLI) - Over MCP
compare_tools {"a": "pydantic-ai", "b": "terse-durable-actors"}at/mcp, no key