Head to head · Agent frameworks · October 2026 research run
Pydantic AI Harness vs Terse Durable Actors
Pydantic AI Harness scores 83.5 (A) on agent readiness against Terse Durable Actors's 69.6 (B), and leads in 5 of 7 scored categories. Both do agent frameworks.
Best agent frameworks and SDKs · All 276 frameworks comparisons
Which one, for what
Best for Python developers building coding, research or long-running agents on Pydantic AI who want sandboxes, budgets and approvals as parts.
Ahead on
- Reliability, 61 against 51
- Schema & documentation, 98 against 81
- Security & auth, 85 against 49
- Transparency & trust, 82 against 53
Also in its favour
- Agent-ready, a grade of BB or better
- No key needed to call it
Watch for
0.76.0 and classed Alpha. Minor releases may rename parameters or change defaults
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
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 Harness +36
Pydantic AI Harness 85
Framework reading (telemetry defaults, approval hooks, guardrails, sandboxing). The Harness sends nothing of its own, and tracing goes through core's opt-in instrumentation. FileSystem keeps secrets and .git read-only by default and checks path traversal, and Shell can strip LLM credentials from command environments, which the docs call coarse (27 of 30). Permissions with full, auto and read-only modes, Approval Reviewer, Tool Call Judge and Deny Unanswered, and twelve workspace backends, but full is the default and Coder's shell has no allowlist (17 of 20). A Prompt Injection Defender (report-only unless block_high_risk=True), output guardrails, and workspace authority that keeps files below operator authority out of the instructions (13 of 15). OpenTelemetry spans for every model and tool call through core, plus trajectory and artifact-scanning capabilities (13 of 15). A valid security.txt and GitHub private reporting, a threat model that covers the Harness, and one moderate advisory, GHSA-3589-pxp7-3gj8, published with a fix in 0.59.0 on 21 October 2026 (15 of 20). No bounty found. 27+17+13+13+15 = 85.
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 Harness +29
Pydantic AI Harness 82
MIT, with third-party notices in the package (30). The docs say where Harness files go (.pydantic-ai-harness/ in the workspace, git-ignored) and which stores sit on the agent's machine, and the threat model says computer use sends screenshots, secrets included, to the model provider. Pydantic's privacy policy covers its hosted services (22 of 30). The 0.x policy promises deprecation warnings where practical and migration guidance in release notes, and sets the rules from 1.0, with no dated notices (14 of 20). No telemetry of its own, and instrumentation is opt-in and documented (18 of 20). 30+22+14+18 = 84.
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.
Schema & documentation Pydantic AI Harness +17
Pydantic AI Harness 98
Framework reading. Typed package (Typing :: Typed), with about 280 API reference blocks across the capability pages (25). About 96 Harness pages in pydantic.dev's llms.txt, each with a Markdown twin (10). Each capability page sets out the problem and the solution, the README maps problems to capabilities, and the docs say plainly what isn't a boundary (LocalWorkspace isn't a sandbox, Bubblewrap is best effort, command patterns are a convenience) (19 of 20). Capabilities are typed classes with named modes ('full', 'auto', 'read-only') and documented defaults (14 of 15). Examples on every page, and named exceptions such as OutputBlocked, LoopDetectedError and UsageLimitExceeded (15). A version policy and Harness entries in the shared changelog (15). 25+10+19+14+15+15 = 98.
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.
Reliability Pydantic AI Harness +10
Pydantic AI Harness 61
Local-package reading. pydantic-ai-harness on PyPI, Requires-Python 3.11 or newer with classifiers to 3.15 (20). The public CI workflow runs the Harness suite on every install shape, and tests/harness holds about 145 files with some 9,500 test functions, but github.com refused our reader, so whether main is passing is unchecked (15 of 25). 186 open issues labelled pkg:harness on 27 November, 59 of them bugs and 26 of those without a reply, the oldest from 11 June, against 161 closed issues and 362 merged pull requests since 28 October (14 of 25). A written 0.x version policy says patch releases don't intentionally break behaviour, minors may, and every breaking change goes in the release notes with migration guidance, which the shared changelog carries (12 of 15). 0.76.0, classed 3 - Alpha. The docs say 0.x signals API stability, not maturity, and that the capabilities are meant for production, but that isn't a stable declaration (0). 20+15+14+12+0 = 61.
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.
Score by category
| Category | Weight | Pydantic AI Harness | Terse Durable Actors | Edge |
|---|---|---|---|---|
| Reliability | 16% | 61 | 51 | Pydantic AI Harness +10 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 98 | 81 | Pydantic AI Harness +17 |
| Agent ergonomics | 13% | 89 | 89 | even |
| Security & auth | 14% | 85 | 49 | Pydantic AI Harness +36 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 87 | 83 | Pydantic AI Harness +4 |
| Transparency & trust | 7% | 82 | 53 | Pydantic AI Harness +29 |
| Negative events | ≤15 | 0 | 0 | |
| Total | A 83.5/100 | B 69.6/100 |
Facts side by side
| Fact | Pydantic AI Harness | 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-11-27 | 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 | none | 368 stars |
How the scores have moved
Pydantic AI Harness
No score change since it was listed.
Verdicts
Pydantic AI Harness
The Harness turns a Pydantic AI agent into a coding or research agent by adding capabilities, with twelve workspace backends, permission modes, spend and tool budgets, loop detection and a documented page for each part. It is 0.x and classed Alpha, minor releases may break APIs, and Coder's shell is unrestricted unless you attach a sandbox or permissions.
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 Harness
- Attach a workspace capability. Harness capabilities never pick one, and a run without one fails at its start
- Use a sandbox capability instead of
LocalWorkspacefor model-written commands.LocalWorkspaceruns them on your machine as you - Add
Permissionsinautoorread-onlymode, with a deferred-call handler, before lettingCoderrun unattended - Set
PromptInjectionDefender(block_high_risk=True)if tool results should be blocked rather than only flagged - Pin the Harness and Pydantic AI together and read the release notes before a minor upgrade. 0.x minors can break APIs
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 Harness or Terse Durable Actors?
Pydantic AI Harness scores 83.5 (A) on agent readiness against Terse Durable Actors's 69.6 (B), and leads in 5 of 7 scored categories.
Are Pydantic AI Harness and Terse Durable Actors open source?
Yes. Pydantic AI Harness is open source (MIT). Terse Durable Actors is open source (MIT).
Other comparisons with Pydantic AI Harness or Terse Durable Actors
- AgentOS vs Pydantic AI Harness
- AgentOS vs Terse Durable Actors
- Agno vs Pydantic AI Harness
- Agno vs Terse Durable Actors
- BoxLang AI vs Pydantic AI Harness
- BoxLang AI vs Terse Durable Actors
- Claude Agent SDK vs Pydantic AI Harness
- Claude Agent SDK vs Terse Durable Actors
- CrewAI vs Pydantic AI Harness
- CrewAI vs Terse Durable Actors
- Cursor Agent SDK vs Pydantic AI Harness
- Cursor Agent SDK vs Terse Durable Actors
- Docker Agent vs Pydantic AI Harness
- Docker Agent vs Terse Durable Actors
- DSPy vs Pydantic AI Harness
- DSPy vs Terse Durable Actors
- Genkit vs Pydantic AI Harness
- Genkit vs Terse Durable Actors
- Agent Development Kit (ADK) vs Pydantic AI Harness
- Agent Development Kit (ADK) vs Terse Durable Actors
- guilds.run vs Pydantic AI Harness
- guilds.run vs Terse Durable Actors
- Haystack vs Pydantic AI Harness
- Haystack vs Terse Durable Actors
- LangGraph vs Pydantic AI Harness
- LangGraph vs Terse Durable Actors
- LlamaIndex Framework vs Pydantic AI Harness
- LlamaIndex Framework vs Terse Durable Actors
- Mastra vs Pydantic AI Harness
- Mastra vs Terse Durable Actors
- Microsoft Agent Framework vs Pydantic AI Harness
- Microsoft Agent Framework vs Terse Durable Actors
- OpenAI Agents SDK vs Pydantic AI Harness
- OpenAI Agents SDK vs Terse Durable Actors
- Pydantic AI Harness vs smolagents
- Pydantic AI Harness vs Strands Agents
- Pydantic AI Harness vs TradingAgents
- Pydantic AI Harness vs AI SDK
- Pydantic AI vs Pydantic AI Harness
- Pydantic AI vs Terse Durable Actors
- 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-harness-vs-terse-durable-actors.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/pydantic-ai-harness.json·/api/v1/tools/terse-durable-actors.json - From a terminal
anchor compare pydantic-ai-harness terse-durable-actors(the CLI) - Over MCP
compare_tools {"a": "pydantic-ai-harness", "b": "terse-durable-actors"}at/mcp, no key