{
  "data": {
    "a": {
      "slug": "haystack",
      "name": "Haystack",
      "vendor": "deepset",
      "vendorUrl": "https://haystack.deepset.ai/",
      "company": "deepset.ai",
      "kind": "framework",
      "category": "frameworks",
      "summary": "Haystack is deepset's open-source Python framework for building agents and retrieval pipelines, with an Agent component, MCP tool loading, human approval hooks, pipeline breakpoints and integrations for model providers and vector stores.",
      "url": "https://www.anchorterminal.com/tools/haystack",
      "markdownUrl": "https://www.anchorterminal.com/tools/haystack.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/haystack.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/haystack.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/haystack.json",
      "dns": "haystack.grade.anchorterminal.com",
      "repo": "https://github.com/deepset-ai/haystack",
      "license": "Apache-2.0",
      "transports": [],
      "packages": [
        {
          "registry": "pypi",
          "name": "haystack-ai"
        },
        {
          "registry": "pypi",
          "name": "mcp-haystack"
        },
        {
          "registry": "pypi",
          "name": "hayhooks"
        }
      ],
      "auth": "none",
      "authNotes": "A library with no credentials of its own. The Agent takes a chat generator the developer chooses, and each model or store integration reads its own key, such as an OpenAI key for OpenAIChatGenerator.",
      "pricing": "free",
      "pricingNotes": "Free and open source under Apache-2.0, with nothing to buy for the framework. You pay for model calls. deepset sells enterprise support and the Haystack Enterprise Platform separately, with a free trial and no public prices.",
      "priceSummary": "Free · OSS",
      "where": "library",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the Haystack docs or the repository (checked 2026-11-23).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 27082,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-11-23"
      },
      "docsUrl": "https://docs.haystack.deepset.ai/docs/intro",
      "llmsTxt": "https://docs.haystack.deepset.ai/llms.txt",
      "capabilities": [
        "agent.framework",
        "agent.multi-agent",
        "agent.durable",
        "agent.mcp-client"
      ],
      "tags": [
        "framework",
        "python",
        "open-source",
        "llms-txt",
        "mcp",
        "rag",
        "telemetry-on",
        "human-approval"
      ],
      "lastRelease": "2026-11-10",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 77.8,
        "grade": "BB",
        "agentReady": true,
        "rank": 77,
        "ranked": true,
        "rankOf": 1698,
        "categoryRank": 10,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 75,
          "maintenance": 95,
          "payments": 90,
          "reliability": 81,
          "schema": 88,
          "security": 63,
          "transparency": 74
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-23"
        },
        "negative": -2,
        "negativeNotes": [
          "2026-11-10. Release 3.5.0 fixed remote code execution paths in safe-mode pipeline loading (custom Jinja filters on OutputAdapter and ConditionalRouter reaching the deserialiser's own allowlist functions) and a path boundary gap in FileSystemToolResultStore, documented in the release notes. OSV lists no advisory for them. Fixed and documented, so 2 points. https://github.com/deepset-ai/haystack/tree/v3.5.0/releasenotes/notes"
        ],
        "verdict": "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.",
        "bestFor": "Python teams building retrieval-heavy agents or pipelines who want explicit components, approval hooks and resumable runs.",
        "strengths": [
          "ConfirmationHook asks a person to confirm, change or reject a tool call, with a policy set per tool",
          "Pipelines save a snapshot of the last valid state when a run fails, and breakpoints pause and resume runs",
          "A written breaking change policy keeps deprecated functionality working for one minor release with a FutureWarning",
          "Six releases from 3.1.1 to 3.5.0 between 3 September and 10 November 2026, plus nightly builds",
          "Full documentation in one llms.txt, with versioned docs for 3.2 to 3.6"
        ],
        "weaknesses": [
          "Anonymous telemetry to PostHog EU is on by default and includes the Agent's model and tool names",
          "Version numbers do not follow semantic versioning, and minor releases remove deprecated functionality",
          "SECURITY.md puts input validation, SSRF prevention and untrusted pipeline files outside Haystack's scope",
          "Remote code execution paths in pipeline deserialisation were fixed in 3.5.0 through release notes, with no published advisory found",
          "MCP tools need the separate mcp-haystack package"
        ],
        "agentNotes": [
          "Set HAYSTACK_TELEMETRY_ENABLED=False before importing haystack if usage events must not leave the machine",
          "Add a ConfirmationHook before tools that send, pay or delete",
          "Pass tool_names to MCPToolset so only the needed tools from an MCP server load",
          "Load pipeline YAML and resume snapshots only from trusted sources, since deserialisation can run code",
          "Pin haystack-ai to a minor version and read the release notes before upgrading"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "BB",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 77.8
          }
        ],
        "editorialScores": {
          "ergonomics": 75,
          "maintenance": 95,
          "payments": 90,
          "reliability": 81,
          "schema": 88,
          "security": 63,
          "transparency": 90
        },
        "provenanceScore": 58,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-23",
            "maintenance": "2026-11-23",
            "payments": "2026-11-23",
            "reliability": "2026-11-23",
            "schema": "2026-11-23",
            "security": "2026-11-23",
            "transparency": "2026-11-23"
          },
          "last": "2026-11-23",
          "oldest": "2026-11-23",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install haystack-ai   # MCP tools: pip install mcp-haystack"
      },
      "letme": {
        "capability": "https://letme.dev/agent.framework",
        "tool": "https://letme.dev/haystack"
      },
      "area": "frameworks",
      "provenance": {
        "legalEntity": "deepset GmbH",
        "domain": "deepset.ai",
        "domainRegistered": "",
        "endpointOnVendorDomain": null,
        "terms": "https://www.deepset.ai/terms-and-conditions",
        "privacy": "https://www.deepset.ai/privacy-policy",
        "statusPage": "",
        "changelog": "https://github.com/deepset-ai/haystack/releases",
        "securityTxt": "unknown",
        "checked": "2026-11-23",
        "notes": [
          "deepset GmbH, Zinnowitzerstr. 1, 10115 Berlin, registered at Amtsgericht Berlin-Charlottenburg as HRB 197429 B, with managing directors Milos Rusic and Malte Pietsch, per the imprint.",
          "The framework is Apache-2.0. The privacy policy, updated 23 October 2026, covers deepset's website, contact and Enterprise Platform accounts and does not mention framework telemetry; the telemetry page in the docs describes it.",
          "robots.txt on haystack.deepset.ai and docs.haystack.deepset.ai answered 404, so those hosts publish no rules. www.deepset.ai publishes rules that allowed the pages read.",
          "trust.deepset.ai rendered no text to our reader, so its certifications weren't read. security.txt wasn't checked."
        ],
        "score": 58
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/haystack.json",
      "live": {
        "slug": "haystack",
        "versions": [
          {
            "registry": "github",
            "name": "deepset-ai/haystack",
            "version": "v3.5.0",
            "released": "2026-11-10",
            "seenAt": "2026-11-27T06:11:40.248323588Z"
          },
          {
            "registry": "pypi",
            "name": "hayhooks",
            "version": "2.3.0",
            "released": "2026-11-13",
            "seenAt": "2026-11-27T06:11:38.242092408Z"
          },
          {
            "registry": "pypi",
            "name": "haystack-ai",
            "version": "3.5.0",
            "released": "2026-11-10",
            "seenAt": "2026-11-27T06:11:36.115270096Z"
          },
          {
            "registry": "pypi",
            "name": "mcp-haystack",
            "version": "2.2.0",
            "released": "2026-11-25",
            "seenAt": "2026-11-27T06:11:36.226921446Z"
          }
        ],
        "githubStars": 27119,
        "pypiWeekly": 190046,
        "securityTxt": {
          "url": "https://deepset.ai/.well-known/security.txt",
          "state": "valid",
          "expires": "2028-08-10T12:30:00.000Z",
          "checkedAt": "2026-11-27T16:55:55.246932494Z"
        },
        "llmsTxt": {
          "url": "https://docs.haystack.deepset.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-27T16:56:40.420794362Z"
        },
        "pages": [
          {
            "url": "https://www.deepset.ai/privacy-policy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-27T04:16:18.515339032Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "551834a130f4"
          },
          {
            "url": "https://www.deepset.ai/terms-and-conditions",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-27T04:16:23.359078817Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "0f35192a4f49"
          }
        ],
        "updatedAt": "2026-11-27T16:56:40.420794362Z"
      }
    },
    "answer": "Pydantic AI Harness scores 83.5 (A) on agent readiness against Haystack's 77.8 (BB), and leads in 4 of 7 scored categories. Haystack leads on reliability and maintenance \u0026 community.",
    "b": {
      "slug": "pydantic-ai-harness",
      "name": "Pydantic AI Harness",
      "vendor": "Pydantic",
      "vendorUrl": "https://pydantic.dev/docs/ai/harness/",
      "company": "pydantic.dev",
      "kind": "framework",
      "category": "frameworks",
      "summary": "Pydantic AI Harness is Pydantic's open-source Python library of agent capabilities for Pydantic AI, with workspaces and sandboxes, file and shell tools, memory, sub-agents, guardrails and spend limits, plus ready-made agents such as Coder and Researcher.",
      "url": "https://www.anchorterminal.com/tools/pydantic-ai-harness",
      "markdownUrl": "https://www.anchorterminal.com/tools/pydantic-ai-harness.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/pydantic-ai-harness.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/pydantic-ai-harness.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/pydantic-ai-harness.json",
      "dns": "pydantic-ai-harness.grade.anchorterminal.com",
      "repo": "https://github.com/pydantic/pydantic-ai/tree/main/src/pydantic_ai_harness",
      "license": "MIT",
      "transports": [],
      "packages": [
        {
          "registry": "pypi",
          "name": "pydantic-ai-harness"
        }
      ],
      "auth": "none",
      "authNotes": "A library with no account or key of its own. Credentials are for the models, sandboxes (Modal, E2B, Daytona and others) and hosted MCP capabilities you attach.",
      "pricing": "free",
      "pricingNotes": "Free and MIT-licensed. You pay for model calls and any cloud sandbox you attach. Local workspaces, Docker and the smolvm and BoxLite microVMs need no account.",
      "priceSummary": "Free · OSS",
      "where": "library",
      "x402": {
        "level": "no",
        "evidence": "A Python library with no hosted endpoint of its own. No payment protocol in the docs or README (checked 2026-11-27).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-11-27"
      },
      "docsUrl": "https://pydantic.dev/docs/ai/harness/",
      "llmsTxt": "https://pydantic.dev/docs/ai/llms.txt",
      "capabilities": [
        "agent.framework",
        "agent.multi-agent",
        "agent.durable",
        "agent.mcp-client"
      ],
      "tags": [
        "framework",
        "python",
        "open-source",
        "typed",
        "no-telemetry",
        "llms-txt",
        "sandbox"
      ],
      "lastRelease": "2026-11-27",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 83.5,
        "grade": "A",
        "agentReady": true,
        "rank": 15,
        "ranked": true,
        "rankOf": 1698,
        "categoryRank": 5,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 89,
          "maintenance": 87,
          "payments": 90,
          "reliability": 61,
          "schema": 98,
          "security": 85,
          "transparency": 82
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-27"
        },
        "negative": 0,
        "verdict": "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.",
        "bestFor": "Python developers building coding, research or long-running agents on Pydantic AI who want sandboxes, budgets and approvals as parts.",
        "strengths": [
          "A working coding agent is an `Agent` with `LocalWorkspace` and `Coder()` in its capabilities, and any part can be swapped",
          "Twelve workspace backends beyond the local one, including local smolvm and BoxLite microVMs, Docker, Modal, E2B, Daytona and Kubernetes",
          "Spend limits per run, day or tenant, per-tool budgets, loop detection and tool-output spill files for long runs",
          "Permissions, Approval Reviewer, Tool Call Judge, guardrails and a Prompt Injection Defender as opt-in capabilities",
          "A page per capability with API reference blocks, about 96 entries in llms.txt, and a written 0.x version policy"
        ],
        "weaknesses": [
          "0.76.0 and classed Alpha. Minor releases may rename parameters or change defaults",
          "`Coder`'s shell has no allowlist and `LocalWorkspace` is not a sandbox, so commands reach anything the user can",
          "The Prompt Injection Defender reports only, unless `block_high_risk=True` is set",
          "186 open issues labelled `pkg:harness` on 27 November 2026, 59 of them bugs and 26 of those without a reply",
          "Python only, 3.11 or newer"
        ],
        "agentNotes": [
          "Attach a workspace capability. Harness capabilities never pick one, and a run without one fails at its start",
          "Use a sandbox capability instead of `LocalWorkspace` for model-written commands. `LocalWorkspace` runs them on your machine as you",
          "Add `Permissions` in `auto` or `read-only` mode, with a deferred-call handler, before letting `Coder` run unattended",
          "Set `PromptInjectionDefender(block_high_risk=True)` if tool results should be blocked rather than only flagged",
          "Pin the Harness and Pydantic AI together and read the release notes before a minor upgrade. 0.x minors can break APIs"
        ],
        "metrics": {
          "kind": "library",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "A",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 83.5
          }
        ],
        "editorialScores": {
          "ergonomics": 89,
          "maintenance": 87,
          "payments": 90,
          "reliability": 61,
          "schema": 98,
          "security": 85,
          "transparency": 84
        },
        "provenanceScore": 79,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-27",
            "maintenance": "2026-11-27",
            "payments": "2026-11-27",
            "reliability": "2026-11-27",
            "schema": "2026-11-27",
            "security": "2026-11-27",
            "transparency": "2026-11-27"
          },
          "last": "2026-11-27",
          "oldest": "2026-11-27",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install \"pydantic-ai-harness[coder,anthropic]\""
      },
      "letme": {
        "capability": "https://letme.dev/agent.framework",
        "tool": "https://letme.dev/pydantic-ai-harness"
      },
      "sameCompany": [
        "pydantic-ai",
        "pydantic-logfire",
        "pydantic-ai-pax"
      ],
      "area": "frameworks",
      "provenance": {
        "legalEntity": "Pydantic Services Inc.",
        "domain": "pydantic.dev",
        "domainRegistered": "2022-04-24",
        "endpointOnVendorDomain": null,
        "terms": "https://pydantic.dev/legal/terms-of-service",
        "privacy": "https://pydantic.dev/legal/privacy-policy",
        "statusPage": "",
        "changelog": "https://pydantic.dev/docs/ai/project/changelog/",
        "securityTxt": "valid",
        "checked": "2026-11-27",
        "notes": [
          "Legal entity, domain registration, terms and privacy links carried from the pydantic-ai listing (checked 4 October 2026), as RULES.md allows for company facts. The Harness is MIT software you run, so the terms and privacy policy cover Pydantic's hosted services rather than the library.",
          "pydantic.dev/.well-known/security.txt read on 27 November 2026, with contact security@pydantic.dev, expires 17 September 2027, policy https://pydantic.dev/security.",
          "pydantic.dev's robots.txt let our reader in. Its llms.txt asks agents to add `intent`, `stack` and `harness` query parameters to every docs request. We didn't.",
          "github.com answered robots.txt with 403 to our reader, so repository pages weren't read. The repository was cloned (--depth 200) and issue counts came from GitHub's search API.",
          "Both files of the 0.76.0 release on PyPI carry provenance metadata."
        ],
        "score": 79
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/pydantic-ai-harness.json"
    },
    "edges": [
      {
        "by": 22,
        "category": "security",
        "leads": "pydantic-ai-harness",
        "name": "Security \u0026 auth",
        "reasons": {
          "a": "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.",
          "b": "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."
        },
        "scores": {
          "a": 63,
          "b": 85
        }
      },
      {
        "by": 20,
        "category": "reliability",
        "leads": "haystack",
        "name": "Reliability",
        "reasons": {
          "a": "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.",
          "b": "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."
        },
        "scores": {
          "a": 81,
          "b": 61
        }
      },
      {
        "by": 14,
        "category": "ergonomics",
        "leads": "pydantic-ai-harness",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "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.",
          "b": "Framework reading. A coding agent is an `Agent` with `LocalWorkspace('.')` and `Coder()` in its capabilities, MCP comes from core, and hosted MCP integrations such as GitHub, Linear and Slack are capabilities of their own (23 of 25). `ToolOutputLimits` spills results of 10,000 characters or more to a file, and `SpendLimits`, `ToolBudgets`, `ReportRemainingBudget` and `DetectLoops` bound runs (20). `ReportToolErrors` turns exceptions into tool results the model can act on, `RepairToolArguments` fixes malformed JSON, and a run without a workspace fails at its start saying what to attach (19 of 20). Step persistence, Temporal and DBOS extras and Absurd, pgtask, Lambda and Azure Durable Task pages (18 of 20). Sensible defaults, but Python only, as for pydantic-ai (9 of 15). 23+20+19+18+9 = 89."
        },
        "scores": {
          "a": 75,
          "b": 89
        }
      },
      {
        "by": 10,
        "category": "schema",
        "leads": "pydantic-ai-harness",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "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.",
          "b": "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."
        },
        "scores": {
          "a": 88,
          "b": 98
        }
      },
      {
        "by": 8,
        "category": "maintenance",
        "leads": "haystack",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "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.",
          "b": "0.76.0 on 27 November 2026 (30). 35 releases in the 90 days to 27 November, and about 65 since 0.1.1 on 13 April (20). 362 merged pull requests and 161 closed issues labelled `pkg:harness` since 28 October, but 26 open bugs have no reply and three open bugs date from June to August. Reply times weren't read (16 of 25). The Python package is current and pinned to the matching `pydantic-ai-slim` release, Python only (13 of 15). Dependabot is configured and both 0.76.0 release files carry PyPI provenance, with CI state unchecked (8 of 10). 30+20+16+13+8 = 87."
        },
        "scores": {
          "a": 95,
          "b": 87
        }
      },
      {
        "by": 8,
        "category": "transparency",
        "leads": "pydantic-ai-harness",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "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.",
          "b": "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."
        },
        "scores": {
          "a": 74,
          "b": 82
        }
      }
    ],
    "facts": [
      {
        "a": "Agent framework",
        "b": "Agent framework",
        "name": "Kind"
      },
      {
        "a": "deepset",
        "b": "Pydantic",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "None",
        "b": "None",
        "name": "Auth"
      },
      {
        "a": "Free",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Apache-2.0",
        "b": "MIT",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "yes",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-11-10",
        "b": "2026-11-27",
        "name": "Last release"
      },
      {
        "a": "2025-07-24",
        "b": "no date given",
        "name": "Terms last updated"
      },
      {
        "a": "2026-10-23",
        "b": "2024-02-21",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "27k stars",
        "b": "none",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "Pydantic AI Harness scores 83.5 (A) on agent readiness against Haystack's 77.8 (BB), and leads in 4 of 7 scored categories. Haystack leads on reliability and maintenance \u0026 community.",
        "question": "Which is better for AI agents, Haystack or Pydantic AI Harness?"
      },
      {
        "answer": "Yes. Haystack is open source (Apache-2.0). Pydantic AI Harness is open source (MIT).",
        "question": "Are Haystack and Pydantic AI Harness open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 81 against 61",
          "Maintenance \u0026 community, 95 against 87"
        ],
        "also": null,
        "goodFor": "Python teams building retrieval-heavy agents or pipelines who want explicit components, approval hooks and resumable runs.",
        "slug": "haystack",
        "watchFor": "Anonymous telemetry to PostHog EU is on by default and includes the Agent's model and tool names"
      },
      {
        "aheadOn": [
          "Schema \u0026 documentation, 98 against 88",
          "Agent ergonomics, 89 against 75",
          "Security \u0026 auth, 85 against 63",
          "Transparency \u0026 trust, 82 against 74"
        ],
        "also": null,
        "goodFor": "Python developers building coding, research or long-running agents on Pydantic AI who want sandboxes, budgets and approvals as parts.",
        "slug": "pydantic-ai-harness",
        "watchFor": "0.76.0 and classed Alpha. Minor releases may rename parameters or change defaults"
      }
    ],
    "history": null,
    "job": {
      "capability": "agent.framework",
      "name": "Agent frameworks"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/agentos-vs-haystack.json",
        "title": "AgentOS vs Haystack",
        "url": "https://www.anchorterminal.com/compare/agentos-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/agentos-vs-pydantic-ai-harness.json",
        "title": "AgentOS vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/agentos-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/agno-vs-haystack.json",
        "title": "Agno vs Haystack",
        "url": "https://www.anchorterminal.com/compare/agno-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/agno-vs-pydantic-ai-harness.json",
        "title": "Agno vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/agno-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/boxlang-ai-vs-haystack.json",
        "title": "BoxLang AI vs Haystack",
        "url": "https://www.anchorterminal.com/compare/boxlang-ai-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/boxlang-ai-vs-pydantic-ai-harness.json",
        "title": "BoxLang AI vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/boxlang-ai-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-haystack.json",
        "title": "Claude Agent SDK vs Haystack",
        "url": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-pydantic-ai-harness.json",
        "title": "Claude Agent SDK vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/crewai-vs-haystack.json",
        "title": "CrewAI vs Haystack",
        "url": "https://www.anchorterminal.com/compare/crewai-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/crewai-vs-pydantic-ai-harness.json",
        "title": "CrewAI vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/crewai-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-haystack.json",
        "title": "Cursor Agent SDK vs Haystack",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-pydantic-ai-harness.json",
        "title": "Cursor Agent SDK vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/docker-agent-vs-haystack.json",
        "title": "Docker Agent vs Haystack",
        "url": "https://www.anchorterminal.com/compare/docker-agent-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/docker-agent-vs-pydantic-ai-harness.json",
        "title": "Docker Agent vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/docker-agent-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-haystack.json",
        "title": "DSPy vs Haystack",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dspy-vs-pydantic-ai-harness.json",
        "title": "DSPy vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-haystack.json",
        "title": "Genkit vs Haystack",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/genkit-vs-pydantic-ai-harness.json",
        "title": "Genkit vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-adk-vs-haystack.json",
        "title": "Agent Development Kit (ADK) vs Haystack",
        "url": "https://www.anchorterminal.com/compare/google-adk-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-adk-vs-pydantic-ai-harness.json",
        "title": "Agent Development Kit (ADK) vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/google-adk-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/guilds-run-vs-haystack.json",
        "title": "guilds.run vs Haystack",
        "url": "https://www.anchorterminal.com/compare/guilds-run-vs-haystack"
      },
      {
        "json": "https://www.anchorterminal.com/compare/guilds-run-vs-pydantic-ai-harness.json",
        "title": "guilds.run vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/guilds-run-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-langgraph.json",
        "title": "Haystack vs LangGraph",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-langgraph"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-llamaindex.json",
        "title": "Haystack vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-llamaindex"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-mastra.json",
        "title": "Haystack vs Mastra",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-mastra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-microsoft-agent-framework.json",
        "title": "Haystack vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-openai-agents-sdk.json",
        "title": "Haystack vs OpenAI Agents SDK",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-openai-agents-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai.json",
        "title": "Haystack vs Pydantic AI",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-smolagents.json",
        "title": "Haystack vs smolagents",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-strands-agents.json",
        "title": "Haystack vs Strands Agents",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-strands-agents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-terse-durable-actors.json",
        "title": "Haystack vs Terse Durable Actors",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-terse-durable-actors"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-tradingagents.json",
        "title": "Haystack vs TradingAgents",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-tradingagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/haystack-vs-vercel-ai-sdk.json",
        "title": "Haystack vs AI SDK",
        "url": "https://www.anchorterminal.com/compare/haystack-vs-vercel-ai-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langgraph-vs-pydantic-ai-harness.json",
        "title": "LangGraph vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/langgraph-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-pydantic-ai-harness.json",
        "title": "LlamaIndex Framework vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mastra-vs-pydantic-ai-harness.json",
        "title": "Mastra vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/mastra-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-pydantic-ai-harness.json",
        "title": "Microsoft Agent Framework vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-agents-sdk-vs-pydantic-ai-harness.json",
        "title": "OpenAI Agents SDK vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/openai-agents-sdk-vs-pydantic-ai-harness"
      },
      {
        "json": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-smolagents.json",
        "title": "Pydantic AI Harness vs smolagents",
        "url": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-strands-agents.json",
        "title": "Pydantic AI Harness vs Strands Agents",
        "url": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-strands-agents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-terse-durable-actors.json",
        "title": "Pydantic AI Harness vs Terse Durable Actors",
        "url": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-terse-durable-actors"
      },
      {
        "json": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-tradingagents.json",
        "title": "Pydantic AI Harness vs TradingAgents",
        "url": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-tradingagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-vercel-ai-sdk.json",
        "title": "Pydantic AI Harness vs AI SDK",
        "url": "https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-vercel-ai-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/pydantic-ai-vs-pydantic-ai-harness.json",
        "title": "Pydantic AI vs Pydantic AI Harness",
        "url": "https://www.anchorterminal.com/compare/pydantic-ai-vs-pydantic-ai-harness"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 20,
        "edge": "haystack",
        "haystack": 81,
        "key": "reliability",
        "name": "Reliability",
        "pydantic-ai-harness": 61,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 10,
        "edge": "pydantic-ai-harness",
        "haystack": 88,
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "pydantic-ai-harness": 98,
        "weight": 13
      },
      {
        "by": 14,
        "edge": "pydantic-ai-harness",
        "haystack": 75,
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "pydantic-ai-harness": 89,
        "weight": 13
      },
      {
        "by": 22,
        "edge": "pydantic-ai-harness",
        "haystack": 63,
        "key": "security",
        "name": "Security \u0026 auth",
        "pydantic-ai-harness": 85,
        "weight": 14
      },
      {
        "by": 0,
        "edge": "",
        "haystack": 90,
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "pydantic-ai-harness": 90,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 8,
        "edge": "haystack",
        "haystack": 95,
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "pydantic-ai-harness": 87,
        "weight": 7
      },
      {
        "by": 8,
        "edge": "pydantic-ai-harness",
        "haystack": 74,
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "pydantic-ai-harness": 82,
        "weight": 7
      }
    ],
    "summary": "Pydantic AI Harness scores 83.5 (A) on agent readiness against Haystack's 77.8 (BB), and leads in 4 of 7 scored categories. Haystack leads on reliability and maintenance \u0026 community. Both do agent frameworks.",
    "tasks": null,
    "tutorials": [],
    "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.",
      "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."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai-harness",
    "json": "https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai-harness.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai-harness.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai-harness.min.md"
  },
  "markdown": "Pydantic AI Harness scores 83.5 (A) on agent readiness against Haystack's 77.8 (BB), and leads in 4 of 7 scored categories. Haystack leads on reliability and maintenance \u0026 community. Both do agent frameworks.\n\n- Haystack: grade BB, 77.8/100, rank #77 of 1698. Markdown https://www.anchorterminal.com/tools/haystack.md · JSON https://www.anchorterminal.com/api/v1/tools/haystack.json\n- Pydantic AI Harness: grade A, 83.5/100, rank #15 of 1698. Markdown https://www.anchorterminal.com/tools/pydantic-ai-harness.md · JSON https://www.anchorterminal.com/api/v1/tools/pydantic-ai-harness.json\n- Best agent frameworks and SDKs: https://www.anchorterminal.com/best/frameworks/index.md\n- All 276 frameworks comparisons: https://www.anchorterminal.com/compare/frameworks/index.md\n\n## Which one, for what\n\n### Haystack (BB)\n\nGood for: Python teams building retrieval-heavy agents or pipelines who want explicit components, approval hooks and resumable runs.\n\nAhead on:\n- Reliability, 81 against 61\n- Maintenance \u0026 community, 95 against 87\n\nWatch for: Anonymous telemetry to PostHog EU is on by default and includes the Agent's model and tool names\n\n### Pydantic AI Harness (A)\n\nGood for: Python developers building coding, research or long-running agents on Pydantic AI who want sandboxes, budgets and approvals as parts.\n\nAhead on:\n- Schema \u0026 documentation, 98 against 88\n- Agent ergonomics, 89 against 75\n- Security \u0026 auth, 85 against 63\n- Transparency \u0026 trust, 82 against 74\n\nWatch for: 0.76.0 and classed Alpha. Minor releases may rename parameters or change defaults\n\n\n## Why the edge\n\n### Security \u0026 auth: Pydantic AI Harness +22\n\n- 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.\n- 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.\n\n### Reliability: Haystack +20\n\n- 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.\n- 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.\n\n### Agent ergonomics: Pydantic AI Harness +14\n\n- 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.\n- Pydantic AI Harness (89): Framework reading. A coding agent is an `Agent` with `LocalWorkspace('.')` and `Coder()` in its capabilities, MCP comes from core, and hosted MCP integrations such as GitHub, Linear and Slack are capabilities of their own (23 of 25). `ToolOutputLimits` spills results of 10,000 characters or more to a file, and `SpendLimits`, `ToolBudgets`, `ReportRemainingBudget` and `DetectLoops` bound runs (20). `ReportToolErrors` turns exceptions into tool results the model can act on, `RepairToolArguments` fixes malformed JSON, and a run without a workspace fails at its start saying what to attach (19 of 20). Step persistence, Temporal and DBOS extras and Absurd, pgtask, Lambda and Azure Durable Task pages (18 of 20). Sensible defaults, but Python only, as for pydantic-ai (9 of 15). 23+20+19+18+9 = 89.\n\n### Schema \u0026 documentation: Pydantic AI Harness +10\n\n- 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.\n- 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.\n\n### Maintenance \u0026 community: Haystack +8\n\n- 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.\n- Pydantic AI Harness (87): 0.76.0 on 27 November 2026 (30). 35 releases in the 90 days to 27 November, and about 65 since 0.1.1 on 13 April (20). 362 merged pull requests and 161 closed issues labelled `pkg:harness` since 28 October, but 26 open bugs have no reply and three open bugs date from June to August. Reply times weren't read (16 of 25). The Python package is current and pinned to the matching `pydantic-ai-slim` release, Python only (13 of 15). Dependabot is configured and both 0.76.0 release files carry PyPI provenance, with CI state unchecked (8 of 10). 30+20+16+13+8 = 87.\n\n### Transparency \u0026 trust: Pydantic AI Harness +8\n\n- 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.\n- 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.\n\n## Score by category\n\n| Category | Weight | Haystack | Pydantic AI Harness | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 81 | 61 | Haystack +20 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 88 | 98 | Pydantic AI Harness +10 |\n| Agent ergonomics | 13% | 75 | 89 | Pydantic AI Harness +14 |\n| Security \u0026 auth | 14% | 63 | 85 | Pydantic AI Harness +22 |\n| Payments \u0026 pricing | 10% | 90 | 90 | even |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% | 95 | 87 | Haystack +8 |\n| Transparency \u0026 trust | 7% | 74 | 82 | Pydantic AI Harness +8 |\n| Negative events | ≤15 | -2 | 0 | |\n| **Total** | | **77.8 · BB** | **83.5 · A** | |\n\n## Facts side by side\n\n| Fact | Haystack | Pydantic AI Harness |\n| --- | --- | --- |\n| Kind | Agent framework | Agent framework |\n| Vendor | deepset | Pydantic |\n| Hosted endpoint | no (local only) | no (local only) |\n| Transports |  |  |\n| Auth | None | None |\n| Pricing | Free | Free |\n| x402 | no | no |\n| Licence | Apache-2.0 | MIT |\n| Read-only variant documented | no | yes |\n| llms.txt | yes | yes |\n| Last release | 2026-11-10 | 2026-11-27 |\n| Terms last updated | 2025-07-24 | no date given |\n| Privacy policy last updated | 2026-10-23 | 2024-02-21 |\n| Customer content may train models | not found in the text | not found in the text |\n| Terms restrict automated access | not found in the text | not found in the text |\n| Terms restrict benchmarking | yes | yes |\n| Terms or service can change without notice | not found in the text | not found in the text |\n| Arbitration or class-action waiver | yes | yes |\n| Popularity | 27k stars | none |\n\n## Verdicts\n\n**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.\n\n**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.\n\n## Before you call either\n\n### Haystack\n\n1. Set HAYSTACK_TELEMETRY_ENABLED=False before importing haystack if usage events must not leave the machine\n2. Add a ConfirmationHook before tools that send, pay or delete\n3. Pass tool_names to MCPToolset so only the needed tools from an MCP server load\n4. Load pipeline YAML and resume snapshots only from trusted sources, since deserialisation can run code\n5. Pin haystack-ai to a minor version and read the release notes before upgrading\n\n### Pydantic AI Harness\n\n1. Attach a workspace capability. Harness capabilities never pick one, and a run without one fails at its start\n2. Use a sandbox capability instead of `LocalWorkspace` for model-written commands. `LocalWorkspace` runs them on your machine as you\n3. Add `Permissions` in `auto` or `read-only` mode, with a deferred-call handler, before letting `Coder` run unattended\n4. Set `PromptInjectionDefender(block_high_risk=True)` if tool results should be blocked rather than only flagged\n5. Pin the Harness and Pydantic AI together and read the release notes before a minor upgrade. 0.x minors can break APIs\n\n## Questions\n\n### Which is better for AI agents, Haystack or Pydantic AI Harness?\n\nPydantic AI Harness scores 83.5 (A) on agent readiness against Haystack's 77.8 (BB), and leads in 4 of 7 scored categories. Haystack leads on reliability and maintenance \u0026 community.\n\n### Are Haystack and Pydantic AI Harness open source?\n\nYes. Haystack is open source (Apache-2.0). Pydantic AI Harness is open source (MIT).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai-harness.json, and with the fewest tokens: https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai-harness.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"haystack\", \"b\": \"pydantic-ai-harness\"}`. From a terminal: `anchor compare haystack pydantic-ai-harness`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/haystack.json and https://www.anchorterminal.com/api/v1/tools/pydantic-ai-harness.json\n\n## Other comparisons with Haystack or Pydantic AI Harness\n\n- [AgentOS vs Haystack](https://www.anchorterminal.com/compare/agentos-vs-haystack.md)\n- [AgentOS vs Pydantic AI Harness](https://www.anchorterminal.com/compare/agentos-vs-pydantic-ai-harness.md)\n- [Agno vs Haystack](https://www.anchorterminal.com/compare/agno-vs-haystack.md)\n- [Agno vs Pydantic AI Harness](https://www.anchorterminal.com/compare/agno-vs-pydantic-ai-harness.md)\n- [BoxLang AI vs Haystack](https://www.anchorterminal.com/compare/boxlang-ai-vs-haystack.md)\n- [BoxLang AI vs Pydantic AI Harness](https://www.anchorterminal.com/compare/boxlang-ai-vs-pydantic-ai-harness.md)\n- [Claude Agent SDK vs Haystack](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-haystack.md)\n- [Claude Agent SDK vs Pydantic AI Harness](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-pydantic-ai-harness.md)\n- [CrewAI vs Haystack](https://www.anchorterminal.com/compare/crewai-vs-haystack.md)\n- [CrewAI vs Pydantic AI Harness](https://www.anchorterminal.com/compare/crewai-vs-pydantic-ai-harness.md)\n- [Cursor Agent SDK vs Haystack](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-haystack.md)\n- [Cursor Agent SDK vs Pydantic AI Harness](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-pydantic-ai-harness.md)\n- [Docker Agent vs Haystack](https://www.anchorterminal.com/compare/docker-agent-vs-haystack.md)\n- [Docker Agent vs Pydantic AI Harness](https://www.anchorterminal.com/compare/docker-agent-vs-pydantic-ai-harness.md)\n- [DSPy vs Haystack](https://www.anchorterminal.com/compare/dspy-vs-haystack.md)\n- [DSPy vs Pydantic AI Harness](https://www.anchorterminal.com/compare/dspy-vs-pydantic-ai-harness.md)\n- [Genkit vs Haystack](https://www.anchorterminal.com/compare/genkit-vs-haystack.md)\n- [Genkit vs Pydantic AI Harness](https://www.anchorterminal.com/compare/genkit-vs-pydantic-ai-harness.md)\n- [Agent Development Kit (ADK) vs Haystack](https://www.anchorterminal.com/compare/google-adk-vs-haystack.md)\n- [Agent Development Kit (ADK) vs Pydantic AI Harness](https://www.anchorterminal.com/compare/google-adk-vs-pydantic-ai-harness.md)\n- [guilds.run vs Haystack](https://www.anchorterminal.com/compare/guilds-run-vs-haystack.md)\n- [guilds.run vs Pydantic AI Harness](https://www.anchorterminal.com/compare/guilds-run-vs-pydantic-ai-harness.md)\n- [Haystack vs LangGraph](https://www.anchorterminal.com/compare/haystack-vs-langgraph.md)\n- [Haystack vs LlamaIndex Framework](https://www.anchorterminal.com/compare/haystack-vs-llamaindex.md)\n- [Haystack vs Mastra](https://www.anchorterminal.com/compare/haystack-vs-mastra.md)\n- [Haystack vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/haystack-vs-microsoft-agent-framework.md)\n- [Haystack vs OpenAI Agents SDK](https://www.anchorterminal.com/compare/haystack-vs-openai-agents-sdk.md)\n- [Haystack vs Pydantic AI](https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai.md)\n- [Haystack vs smolagents](https://www.anchorterminal.com/compare/haystack-vs-smolagents.md)\n- [Haystack vs Strands Agents](https://www.anchorterminal.com/compare/haystack-vs-strands-agents.md)\n- [Haystack vs Terse Durable Actors](https://www.anchorterminal.com/compare/haystack-vs-terse-durable-actors.md)\n- [Haystack vs TradingAgents](https://www.anchorterminal.com/compare/haystack-vs-tradingagents.md)\n- [Haystack vs AI SDK](https://www.anchorterminal.com/compare/haystack-vs-vercel-ai-sdk.md)\n- [LangGraph vs Pydantic AI Harness](https://www.anchorterminal.com/compare/langgraph-vs-pydantic-ai-harness.md)\n- [LlamaIndex Framework vs Pydantic AI Harness](https://www.anchorterminal.com/compare/llamaindex-vs-pydantic-ai-harness.md)\n- [Mastra vs Pydantic AI Harness](https://www.anchorterminal.com/compare/mastra-vs-pydantic-ai-harness.md)\n- [Microsoft Agent Framework vs Pydantic AI Harness](https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-pydantic-ai-harness.md)\n- [OpenAI Agents SDK vs Pydantic AI Harness](https://www.anchorterminal.com/compare/openai-agents-sdk-vs-pydantic-ai-harness.md)\n- [Pydantic AI Harness vs smolagents](https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-smolagents.md)\n- [Pydantic AI Harness vs Strands Agents](https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-strands-agents.md)\n- [Pydantic AI Harness vs Terse Durable Actors](https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-terse-durable-actors.md)\n- [Pydantic AI Harness vs TradingAgents](https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-tradingagents.md)\n- [Pydantic AI Harness vs AI SDK](https://www.anchorterminal.com/compare/pydantic-ai-harness-vs-vercel-ai-sdk.md)\n- [Pydantic AI vs Pydantic AI Harness](https://www.anchorterminal.com/compare/pydantic-ai-vs-pydantic-ai-harness.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-27",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "1.0",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Haystack vs Pydantic AI Harness",
        "url": ""
      }
    ],
    "description": "Pydantic AI Harness scores 83.5 (A) to Haystack's 77.8 (BB) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Haystack BB 77.8",
      "Pydantic AI Harness A 83.5",
      "scores"
    ],
    "h1": "Haystack vs Pydantic AI Harness",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/haystack-vs-pydantic-ai-harness",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Haystack vs Pydantic AI Harness for AI agents (2026) | Anchor Terminal",
    "toc": null,
    "updated": "2026-11-27",
    "url": "https://www.anchorterminal.com/compare/haystack-vs-pydantic-ai-harness"
  },
  "tokens": {
    "markdown": 5150,
    "slim": 780
  },
  "version": 1
}
