Head to head · Agent frameworks · October 2026 research run
DSPy vs Terse Durable Actors
Terse Durable Actors scores 69.6 (B) on agent readiness against DSPy's 68.3 (B), and leads in 3 of 7 scored categories. DSPy leads on reliability and security & auth. Both do agent frameworks.
Best agent frameworks and SDKs · All 253 frameworks comparisons
Which one, for what
DSPy B
Best for Python teams who want typed LM programs they can evaluate and optimise against a metric, with ReAct for tool use.
Ahead on
- Reliability, 62 against 51
- Security & auth, 60 against 49
Also in its favour
- No key needed to call it
Watch for
3.5 changed the default adapter, reasoning and API routing and removed CodeAct and ProgramOfThought in a minor release
Best for Stateful actors for chat, collaboration and multi-agent coordination, as an open-source alternative to Cloudflare Durable Objects per its README.
Ahead on
- Schema & documentation, 81 against 71
- Agent ergonomics, 89 against 64
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.
Agent ergonomics Terse Durable Actors +25
DSPy 64
Framework reading. MCP tools through the dspy[mcp] extra, converted one by one from a client session the developer opens (14). max_iters with a turn budget shown to the model and a forced final submit bound a run (17). Unknown tools and tool exceptions return to the model as error results (15). History continuation and saved programs, but no resume of an interrupted run or durable store; answer caching can mask repeated calls (8). Signatures keep required arguments few, an LM must be configured, Python only (10). 14+17+15+8+10 = 64.
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.
Reliability DSPy +11
DSPy 62
Local-package reading. Official PyPI package dspy with Python 3.10 to below 3.16 stated (20). A public test workflow runs on pushes to main and pull requests for Python 3.10 to 3.15; whether main passes wasn't read, as the Actions API refused us (15). 352 open issues and 475 open pull requests on 23 November 2026. The 50 newest issues, opened from 6 October to 23 November, had 19 with a comment and 8 closed (10). Release notes and an upgrade guide for 3.5, but 3.5 changed defaults and removed APIs in a minor release (7). 3.x, while the package classifier still says Alpha, so partial (10). 20+15+10+7+10 = 62.
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.
Security & auth DSPy +11
DSPy 60
Framework reading (telemetry defaults, approvals, guardrails, sandboxing). No telemetry found, and the optional LiteLLM engine switches LiteLLM telemetry off (25). No tool approval hook; RLM runs generated code in a Deno and Pyodide sandbox with no filesystem or network access (10). No prompt-injection guidance found (5). MLflow tracing through OpenTelemetry and callbacks (12). SECURITY.md with GitHub private reporting and a maintainer address, but OSV lists CVE-2025-12695 for the PythonInterpreter sandbox with no fixed version (8). 25+10+5+12+8 = 60.
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.
Schema & documentation Terse Durable Actors +10
DSPy 71
Framework reading. A typed Python API with an API reference for modules, tools, adapters and errors (20). No llms.txt at dspy.ai; the docs are Markdown in the repository but not served for agents (0). The tools and ReAct pages say what each part is for and when to read on (15). Tools are typed from signatures and Pydantic annotations and validated against JSON Schema (14). Many tutorials with code, and an errors page in the reference (12). Versioned docs, GitHub release notes and an upgrade guide, with no changelog file (10). 20+0+15+14+12+10 = 71.
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.
Score by category
| Category | Weight | DSPy | Terse Durable Actors | Edge |
|---|---|---|---|---|
| Reliability | 16% | 62 | 51 | DSPy +11 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 71 | 81 | Terse Durable Actors +10 |
| Agent ergonomics | 13% | 64 | 89 | Terse Durable Actors +25 |
| Security & auth | 14% | 60 | 49 | DSPy +11 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 87 | 83 | DSPy +4 |
| Transparency & trust | 7% | 52 | 53 | Terse Durable Actors +1 |
| Negative events | ≤15 | 0 | 0 | |
| Total | B 68.3/100 | B 69.6/100 |
Facts side by side
| Fact | DSPy | Terse Durable Actors |
|---|---|---|
| Kind | Agent framework | Agent framework |
| Vendor | Stanford NLP | 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 | no | no |
| llms.txt | no | yes |
| Last release | 2026-11-10 | 2026-11-18 |
| Terms last updated | no document linked | 2026-05-14 |
| Privacy policy last updated | no document linked | 2026-05-14 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | yes |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | yes |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 39k stars | 368 stars |
How the scores have moved
DSPy
No score change since it was listed.
Verdicts
DSPy
An MIT Python framework with typed signatures, a ReAct agent that returns tool errors to the model, MCP tool conversion, a Deno sandbox for generated code, no telemetry found and monthly releases. Release 3.5 changed defaults and removed APIs in a minor version, and there is no tool approval hook or llms.txt.
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
DSPy
- Re-evaluate saved programs after upgrading to 3.5, since the default adapter and prompts changed
- Install dspy[mcp] and convert each MCP tool with dspy.Tool.from_mcp_tool while the client session stays open
- Disable the answer cache for calls whose output must change between runs, since memory and disk caches are on by default
- Wrap tools that send, pay or delete in your own confirmation step, because ReAct runs tools without approval
- Pin dspy to a minor version, since minor releases remove 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, DSPy or Terse Durable Actors?
Terse Durable Actors scores 69.6 (B) on agent readiness against DSPy's 68.3 (B), and leads in 3 of 7 scored categories. DSPy leads on reliability and security & auth.
Are DSPy and Terse Durable Actors open source?
Yes. DSPy is open source (MIT). Terse Durable Actors is open source (MIT).
Other comparisons with DSPy or Terse Durable Actors
- AgentOS vs DSPy
- AgentOS vs Terse Durable Actors
- Agno vs DSPy
- Agno vs Terse Durable Actors
- BoxLang AI vs DSPy
- BoxLang AI vs Terse Durable Actors
- Claude Agent SDK vs DSPy
- Claude Agent SDK vs Terse Durable Actors
- CrewAI vs DSPy
- CrewAI vs Terse Durable Actors
- Cursor Agent SDK vs DSPy
- Cursor Agent SDK vs Terse Durable Actors
- Docker Agent vs DSPy
- Docker Agent vs Terse Durable Actors
- DSPy vs Genkit
- DSPy vs Agent Development Kit (ADK)
- DSPy vs guilds.run
- DSPy vs Haystack
- DSPy vs LangGraph
- DSPy vs LlamaIndex Framework
- DSPy vs Mastra
- DSPy vs Microsoft Agent Framework
- DSPy vs OpenAI Agents SDK
- DSPy vs Pydantic AI
- DSPy vs smolagents
- DSPy vs Strands Agents
- DSPy vs TradingAgents
- DSPy vs AI SDK
- Genkit vs Terse Durable Actors
- Agent Development Kit (ADK) vs Terse Durable Actors
- guilds.run vs Terse Durable Actors
- Haystack vs Terse Durable Actors
- LangGraph vs Terse Durable Actors
- LlamaIndex Framework vs Terse Durable Actors
- Mastra vs Terse Durable Actors
- Microsoft Agent Framework vs Terse Durable Actors
- OpenAI Agents SDK vs Terse Durable Actors
- 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/dspy-vs-terse-durable-actors.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/dspy.json·/api/v1/tools/terse-durable-actors.json - From a terminal
anchor compare dspy terse-durable-actors(the CLI) - Over MCP
compare_tools {"a": "dspy", "b": "terse-durable-actors"}at/mcp, no key