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

Pydantic AI Harness A

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

Terse Durable Actors B

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

CategoryWeightPydantic AI HarnessTerse Durable ActorsEdge
Reliability16%6151Pydantic AI Harness +10
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9881Pydantic AI Harness +17
Agent ergonomics13%8989even
Security & auth14%8549Pydantic AI Harness +36
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8783Pydantic AI Harness +4
Transparency & trust7%8253Pydantic AI Harness +29
Negative events≤1500
TotalA 83.5/100B 69.6/100

Facts side by side

FactPydantic AI HarnessTerse Durable Actors
KindAgent frameworkAgent framework
VendorPydanticTerse
Hosted endpointno (local only)no (local only)
TransportsStreamable HTTP
AuthNoneAPI key
PricingFreeFreemium
x402nono
LicenceMITMIT
Tools exposednone10
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-11-272026-11-18
Terms last updatedno date given2026-05-14
Privacy policy last updated2024-02-212026-05-14
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textyes
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticenot found in the textyes
Arbitration or class-action waiveryesnot found in the text
Popularitynone368 stars

How the scores have moved

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

  1. Attach a workspace capability. Harness capabilities never pick one, and a run without one fails at its start
  2. Use a sandbox capability instead of LocalWorkspace for model-written commands. LocalWorkspace runs them on your machine as you
  3. Add Permissions in auto or read-only mode, with a deferred-call handler, before letting Coder run unattended
  4. Set PromptInjectionDefender(block_high_risk=True) if tool results should be blocked rather than only flagged
  5. 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

  1. Call list_projects first and pass its projectId to every other tool
  2. Never retry invoke_actor when the outcome is unknown, because calls are not deduplicated and run real code
  3. Set DURABLE_ACTORS_SECRET before exposing a server beyond localhost, and send it as a bearer token
  4. Give backends that only call actors the invoke-only key, not the server secret
  5. On 429 actor_start_rate_limited, wait for the Retry-After seconds 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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.