{
  "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": 72,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 9,
        "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"
    },
    "answer": "Haystack scores 77.8 (BB) on agent readiness against smolagents's 62.5 (B), and leads in 5 of 7 scored categories.",
    "b": {
      "slug": "smolagents",
      "name": "smolagents",
      "vendor": "Hugging Face",
      "vendorUrl": "https://github.com/huggingface/smolagents",
      "company": "huggingface.co",
      "kind": "framework",
      "category": "frameworks",
      "summary": "smolagents is Hugging Face's small Python library for agents that write and run Python code (CodeAgent) or call tools as JSON (ToolCallingAgent), with MCP tools, any model provider and sandboxed execution through E2B, Docker, Modal or Blaxel.",
      "url": "https://www.anchorterminal.com/tools/smolagents",
      "markdownUrl": "https://www.anchorterminal.com/tools/smolagents.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/smolagents.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/smolagents.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/smolagents.json",
      "dns": "smolagents.grade.anchorterminal.com",
      "repo": "https://github.com/huggingface/smolagents",
      "license": "Apache-2.0",
      "transports": [],
      "packages": [
        {
          "registry": "pypi",
          "name": "smolagents"
        }
      ],
      "auth": "none",
      "authNotes": "A library with no credentials of its own. The default InferenceClientModel uses a Hugging Face token; other providers and remote sandboxes take their own keys.",
      "pricing": "free",
      "pricingNotes": "Free and open source under Apache-2.0. You pay for model calls and for any remote sandbox (E2B, Modal, Blaxel) you use.",
      "priceSummary": "Free · OSS",
      "where": "library",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs or the repository (checked 2026-11-06).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 30234,
        "npmWeekly": null,
        "pypiWeekly": 171063,
        "asOf": "2026-11-06"
      },
      "docsUrl": "https://huggingface.co/docs/smolagents/index",
      "llmsTxt": "https://huggingface.co/docs/smolagents/llms.txt",
      "capabilities": [
        "agent.framework",
        "agent.mcp-client",
        "agent.multi-agent"
      ],
      "tags": [
        "framework",
        "python",
        "open-source",
        "llms-txt",
        "mcp",
        "code-agent",
        "sandbox"
      ],
      "lastRelease": "2026-05-29",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 62.5,
        "grade": "B",
        "agentReady": false,
        "rank": 729,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 21,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 68,
          "maintenance": 34,
          "payments": 90,
          "reliability": 64,
          "schema": 81,
          "security": 66,
          "transparency": 65
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-06"
        },
        "negative": -6,
        "negativeNotes": [
          "2025-12-23 to 2026-03-27. GHSA-q9r5-6hrr-9ph7 (CVE-2025-14931, critical, from the Zero Day Initiative) reports remote code execution through pickle deserialisation in the remote Python executor; the fix for remote executors merged on 15 February 2026, about eight weeks after publication. CVE-2026-2654 (SSRF, 1.24.0) and CVE-2026-4963 (code injection in LocalPythonExecutor, an incomplete earlier fix) are rated low, and both records say the vendor did not respond. Fixed or low, under 12 months old, 6 points. https://osv.dev/vulnerability/GHSA-q9r5-6hrr-9ph7"
        ],
        "verdict": "A compact Python library for code-writing and tool-calling agents, with MCP tools, any model provider and remote sandboxes through E2B, Docker, Modal or Blaxel. The newest release is 1.26.0 of 29 May 2026, a critical remote-executor RCE took about eight weeks to fix, and the local executor isn't a security boundary.",
        "bestFor": "Small Python projects and research that want code-writing agents with minimal abstraction.",
        "strengths": [
          "CodeAgent and ToolCallingAgent in a small, readable codebase",
          "MCP tools from any server through MCPClient",
          "Remote execution through E2B, Docker, Modal or Blaxel, with a guide on when it's needed",
          "No telemetry found in the source",
          "llms.txt and Markdown docs on huggingface.co"
        ],
        "weaknesses": [
          "No release since 1.26.0 on 29 May 2026, and few commits to main since August",
          "The local Python executor isn't a security boundary, per its own guide",
          "A critical RCE in the remote executor (published December 2025) was fixed in February 2026",
          "No human approval hook, retry or resume built in",
          "Breaking removals such as WasmExecutor shipped in minor releases"
        ],
        "agentNotes": [
          "Run CodeAgent with `executor_type` set to e2b, docker, modal or blaxel whenever the model or its inputs aren't trusted",
          "Use smolagents 1.24.0 or later to get the remote-executor deserialisation fix",
          "Set max_steps and final_answer_checks so a run stops on its own",
          "Pass structured_output explicitly to MCPClient to avoid the default-change warning",
          "Pin the version, since minor releases have removed APIs"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 62.5
          }
        ],
        "editorialScores": {
          "ergonomics": 68,
          "maintenance": 34,
          "payments": 90,
          "reliability": 64,
          "schema": 81,
          "security": 66,
          "transparency": 67
        },
        "provenanceScore": 62,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-06",
            "maintenance": "2026-11-06",
            "payments": "2026-11-06",
            "reliability": "2026-11-06",
            "schema": "2026-11-06",
            "security": "2026-11-06",
            "transparency": "2026-11-06"
          },
          "last": "2026-11-06",
          "lastMoved": "2026-11-13",
          "oldest": "2026-11-06",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install smolagents   # MCP: pip install 'smolagents[mcp]'"
      },
      "letme": {
        "capability": "https://letme.dev/agent.framework",
        "tool": "https://letme.dev/smolagents"
      },
      "sameCompany": [
        "hugging-face-inference-providers",
        "hugging-face-inference-endpoints",
        "carbon-x",
        "smollm3-3b"
      ],
      "area": "frameworks",
      "provenance": {
        "legalEntity": "Hugging Face, Inc.",
        "domain": "huggingface.co",
        "domainRegistered": "",
        "endpointOnVendorDomain": null,
        "terms": "https://huggingface.co/terms-of-service",
        "privacy": "https://huggingface.co/privacy",
        "statusPage": "",
        "changelog": "https://github.com/huggingface/smolagents/releases",
        "securityTxt": "unknown",
        "checked": "2026-11-06",
        "notes": [
          "SECURITY.md takes reports through GitHub private vulnerability reporting or security@huggingface.co, with no bounty.",
          "huggingface.co/robots.txt allows all crawlers.",
          "The terms and privacy links are Hugging Face's site-wide documents; the library itself collects nothing."
        ],
        "score": 62
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/smolagents.json",
      "live": {
        "slug": "smolagents",
        "versions": [
          {
            "registry": "github",
            "name": "huggingface/smolagents",
            "version": "v1.26.0",
            "released": "2026-05-29",
            "seenAt": "2026-11-23T00:52:01.80436305Z"
          },
          {
            "registry": "pypi",
            "name": "smolagents",
            "version": "1.26.0",
            "released": "2026-05-29",
            "seenAt": "2026-11-23T00:52:01.615739289Z"
          }
        ],
        "githubStars": 30489,
        "pypiWeekly": 159694,
        "securityTxt": {
          "url": "https://huggingface.co/.well-known/security.txt",
          "state": "valid",
          "expires": "2030-07-01T08:42:00.000Z",
          "checkedAt": "2026-11-22T16:40:41.072382114Z"
        },
        "llmsTxt": {
          "url": "https://huggingface.co/docs/smolagents/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-22T16:32:09.224550042Z"
        },
        "domain": {
          "domain": "huggingface.co",
          "checkedAt": "2026-11-22T15:51:13.410107379Z"
        },
        "github": {
          "repo": "huggingface/smolagents",
          "checkedAt": "2026-11-23T13:44:28.646702356Z",
          "stars": 30499,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-11-23T10:24:16Z",
          "openIssues": 455,
          "openPRs": 111,
          "issuesOpened90d": 185,
          "issuesClosed90d": 25,
          "prsMerged90d": 23,
          "ci": {
            "branch": "main",
            "runs": 50,
            "success": 50,
            "failure": 0,
            "other": 0,
            "latest": "success",
            "latestAt": "2026-11-23T10:24:41Z"
          },
          "replies": {
            "sampled": 25,
            "unanswered": 18,
            "medianDays": 1.3
          }
        },
        "updatedAt": "2026-11-23T13:44:28.646702356Z"
      }
    },
    "edges": [
      {
        "by": 61,
        "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": "v1.26.0 on 29 May 2026, 161 days before this check (10). No release in the 90 days to 6 November (0). 416 open issues and 1,045 open issues and pull requests on 6 November, with 144 issues opened in the 90 days to 3 November. Of the 50 newest, 26 had a comment and 1 was closed. Two 2026 CVE records say the vendor didn't respond to the reporter, and seven commits reached main from 8 August to 6 November (6). Python only, and the package is the current one (10). CI with actions pinned to commit SHAs and Dependabot for actions (8). 10+0+6+10+8 = 34."
        },
        "scores": {
          "a": 95,
          "b": 34
        }
      },
      {
        "by": 17,
        "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. Official PyPI package with Python 3.10 or newer (20). A public tests workflow runs pytest on Python 3.10 and 3.12 for pushes and pull requests; whether main passes wasn't read (15). 416 open issues and 1,045 open issues and pull requests on 6 November, with 144 issues opened in the 90 days to 3 November. Of the 50 newest, 26 had a comment and 1 was closed. Two 2026 CVE records say the vendor didn't respond to the reporter, and seven commits reached main from 8 August to 6 November (6). Release notes on GitHub tags but no changelog file, and the remote WasmExecutor was removed in a minor release (8). 1.0 since 31 December 2024 (15). 20+15+6+8+15 = 64."
        },
        "scores": {
          "a": 81,
          "b": 64
        }
      },
      {
        "by": 9,
        "category": "transparency",
        "leads": "haystack",
        "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": "Apache-2.0 (30). The library stores nothing itself; the default model sends prompts to Hugging Face's inference providers, which the docs show (20). Breaking removals such as WasmExecutor shipped in minor releases, without a written deprecation policy (5). No telemetry, though no page states it (12). 30+20+5+12 = 67."
        },
        "scores": {
          "a": 74,
          "b": 65
        }
      },
      {
        "by": 7,
        "category": "schema",
        "leads": "haystack",
        "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. A typed Python API with reference pages for agents, models, tools and executors (22). llms.txt and Markdown pages on huggingface.co (10). The docs say when to use CodeAgent or ToolCallingAgent and when a sandbox is needed (17). Tools declare typed inputs in a schema dictionary or from a decorated function (12). Many runnable examples; error classes exist but aren't catalogued (10). Versions tagged with release notes, no changelog file (10). 22+10+17+12+10+10 = 81."
        },
        "scores": {
          "a": 88,
          "b": 81
        }
      },
      {
        "by": 7,
        "category": "ergonomics",
        "leads": "haystack",
        "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. MCPClient loads an MCP server's tools in a few lines (20). max_steps, planning intervals and final_answer_checks bound a run (16). Errors from tools and code go back to the model as observations (14). No built-in retry, idempotency or resume beyond replaying memory (8). Few required parameters and many providers, Python only, and the default model needs a Hugging Face token (10). 20+16+14+8+10 = 68."
        },
        "scores": {
          "a": 75,
          "b": 68
        }
      }
    ],
    "facts": [
      {
        "a": "Agent framework",
        "b": "Agent framework",
        "name": "Kind"
      },
      {
        "a": "deepset",
        "b": "Hugging Face",
        "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": "Apache-2.0",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-11-10",
        "b": "2026-05-29",
        "name": "Last release"
      },
      {
        "a": "2025-07-24",
        "b": "2022-09-15",
        "name": "Terms last updated"
      },
      {
        "a": "2026-10-23",
        "b": "2023-03-28",
        "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": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "27k stars",
        "b": "30k stars, 171k PyPI/wk",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "Haystack scores 77.8 (BB) on agent readiness against smolagents's 62.5 (B), and leads in 5 of 7 scored categories.",
        "question": "Which is better for AI agents, Haystack or smolagents?"
      },
      {
        "answer": "Yes. Haystack is open source (Apache-2.0). smolagents is open source (Apache-2.0).",
        "question": "Are Haystack and smolagents open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 81 against 64",
          "Schema \u0026 documentation, 88 against 81",
          "Agent ergonomics, 75 against 68",
          "Maintenance \u0026 community, 95 against 34",
          "Transparency \u0026 trust, 74 against 65"
        ],
        "also": [
          "Agent-ready, a grade of BB or better"
        ],
        "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": null,
        "also": null,
        "goodFor": "Small Python projects and research that want code-writing agents with minimal abstraction.",
        "slug": "smolagents",
        "watchFor": "No release since 1.26.0 on 29 May 2026, and few commits to main since August"
      }
    ],
    "history": {
      "haystack": null,
      "smolagents": [
        {
          "causes": [
            "method"
          ],
          "date": "2026-11-13",
          "delta": 3.8,
          "from": 58.7,
          "fromGrade": "C",
          "to": 62.5,
          "toGrade": "B"
        }
      ]
    },
    "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-smolagents.json",
        "title": "AgentOS vs smolagents",
        "url": "https://www.anchorterminal.com/compare/agentos-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "Agno vs smolagents",
        "url": "https://www.anchorterminal.com/compare/agno-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "BoxLang AI vs smolagents",
        "url": "https://www.anchorterminal.com/compare/boxlang-ai-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "Claude Agent SDK vs smolagents",
        "url": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "CrewAI vs smolagents",
        "url": "https://www.anchorterminal.com/compare/crewai-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "Cursor Agent SDK vs smolagents",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "Docker Agent vs smolagents",
        "url": "https://www.anchorterminal.com/compare/docker-agent-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "DSPy vs smolagents",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "Genkit vs smolagents",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "Agent Development Kit (ADK) vs smolagents",
        "url": "https://www.anchorterminal.com/compare/google-adk-vs-smolagents"
      },
      {
        "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-smolagents.json",
        "title": "guilds.run vs smolagents",
        "url": "https://www.anchorterminal.com/compare/guilds-run-vs-smolagents"
      },
      {
        "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-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-smolagents.json",
        "title": "LangGraph vs smolagents",
        "url": "https://www.anchorterminal.com/compare/langgraph-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-smolagents.json",
        "title": "LlamaIndex Framework vs smolagents",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mastra-vs-smolagents.json",
        "title": "Mastra vs smolagents",
        "url": "https://www.anchorterminal.com/compare/mastra-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-smolagents.json",
        "title": "Microsoft Agent Framework vs smolagents",
        "url": "https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-agents-sdk-vs-smolagents.json",
        "title": "OpenAI Agents SDK vs smolagents",
        "url": "https://www.anchorterminal.com/compare/openai-agents-sdk-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/pydantic-ai-vs-smolagents.json",
        "title": "Pydantic AI vs smolagents",
        "url": "https://www.anchorterminal.com/compare/pydantic-ai-vs-smolagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/smolagents-vs-strands-agents.json",
        "title": "smolagents vs Strands Agents",
        "url": "https://www.anchorterminal.com/compare/smolagents-vs-strands-agents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/smolagents-vs-terse-durable-actors.json",
        "title": "smolagents vs Terse Durable Actors",
        "url": "https://www.anchorterminal.com/compare/smolagents-vs-terse-durable-actors"
      },
      {
        "json": "https://www.anchorterminal.com/compare/smolagents-vs-tradingagents.json",
        "title": "smolagents vs TradingAgents",
        "url": "https://www.anchorterminal.com/compare/smolagents-vs-tradingagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/smolagents-vs-vercel-ai-sdk.json",
        "title": "smolagents vs AI SDK",
        "url": "https://www.anchorterminal.com/compare/smolagents-vs-vercel-ai-sdk"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 17,
        "edge": "haystack",
        "haystack": 81,
        "key": "reliability",
        "name": "Reliability",
        "smolagents": 64,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 7,
        "edge": "haystack",
        "haystack": 88,
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "smolagents": 81,
        "weight": 13
      },
      {
        "by": 7,
        "edge": "haystack",
        "haystack": 75,
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "smolagents": 68,
        "weight": 13
      },
      {
        "by": 3,
        "edge": "smolagents",
        "haystack": 63,
        "key": "security",
        "name": "Security \u0026 auth",
        "smolagents": 66,
        "weight": 14
      },
      {
        "by": 0,
        "edge": "",
        "haystack": 90,
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "smolagents": 90,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 61,
        "edge": "haystack",
        "haystack": 95,
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "smolagents": 34,
        "weight": 7
      },
      {
        "by": 9,
        "edge": "haystack",
        "haystack": 74,
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "smolagents": 65,
        "weight": 7
      }
    ],
    "summary": "Haystack scores 77.8 (BB) on agent readiness against smolagents's 62.5 (B), and leads in 5 of 7 scored categories. 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.",
      "smolagents": "A compact Python library for code-writing and tool-calling agents, with MCP tools, any model provider and remote sandboxes through E2B, Docker, Modal or Blaxel. The newest release is 1.26.0 of 29 May 2026, a critical remote-executor RCE took about eight weeks to fix, and the local executor isn't a security boundary."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/haystack-vs-smolagents",
    "json": "https://www.anchorterminal.com/compare/haystack-vs-smolagents.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/haystack-vs-smolagents.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/haystack-vs-smolagents.min.md"
  },
  "markdown": "Haystack scores 77.8 (BB) on agent readiness against smolagents's 62.5 (B), and leads in 5 of 7 scored categories. Both do agent frameworks.\n\n- 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\n- smolagents: grade B, 62.5/100, rank #729 of 1654. Markdown https://www.anchorterminal.com/tools/smolagents.md · JSON https://www.anchorterminal.com/api/v1/tools/smolagents.json\n- Best agent frameworks and SDKs: https://www.anchorterminal.com/best/frameworks/index.md\n- All 253 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 64\n- Schema \u0026 documentation, 88 against 81\n- Agent ergonomics, 75 against 68\n- Maintenance \u0026 community, 95 against 34\n- Transparency \u0026 trust, 74 against 65\n\nAlso in its favour:\n- Agent-ready, a grade of BB or better\n\nWatch for: Anonymous telemetry to PostHog EU is on by default and includes the Agent's model and tool names\n\n### smolagents (B)\n\nGood for: Small Python projects and research that want code-writing agents with minimal abstraction.\n\nWatch for: No release since 1.26.0 on 29 May 2026, and few commits to main since August\n\n\n## Why the edge\n\n### Maintenance \u0026 community: Haystack +61\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- smolagents (34): v1.26.0 on 29 May 2026, 161 days before this check (10). No release in the 90 days to 6 November (0). 416 open issues and 1,045 open issues and pull requests on 6 November, with 144 issues opened in the 90 days to 3 November. Of the 50 newest, 26 had a comment and 1 was closed. Two 2026 CVE records say the vendor didn't respond to the reporter, and seven commits reached main from 8 August to 6 November (6). Python only, and the package is the current one (10). CI with actions pinned to commit SHAs and Dependabot for actions (8). 10+0+6+10+8 = 34.\n\n### Reliability: Haystack +17\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- smolagents (64): Local-package reading. Official PyPI package with Python 3.10 or newer (20). A public tests workflow runs pytest on Python 3.10 and 3.12 for pushes and pull requests; whether main passes wasn't read (15). 416 open issues and 1,045 open issues and pull requests on 6 November, with 144 issues opened in the 90 days to 3 November. Of the 50 newest, 26 had a comment and 1 was closed. Two 2026 CVE records say the vendor didn't respond to the reporter, and seven commits reached main from 8 August to 6 November (6). Release notes on GitHub tags but no changelog file, and the remote WasmExecutor was removed in a minor release (8). 1.0 since 31 December 2024 (15). 20+15+6+8+15 = 64.\n\n### Transparency \u0026 trust: Haystack +9\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- smolagents (65): Apache-2.0 (30). The library stores nothing itself; the default model sends prompts to Hugging Face's inference providers, which the docs show (20). Breaking removals such as WasmExecutor shipped in minor releases, without a written deprecation policy (5). No telemetry, though no page states it (12). 30+20+5+12 = 67.\n\n### Schema \u0026 documentation: Haystack +7\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- smolagents (81): Framework reading. A typed Python API with reference pages for agents, models, tools and executors (22). llms.txt and Markdown pages on huggingface.co (10). The docs say when to use CodeAgent or ToolCallingAgent and when a sandbox is needed (17). Tools declare typed inputs in a schema dictionary or from a decorated function (12). Many runnable examples; error classes exist but aren't catalogued (10). Versions tagged with release notes, no changelog file (10). 22+10+17+12+10+10 = 81.\n\n### Agent ergonomics: Haystack +7\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- smolagents (68): Framework reading. MCPClient loads an MCP server's tools in a few lines (20). max_steps, planning intervals and final_answer_checks bound a run (16). Errors from tools and code go back to the model as observations (14). No built-in retry, idempotency or resume beyond replaying memory (8). Few required parameters and many providers, Python only, and the default model needs a Hugging Face token (10). 20+16+14+8+10 = 68.\n\n## Score by category\n\n| Category | Weight | Haystack | smolagents | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 81 | 64 | Haystack +17 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 88 | 81 | Haystack +7 |\n| Agent ergonomics | 13% | 75 | 68 | Haystack +7 |\n| Security \u0026 auth | 14% | 63 | 66 | smolagents +3 |\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 | 34 | Haystack +61 |\n| Transparency \u0026 trust | 7% | 74 | 65 | Haystack +9 |\n| Negative events | ≤15 | -2 | -6 | |\n| **Total** | | **77.8 · BB** | **62.5 · B** | |\n\n## Facts side by side\n\n| Fact | Haystack | smolagents |\n| --- | --- | --- |\n| Kind | Agent framework | Agent framework |\n| Vendor | deepset | Hugging Face |\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 | Apache-2.0 |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-11-10 | 2026-05-29 |\n| Terms last updated | 2025-07-24 | 2022-09-15 |\n| Privacy policy last updated | 2026-10-23 | 2023-03-28 |\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 | not found in the text |\n| Terms or service can change without notice | not found in the text | yes |\n| Arbitration or class-action waiver | yes | not found in the text |\n| Popularity | 27k stars | 30k stars, 171k PyPI/wk |\n\n## How the scores have moved\n\n### Haystack\n\nNo score change since it was listed.\n\n### smolagents\n\n- +3.8 on 13 November 2026 (C to B): checklist\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**smolagents.** A compact Python library for code-writing and tool-calling agents, with MCP tools, any model provider and remote sandboxes through E2B, Docker, Modal or Blaxel. The newest release is 1.26.0 of 29 May 2026, a critical remote-executor RCE took about eight weeks to fix, and the local executor isn't a security boundary.\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### smolagents\n\n1. Run CodeAgent with `executor_type` set to e2b, docker, modal or blaxel whenever the model or its inputs aren't trusted\n2. Use smolagents 1.24.0 or later to get the remote-executor deserialisation fix\n3. Set max_steps and final_answer_checks so a run stops on its own\n4. Pass structured_output explicitly to MCPClient to avoid the default-change warning\n5. Pin the version, since minor releases have removed APIs\n\n## Questions\n\n### Which is better for AI agents, Haystack or smolagents?\n\nHaystack scores 77.8 (BB) on agent readiness against smolagents's 62.5 (B), and leads in 5 of 7 scored categories.\n\n### Are Haystack and smolagents open source?\n\nYes. Haystack is open source (Apache-2.0). smolagents is open source (Apache-2.0).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/haystack-vs-smolagents.json, and with the fewest tokens: https://www.anchorterminal.com/compare/haystack-vs-smolagents.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"haystack\", \"b\": \"smolagents\"}`. From a terminal: `anchor compare haystack smolagents`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/haystack.json and https://www.anchorterminal.com/api/v1/tools/smolagents.json\n\n## Other comparisons with Haystack or smolagents\n\n- [AgentOS vs Haystack](https://www.anchorterminal.com/compare/agentos-vs-haystack.md)\n- [AgentOS vs smolagents](https://www.anchorterminal.com/compare/agentos-vs-smolagents.md)\n- [Agno vs Haystack](https://www.anchorterminal.com/compare/agno-vs-haystack.md)\n- [Agno vs smolagents](https://www.anchorterminal.com/compare/agno-vs-smolagents.md)\n- [BoxLang AI vs Haystack](https://www.anchorterminal.com/compare/boxlang-ai-vs-haystack.md)\n- [BoxLang AI vs smolagents](https://www.anchorterminal.com/compare/boxlang-ai-vs-smolagents.md)\n- [Claude Agent SDK vs Haystack](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-haystack.md)\n- [Claude Agent SDK vs smolagents](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-smolagents.md)\n- [CrewAI vs Haystack](https://www.anchorterminal.com/compare/crewai-vs-haystack.md)\n- [CrewAI vs smolagents](https://www.anchorterminal.com/compare/crewai-vs-smolagents.md)\n- [Cursor Agent SDK vs Haystack](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-haystack.md)\n- [Cursor Agent SDK vs smolagents](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-smolagents.md)\n- [Docker Agent vs Haystack](https://www.anchorterminal.com/compare/docker-agent-vs-haystack.md)\n- [Docker Agent vs smolagents](https://www.anchorterminal.com/compare/docker-agent-vs-smolagents.md)\n- [DSPy vs Haystack](https://www.anchorterminal.com/compare/dspy-vs-haystack.md)\n- [DSPy vs smolagents](https://www.anchorterminal.com/compare/dspy-vs-smolagents.md)\n- [Genkit vs Haystack](https://www.anchorterminal.com/compare/genkit-vs-haystack.md)\n- [Genkit vs smolagents](https://www.anchorterminal.com/compare/genkit-vs-smolagents.md)\n- [Agent Development Kit (ADK) vs Haystack](https://www.anchorterminal.com/compare/google-adk-vs-haystack.md)\n- [Agent Development Kit (ADK) vs smolagents](https://www.anchorterminal.com/compare/google-adk-vs-smolagents.md)\n- [guilds.run vs Haystack](https://www.anchorterminal.com/compare/guilds-run-vs-haystack.md)\n- [guilds.run vs smolagents](https://www.anchorterminal.com/compare/guilds-run-vs-smolagents.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 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 smolagents](https://www.anchorterminal.com/compare/langgraph-vs-smolagents.md)\n- [LlamaIndex Framework vs smolagents](https://www.anchorterminal.com/compare/llamaindex-vs-smolagents.md)\n- [Mastra vs smolagents](https://www.anchorterminal.com/compare/mastra-vs-smolagents.md)\n- [Microsoft Agent Framework vs smolagents](https://www.anchorterminal.com/compare/microsoft-agent-framework-vs-smolagents.md)\n- [OpenAI Agents SDK vs smolagents](https://www.anchorterminal.com/compare/openai-agents-sdk-vs-smolagents.md)\n- [Pydantic AI vs smolagents](https://www.anchorterminal.com/compare/pydantic-ai-vs-smolagents.md)\n- [smolagents vs Strands Agents](https://www.anchorterminal.com/compare/smolagents-vs-strands-agents.md)\n- [smolagents vs Terse Durable Actors](https://www.anchorterminal.com/compare/smolagents-vs-terse-durable-actors.md)\n- [smolagents vs TradingAgents](https://www.anchorterminal.com/compare/smolagents-vs-tradingagents.md)\n- [smolagents vs AI SDK](https://www.anchorterminal.com/compare/smolagents-vs-vercel-ai-sdk.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-23",
    "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 smolagents",
        "url": ""
      }
    ],
    "description": "Haystack scores 77.8 (BB) to smolagents's 62.5 (B) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Haystack BB 77.8",
      "smolagents B 62.5",
      "scores"
    ],
    "h1": "Haystack vs smolagents",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/haystack-vs-smolagents",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Haystack vs smolagents for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-23",
    "url": "https://www.anchorterminal.com/compare/haystack-vs-smolagents"
  },
  "tokens": {
    "markdown": 4100,
    "slim": 680
  },
  "version": 1
}
