# DSPy vs Terse Durable Actors

> Terse Durable Actors scores 69.6 (B) to DSPy's 68.3 (B) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/dspy-vs-terse-durable-actors
- Markdown: https://www.anchorterminal.com/compare/dspy-vs-terse-durable-actors.md (~4,300 tokens)
- Slim: https://www.anchorterminal.com/compare/dspy-vs-terse-durable-actors.min.md (~830 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/dspy-vs-terse-durable-actors.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

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.

- DSPy: grade B, 68.3/100, rank #414 of 1654. Markdown https://www.anchorterminal.com/tools/dspy.md · JSON https://www.anchorterminal.com/api/v1/tools/dspy.json
- Terse Durable Actors: grade B, 69.6/100, rank #354 of 1654. Markdown https://www.anchorterminal.com/tools/terse-durable-actors.md · JSON https://www.anchorterminal.com/api/v1/tools/terse-durable-actors.json
- Best agent frameworks and SDKs: https://www.anchorterminal.com/best/frameworks/index.md
- All 253 frameworks comparisons: https://www.anchorterminal.com/compare/frameworks/index.md

## Which one, for what

### DSPy (B)

Good 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

### Terse Durable Actors (B)

Good 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

### 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** | | **68.3 · B** | **69.6 · B** | |

## 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.

### Terse Durable Actors

- +8.9 on 18 November 2026 (C to B): terms, pricing, new evidence

## 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

1. Re-evaluate saved programs after upgrading to 3.5, since the default adapter and prompts changed
2. Install dspy[mcp] and convert each MCP tool with dspy.Tool.from_mcp_tool while the client session stays open
3. Disable the answer cache for calls whose output must change between runs, since memory and disk caches are on by default
4. Wrap tools that send, pay or delete in your own confirmation step, because ReAct runs tools without approval
5. Pin dspy to a minor version, since minor releases remove 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, 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).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/dspy-vs-terse-durable-actors.json, and with the fewest tokens: https://www.anchorterminal.com/compare/dspy-vs-terse-durable-actors.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "dspy", "b": "terse-durable-actors"}`. From a terminal: `anchor compare dspy terse-durable-actors`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/dspy.json and https://www.anchorterminal.com/api/v1/tools/terse-durable-actors.json

## Other comparisons with DSPy or Terse Durable Actors

- [AgentOS vs DSPy](https://www.anchorterminal.com/compare/agentos-vs-dspy.md)
- [AgentOS vs Terse Durable Actors](https://www.anchorterminal.com/compare/agentos-vs-terse-durable-actors.md)
- [Agno vs DSPy](https://www.anchorterminal.com/compare/agno-vs-dspy.md)
- [Agno vs Terse Durable Actors](https://www.anchorterminal.com/compare/agno-vs-terse-durable-actors.md)
- [BoxLang AI vs DSPy](https://www.anchorterminal.com/compare/boxlang-ai-vs-dspy.md)
- [BoxLang AI vs Terse Durable Actors](https://www.anchorterminal.com/compare/boxlang-ai-vs-terse-durable-actors.md)
- [Claude Agent SDK vs DSPy](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-dspy.md)
- [Claude Agent SDK vs Terse Durable Actors](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-terse-durable-actors.md)
- [CrewAI vs DSPy](https://www.anchorterminal.com/compare/crewai-vs-dspy.md)
- [CrewAI vs Terse Durable Actors](https://www.anchorterminal.com/compare/crewai-vs-terse-durable-actors.md)
- [Cursor Agent SDK vs DSPy](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-dspy.md)
- [Cursor Agent SDK vs Terse Durable Actors](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-terse-durable-actors.md)
- [Docker Agent vs DSPy](https://www.anchorterminal.com/compare/docker-agent-vs-dspy.md)
- [Docker Agent vs Terse Durable Actors](https://www.anchorterminal.com/compare/docker-agent-vs-terse-durable-actors.md)
- [DSPy vs Genkit](https://www.anchorterminal.com/compare/dspy-vs-genkit.md)
- [DSPy vs Agent Development Kit (ADK)](https://www.anchorterminal.com/compare/dspy-vs-google-adk.md)
- [DSPy vs guilds.run](https://www.anchorterminal.com/compare/dspy-vs-guilds-run.md)
- [DSPy vs Haystack](https://www.anchorterminal.com/compare/dspy-vs-haystack.md)
- [DSPy vs LangGraph](https://www.anchorterminal.com/compare/dspy-vs-langgraph.md)
- [DSPy vs LlamaIndex Framework](https://www.anchorterminal.com/compare/dspy-vs-llamaindex.md)
- [DSPy vs Mastra](https://www.anchorterminal.com/compare/dspy-vs-mastra.md)
- [DSPy vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.md)
- [DSPy vs OpenAI Agents SDK](https://www.anchorterminal.com/compare/dspy-vs-openai-agents-sdk.md)
- [DSPy vs Pydantic AI](https://www.anchorterminal.com/compare/dspy-vs-pydantic-ai.md)
- [DSPy vs smolagents](https://www.anchorterminal.com/compare/dspy-vs-smolagents.md)
- [DSPy vs Strands Agents](https://www.anchorterminal.com/compare/dspy-vs-strands-agents.md)
- [DSPy vs TradingAgents](https://www.anchorterminal.com/compare/dspy-vs-tradingagents.md)
- [DSPy vs AI SDK](https://www.anchorterminal.com/compare/dspy-vs-vercel-ai-sdk.md)
- [Genkit vs Terse Durable Actors](https://www.anchorterminal.com/compare/genkit-vs-terse-durable-actors.md)
- [Agent Development Kit (ADK) vs Terse Durable Actors](https://www.anchorterminal.com/compare/google-adk-vs-terse-durable-actors.md)
- [guilds.run vs Terse Durable Actors](https://www.anchorterminal.com/compare/guilds-run-vs-terse-durable-actors.md)
- [Haystack vs Terse Durable Actors](https://www.anchorterminal.com/compare/haystack-vs-terse-durable-actors.md)
- [LangGraph vs Terse Durable Actors](https://www.anchorterminal.com/compare/langgraph-vs-terse-durable-actors.md)
- [LlamaIndex Framework vs Terse Durable Actors](https://www.anchorterminal.com/compare/llamaindex-vs-terse-durable-actors.md)
- [Mastra vs Terse Durable Actors](https://www.anchorterminal.com/compare/mastra-vs-terse-durable-actors.md)
- [Microsoft Agent Framework vs Terse Durable Actors](https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-terse-durable-actors.md)
- [OpenAI Agents SDK vs Terse Durable Actors](https://www.anchorterminal.com/compare/openai-agents-sdk-vs-terse-durable-actors.md)
- [Pydantic AI vs Terse Durable Actors](https://www.anchorterminal.com/compare/pydantic-ai-vs-terse-durable-actors.md)
- [smolagents vs Terse Durable Actors](https://www.anchorterminal.com/compare/smolagents-vs-terse-durable-actors.md)
- [Strands Agents vs Terse Durable Actors](https://www.anchorterminal.com/compare/strands-agents-vs-terse-durable-actors.md)
- [Terse Durable Actors vs TradingAgents](https://www.anchorterminal.com/compare/terse-durable-actors-vs-tradingagents.md)
- [Terse Durable Actors vs AI SDK](https://www.anchorterminal.com/compare/terse-durable-actors-vs-vercel-ai-sdk.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
