# Haystack vs Terse Durable Actors

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

- Canonical: https://www.anchorterminal.com/compare/haystack-vs-terse-durable-actors
- Markdown: https://www.anchorterminal.com/compare/haystack-vs-terse-durable-actors.md (~5,100 tokens)
- Slim: https://www.anchorterminal.com/compare/haystack-vs-terse-durable-actors.min.md (~980 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/haystack-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

Haystack scores 77.8 (BB) on agent readiness against Terse Durable Actors's 69.6 (B), and leads in 5 of 7 scored categories. Terse Durable Actors leads on agent ergonomics. Both do agent frameworks.

- Haystack: grade BB, 77.8/100, rank #72 of 1654. Markdown https://www.anchorterminal.com/tools/haystack.md · JSON https://www.anchorterminal.com/api/v1/tools/haystack.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

### Haystack (BB)

Good for: Python teams building retrieval-heavy agents or pipelines who want explicit components, approval hooks and resumable runs.

Ahead on:
- Reliability, 81 against 51
- Schema & documentation, 88 against 81
- Security & auth, 63 against 49
- Maintenance & community, 95 against 83
- Transparency & trust, 74 against 53

Also in its favour:
- Agent-ready, a grade of BB or better
- No key needed to call it

Watch for: Anonymous telemetry to PostHog EU is on by default and includes the Agent's model and tool names

### 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:
- Agent ergonomics, 89 against 75

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

### Reliability: Haystack +30

- Haystack (81): Local-package reading. Official PyPI package haystack-ai with Python 3.11 or newer stated (20). A public tests workflow runs unit tests on Ubuntu, Windows and macOS for pushes to main and pull requests, plus e2e, CodeQL and Scorecard workflows; whether main passes wasn't read, as the Actions API refused us (15). 106 open issues and 68 open pull requests on 23 November 2026. The 50 newest issues were opened from 11 to 23 November, and 24 had a comment and 19 were closed (20). Release notes for every release and a migration guide for 3.0, but the policy says versions don't follow semantic versioning and minors remove deprecated functionality (11). 3.x with a Production/Stable classifier (15). 20+15+20+11+15 = 81.
- 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.

### Transparency & trust: Haystack +21

- Haystack (74): Apache-2.0 (30). The library stores nothing itself, and the telemetry page lists what each event carries and what it never collects, though the company privacy policy doesn't mention it (20). A written deprecation policy with FutureWarning for one minor release, a yearly limit on majors and a migration guide (20). Telemetry disclosed with an environment-variable opt-out (20). 30+20+20+20 = 90.
- 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.

### Agent ergonomics: Terse Durable Actors +14

- Haystack (75): Framework reading. MCPToolset loads an MCP server's tools with a tool_names filter, and SearchableToolset shows the model only matching tools, but MCP needs the separate mcp-haystack package (20). max_agent_steps, a step budget hook, streaming and ToolResultOffloadCompactor bound a run and its context (17). Tool failures go back to the model by default, or raise when raise_on_tool_invocation_failure is set (14). Failed pipelines raise with a snapshot of the last valid state and runs resume from it or from a breakpoint, with no built-in durable store (14). The Agent needs a chat generator passed in, so there is no silent default provider, and the framework is Python only (10). 20+17+14+14+10 = 75.
- 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.

### Security & auth: Haystack +14

- Haystack (63): Framework reading (telemetry defaults, approvals, guardrails, sandboxing). Anonymous telemetry to PostHog is on by default and includes agent model and tool names, documented with an opt-out (10). ConfirmationHook lets a person confirm, change or reject each tool call, with a policy per tool (18). ChatPromptBuilder sanitises template variables, but SECURITY.md leaves input validation, SSRF and untrusted pipeline files to the application (7). Tracer interface with OpenTelemetry, Langfuse and logging tracers (14). SECURITY.md with a reporting address, CodeQL and Scorecard workflows and one 2024 GitHub advisory, but the November 2026 remote code execution fixes shipped through release notes with no advisory found (14). 10+18+7+14+14 = 63.
- 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.

### Maintenance & community: Haystack +12

- Haystack (95): 3.5.0 tagged on 10 November 2026, 13 days before this check (30). Six releases in the 90 days to 23 November (3.1.1, 3.2.0, 3.3.0, 3.4.0, 3.4.1, 3.5.0) and nightly dev builds on PyPI (20). The 50 newest issues, opened from 11 to 23 November, had 24 with a comment and 19 closed, with 106 issues open (20). The package and its integrations are current, with 3.6 in release candidate (15). CodeQL, Scorecard, Dependabot updates and actions pinned to commit SHAs (10). 30+20+20+15+10 = 95.
- 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.

### Schema & documentation: Haystack +7

- Haystack (88): Framework reading. A typed Python API (py.typed) with a generated API reference (22). llms.txt holds the full documentation, 493 pages in one file (10). The agent pages say what each hook and component is for, with a table of which hook guards which risk (16). Tools are typed from function signatures and components (13). Tutorials, a cookbook and code on every page; error types such as PipelineRuntimeError and tool invocation errors are shown in the guides without a catalogue (12). Versioned docs and release notes per release (15). 22+10+16+13+12+15 = 88.
- 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 | Haystack | Terse Durable Actors | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 81 | 51 | Haystack +30 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 88 | 81 | Haystack +7 |
| Agent ergonomics | 13% | 75 | 89 | Terse Durable Actors +14 |
| Security & auth | 14% | 63 | 49 | Haystack +14 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 95 | 83 | Haystack +12 |
| Transparency & trust | 7% | 74 | 53 | Haystack +21 |
| Negative events | ≤15 | -2 | 0 | |
| **Total** | | **77.8 · BB** | **69.6 · B** | |

## Facts side by side

| Fact | Haystack | Terse Durable Actors |
| --- | --- | --- |
| Kind | Agent framework | Agent framework |
| Vendor | deepset | Terse |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  | Streamable HTTP |
| Auth | None | API key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | Apache-2.0 | MIT |
| Tools exposed | none | 10 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-10 | 2026-11-18 |
| Terms last updated | 2025-07-24 | 2026-05-14 |
| Privacy policy last updated | 2026-10-23 | 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 | 27k stars | 368 stars |

## How the scores have moved

### Haystack

No score change since it was listed.

### Terse Durable Actors

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

## Verdicts

**Haystack.** An Apache-2.0 Python framework with an Agent component, per-tool approval hooks, MCP tools, failure snapshots, a written deprecation policy and releases every few weeks. It sends anonymous usage telemetry to deepset's PostHog by default, including agent model and tool names, until HAYSTACK_TELEMETRY_ENABLED is set to False.

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

### Haystack

1. Set HAYSTACK_TELEMETRY_ENABLED=False before importing haystack if usage events must not leave the machine
2. Add a ConfirmationHook before tools that send, pay or delete
3. Pass tool_names to MCPToolset so only the needed tools from an MCP server load
4. Load pipeline YAML and resume snapshots only from trusted sources, since deserialisation can run code
5. Pin haystack-ai to a minor version and read the release notes before upgrading

### 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, Haystack or Terse Durable Actors?

Haystack scores 77.8 (BB) on agent readiness against Terse Durable Actors's 69.6 (B), and leads in 5 of 7 scored categories. Terse Durable Actors leads on agent ergonomics.

### Are Haystack and Terse Durable Actors open source?

Yes. Haystack is open source (Apache-2.0). Terse Durable Actors is open source (MIT).


## For agents

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

## Other comparisons with Haystack or Terse Durable Actors

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