Head to head · Agent frameworks · October 2026 research run

Haystack vs 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. Both do agent frameworks.

Best agent frameworks and SDKs · All 253 frameworks comparisons

Which one, for what

Haystack BB

Best 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

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

  • 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

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.

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

CategoryWeightHaystackTerse Durable ActorsEdge
Reliability16%8151Haystack +30
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8881Haystack +7
Agent ergonomics13%7589Terse Durable Actors +14
Security & auth14%6349Haystack +14
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%9583Haystack +12
Transparency & trust7%7453Haystack +21
Negative events≤15-20
TotalBB 77.8/100B 69.6/100

Facts side by side

FactHaystackTerse Durable Actors
KindAgent frameworkAgent framework
VendordeepsetTerse
Hosted endpointno (local only)no (local only)
TransportsStreamable HTTP
AuthNoneAPI key
PricingFreeFreemium
x402nono
LicenceApache-2.0MIT
Tools exposednone10
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-102026-11-18
Terms last updated2025-07-242026-05-14
Privacy policy last updated2026-10-232026-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
Popularity27k stars368 stars

How the scores have moved

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

Other comparisons with Haystack 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.