{
  "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 LlamaIndex Framework's 73.8 (BB), and leads in 5 of 7 scored categories. LlamaIndex Framework leads on security \u0026 auth.",
    "b": {
      "slug": "llamaindex",
      "name": "LlamaIndex Framework",
      "vendor": "LlamaIndex",
      "vendorUrl": "https://developers.llamaindex.ai/python/framework/",
      "company": "llamaindex.ai",
      "kind": "framework",
      "category": "frameworks",
      "summary": "The LlamaIndex Framework is LlamaIndex's open-source Python toolkit for retrieval and agents, with FunctionAgent, ReActAgent and CodeActAgent, multi-agent AgentWorkflow, event-driven Workflows, MCP tools and hundreds of integration packages.",
      "url": "https://www.anchorterminal.com/tools/llamaindex",
      "markdownUrl": "https://www.anchorterminal.com/tools/llamaindex.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/llamaindex.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/llamaindex.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/llamaindex.json",
      "dns": "llamaindex.grade.anchorterminal.com",
      "repo": "https://github.com/run-llama/llama_index",
      "license": "MIT",
      "transports": [],
      "packages": [
        {
          "registry": "pypi",
          "name": "llama-index"
        },
        {
          "registry": "pypi",
          "name": "llama-index-core"
        },
        {
          "registry": "pypi",
          "name": "llama-index-workflows"
        },
        {
          "registry": "pypi",
          "name": "llama-index-tools-mcp"
        }
      ],
      "auth": "none",
      "authNotes": "A library with no credentials of its own. The default LLM and embeddings are OpenAI's and read an OpenAI key; integrations take their own keys.",
      "pricing": "free",
      "pricingNotes": "Free and open source under MIT. You pay for model calls. LlamaParse and LlamaCloud are separate paid services with their own Anchor Terminal listing.",
      "priceSummary": "Free · OSS",
      "where": "library",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the framework docs or the repository (checked 2026-11-06).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 52833,
        "npmWeekly": null,
        "pypiWeekly": 1260039,
        "asOf": "2026-11-06"
      },
      "docsUrl": "https://developers.llamaindex.ai/python/framework/",
      "llmsTxt": "https://developers.llamaindex.ai/llms.txt",
      "capabilities": [
        "agent.framework",
        "agent.multi-agent",
        "agent.durable",
        "agent.mcp-client"
      ],
      "tags": [
        "framework",
        "python",
        "open-source",
        "llms-txt",
        "mcp",
        "rag",
        "workflows"
      ],
      "lastRelease": "2026-09-21",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 73.8,
        "grade": "BB",
        "agentReady": true,
        "rank": 179,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 12,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 73,
          "maintenance": 69,
          "payments": 90,
          "reliability": 70,
          "schema": 85,
          "security": 74,
          "transparency": 67
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-06"
        },
        "negative": -2,
        "negativeNotes": [
          "2025-11 to 2026-11. Advisories for llama-index-core first published in the last 12 months are GHSA-488g-hw5f-x29p (uncontrolled resource consumption, 2 February 2026, moderate, fixed in 0.12.41) and the PYSEC re-publications in 2026 of 2025 path-traversal, denial-of-service and temporary-file issues fixed by 0.13.0. Fixed and documented, so 2 points. https://osv.dev/vulnerability/GHSA-488g-hw5f-x29p"
        ],
        "verdict": "An MIT Python framework for retrieval and agents, with three agent types, multi-agent AgentWorkflow, resumable event-driven Workflows, MCP tools and a huntr bug bounty, and no telemetry found. Core is still 0.14 with breaking minors, OpenAI is the silent default, and approval and injection handling are left to the application.",
        "bestFor": "Python teams building retrieval-heavy agents over their own data, with many connectors.",
        "strengths": [
          "FunctionAgent, ReActAgent, CodeActAgent and multi-agent AgentWorkflow over one Workflows engine",
          "Workflow context serialises and resumes, with a DBOS package for durable runs",
          "Hundreds of integration packages for models, vector stores and data loaders",
          "No telemetry found in llama-index-core",
          "huntr bug bounty and public advisories with fixed versions"
        ],
        "weaknesses": [
          "Core is 0.14.x, and minor versions such as 0.13 and 0.14 carried breaking changes",
          "OpenAI is the default LLM and embedding provider unless Settings is changed",
          "No per-tool approval primitive; the threat model leaves input validation to the application",
          "Several 2025 path-traversal and denial-of-service advisories in core and readers"
        ],
        "agentNotes": [
          "Set Settings.llm and Settings.embed_model explicitly so calls don't go to OpenAI by default",
          "Install llama-index-tools-mcp for MCP tools and pass only the allowed tools the task needs",
          "Use Workflow human-in-the-loop events before tools that write or send",
          "Pin llama-index-core to a minor version, since minors have broken APIs",
          "Upgrade llama-index-core to 0.13.0 or later to clear the 2025 advisories"
        ],
        "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": 73.8
          }
        ],
        "editorialScores": {
          "ergonomics": 73,
          "maintenance": 69,
          "payments": 90,
          "reliability": 70,
          "schema": 85,
          "security": 74,
          "transparency": 72
        },
        "provenanceScore": 61,
        "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 llama-index   # MCP tools: pip install llama-index-tools-mcp"
      },
      "letme": {
        "capability": "https://letme.dev/agent.framework",
        "tool": "https://letme.dev/llamaindex"
      },
      "sameCompany": [
        "llamaparse",
        "opendocrouter"
      ],
      "area": "frameworks",
      "provenance": {
        "legalEntity": "LlamaIndex, Inc.",
        "domain": "llamaindex.ai",
        "domainRegistered": "",
        "endpointOnVendorDomain": null,
        "terms": "",
        "privacy": "https://www.llamaindex.ai/privacy-policy",
        "statusPage": "",
        "changelog": "https://github.com/run-llama/llama_index/blob/main/CHANGELOG.md",
        "securityTxt": "unknown",
        "checked": "2026-11-06",
        "notes": [
          "The framework is MIT-licensed; the company facts follow the LlamaParse listing.",
          "developers.llamaindex.ai/robots.txt allows all crawlers.",
          "The privacy policy link is the company's; the library collects nothing itself. Neither the terms nor the privacy policy was re-read for this listing."
        ],
        "score": 61
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/llamaindex.json",
      "live": {
        "slug": "llamaindex",
        "versions": [
          {
            "registry": "github",
            "name": "run-llama/llama_index",
            "version": "v0.14.26",
            "released": "2026-11-13",
            "seenAt": "2026-11-23T00:24:19.107764459Z"
          },
          {
            "registry": "pypi",
            "name": "llama-index",
            "version": "0.14.26",
            "released": "2026-11-13",
            "seenAt": "2026-11-23T00:24:13.009704031Z"
          },
          {
            "registry": "pypi",
            "name": "llama-index-core",
            "version": "0.14.26",
            "released": "2026-11-13",
            "seenAt": "2026-11-23T00:24:13.248423526Z"
          },
          {
            "registry": "pypi",
            "name": "llama-index-tools-mcp",
            "version": "0.7.0",
            "released": "2026-11-14",
            "seenAt": "2026-11-23T00:24:17.096360368Z"
          },
          {
            "registry": "pypi",
            "name": "llama-index-workflows",
            "version": "2.26.1",
            "released": "2026-10-21",
            "seenAt": "2026-11-23T00:24:15.151010797Z"
          }
        ],
        "githubStars": 52985,
        "pypiWeekly": 404446,
        "securityTxt": {
          "url": "https://llamaindex.ai/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-11-22T16:41:55.86428735Z"
        },
        "llmsTxt": {
          "url": "https://developers.llamaindex.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-22T16:31:03.656033392Z"
        },
        "domain": {
          "domain": "llamaindex.ai",
          "registered": "2023-05-12",
          "source": "https://rdap.identitydigital.services/rdap/domain/llamaindex.ai",
          "checkedAt": "2026-11-22T15:51:36.806913595Z"
        },
        "pages": [
          {
            "url": "https://raw.githubusercontent.com/run-llama/llama_index/main/CHANGELOG.md",
            "kind": "changelog",
            "status": 304,
            "checkedAt": "2026-11-23T00:42:11.352022414Z",
            "changedAt": "2026-11-14T19:16:54.289385315Z",
            "fingerprint": "6800d798fd93"
          },
          {
            "url": "https://www.llamaindex.ai/privacy-policy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-23T00:49:36.669718097Z",
            "changedAt": "2026-11-12T18:01:10.095218178Z",
            "fingerprint": "77faa306867b"
          }
        ],
        "github": {
          "repo": "run-llama/llama_index",
          "checkedAt": "2026-11-23T13:50:08.317404416Z",
          "stars": 52987,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-11-20T00:46:38Z",
          "openIssues": 434,
          "openPRs": 1104,
          "issuesOpened90d": 287,
          "issuesClosed90d": 36,
          "prsMerged90d": 70,
          "ci": {
            "branch": "main",
            "runs": 50,
            "success": 44,
            "failure": 6,
            "other": 0,
            "latest": "success",
            "latestAt": "2026-11-14T02:10:58Z"
          },
          "replies": {
            "sampled": 25,
            "unanswered": 25
          }
        },
        "updatedAt": "2026-11-23T13:50:08.317404416Z"
      }
    },
    "edges": [
      {
        "by": 26,
        "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": "llama-index-core 0.14.25 on 21 September 2026, 46 days before this check (20). Two core changelog entries in the 90 days (19 August and 21 September), with integration packages and Workflows (2.24.1 to 2.26.1) publishing in between, so partial (12). 379 open issues and 1,291 open issues and pull requests on 6 November, with 241 issues opened in the 90 days to 3 November. Of the 50 newest, 28 had a comment and 3 were closed; a stale bot and an issue classifier run on the repository (12). Core, Workflows and integrations are current (15). CI and CodeQL passing on main and a stale-package policy that moves unmaintained integrations out of main (10). 20+12+12+15+10 = 69."
        },
        "scores": {
          "a": 95,
          "b": 69
        }
      },
      {
        "by": 11,
        "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 packages with Python 3.10 to below 4.0 (20). Public unit-test, type-check, lint, coverage and CodeQL workflows, with the type-check, lint and CodeQL runs on main passing on 3 November (25). 379 open issues and 1,291 open issues and pull requests on 6 November, with 241 issues opened in the 90 days to 3 November. Of the 50 newest, 28 had a comment and 3 were closed; a stale bot and an issue classifier run on the repository (12). A dated, generated changelog per package, but core is 0.x and minors such as 0.13 and 0.14 carried breaking changes (8). Core isn't 1.0; Workflows is at 2.x, so partial (5). 20+25+12+8+5 = 70."
        },
        "scores": {
          "a": 81,
          "b": 70
        }
      },
      {
        "by": 11,
        "category": "security",
        "leads": "llamaindex",
        "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, approvals, guardrails, sandboxing). No telemetry found in llama-index-core (25). Human-in-the-loop events in Workflows and agents can wait for a person, but there's no per-tool approval primitive and CodeActAgent's executor is the developer's to supply (12). The threat model puts input validation on the application, with no prompt-injection guidance in the agent pages (5). Instrumentation events and callback handlers for tracing (14). A huntr bug bounty, GitHub private reporting and public advisories with fixed versions (18). 25+12+5+14+18 = 74."
        },
        "scores": {
          "a": 63,
          "b": 74
        }
      },
      {
        "by": 7,
        "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": "MIT (30). The library stores nothing itself; OpenAI is the default provider unless changed, which the docs show (20). A stale-package policy and removals noted in the changelog, such as deprecated IPEX integrations removed in 0.14.25, without dated notice (10). No telemetry, though no page states it (12). 30+20+10+12 = 72."
        },
        "scores": {
          "a": 74,
          "b": 67
        }
      }
    ],
    "facts": [
      {
        "a": "Agent framework",
        "b": "Agent framework",
        "name": "Kind"
      },
      {
        "a": "deepset",
        "b": "LlamaIndex",
        "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": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-11-10",
        "b": "2026-09-21",
        "name": "Last release"
      },
      {
        "a": "2025-07-24",
        "b": "no document linked",
        "name": "Terms last updated"
      },
      {
        "a": "2026-10-23",
        "b": "2026-08-24",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "not read yet",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "not read yet",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "not read yet",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not read yet",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "yes",
        "b": "not read yet",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "27k stars",
        "b": "53k stars, 1.3M PyPI/wk",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "Haystack scores 77.8 (BB) on agent readiness against LlamaIndex Framework's 73.8 (BB), and leads in 5 of 7 scored categories. LlamaIndex Framework leads on security \u0026 auth.",
        "question": "Which is better for AI agents, Haystack or LlamaIndex Framework?"
      },
      {
        "answer": "Yes. Haystack is open source (Apache-2.0). LlamaIndex Framework is open source (MIT).",
        "question": "Are Haystack and LlamaIndex Framework open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 81 against 70",
          "Maintenance \u0026 community, 95 against 69",
          "Transparency \u0026 trust, 74 against 67"
        ],
        "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": [
          "Security \u0026 auth, 74 against 63"
        ],
        "also": null,
        "goodFor": "Python teams building retrieval-heavy agents over their own data, with many connectors.",
        "slug": "llamaindex",
        "watchFor": "Core is 0.14.x, and minor versions such as 0.13 and 0.14 carried breaking changes"
      }
    ],
    "history": {
      "haystack": null,
      "llamaindex": [
        {
          "causes": [
            "method"
          ],
          "date": "2026-11-13",
          "delta": 3.8,
          "from": 70,
          "fromGrade": "BB",
          "to": 73.8,
          "toGrade": "BB"
        }
      ]
    },
    "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-llamaindex.json",
        "title": "AgentOS vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/agentos-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "Agno vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/agno-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "BoxLang AI vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/boxlang-ai-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "Claude Agent SDK vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/claude-agent-sdk-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "CrewAI vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/crewai-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "Cursor Agent SDK vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "Docker Agent vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/docker-agent-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "DSPy vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/dspy-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "Genkit vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/genkit-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "Agent Development Kit (ADK) vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/google-adk-vs-llamaindex"
      },
      {
        "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-llamaindex.json",
        "title": "guilds.run vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/guilds-run-vs-llamaindex"
      },
      {
        "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-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-llamaindex.json",
        "title": "LangGraph vs LlamaIndex Framework",
        "url": "https://www.anchorterminal.com/compare/langgraph-vs-llamaindex"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-mastra.json",
        "title": "LlamaIndex Framework vs Mastra",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-mastra"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-microsoft-agent-framework.json",
        "title": "LlamaIndex Framework vs Microsoft Agent Framework",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-microsoft-agent-framework"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-openai-agents-sdk.json",
        "title": "LlamaIndex Framework vs OpenAI Agents SDK",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-openai-agents-sdk"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-pydantic-ai.json",
        "title": "LlamaIndex Framework vs Pydantic AI",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-pydantic-ai"
      },
      {
        "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/llamaindex-vs-strands-agents.json",
        "title": "LlamaIndex Framework vs Strands Agents",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-strands-agents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-terse-durable-actors.json",
        "title": "LlamaIndex Framework vs Terse Durable Actors",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-terse-durable-actors"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-tradingagents.json",
        "title": "LlamaIndex Framework vs TradingAgents",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-tradingagents"
      },
      {
        "json": "https://www.anchorterminal.com/compare/llamaindex-vs-vercel-ai-sdk.json",
        "title": "LlamaIndex Framework vs AI SDK",
        "url": "https://www.anchorterminal.com/compare/llamaindex-vs-vercel-ai-sdk"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 11,
        "edge": "haystack",
        "haystack": 81,
        "key": "reliability",
        "llamaindex": 70,
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 3,
        "edge": "haystack",
        "haystack": 88,
        "key": "schema",
        "llamaindex": 85,
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 2,
        "edge": "haystack",
        "haystack": 75,
        "key": "ergonomics",
        "llamaindex": 73,
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 11,
        "edge": "llamaindex",
        "haystack": 63,
        "key": "security",
        "llamaindex": 74,
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 0,
        "edge": "",
        "haystack": 90,
        "key": "payments",
        "llamaindex": 90,
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 26,
        "edge": "haystack",
        "haystack": 95,
        "key": "maintenance",
        "llamaindex": 69,
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 7,
        "edge": "haystack",
        "haystack": 74,
        "key": "transparency",
        "llamaindex": 67,
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Haystack scores 77.8 (BB) on agent readiness against LlamaIndex Framework's 73.8 (BB), and leads in 5 of 7 scored categories. LlamaIndex Framework leads on security \u0026 auth. 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.",
      "llamaindex": "An MIT Python framework for retrieval and agents, with three agent types, multi-agent AgentWorkflow, resumable event-driven Workflows, MCP tools and a huntr bug bounty, and no telemetry found. Core is still 0.14 with breaking minors, OpenAI is the silent default, and approval and injection handling are left to the application."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/haystack-vs-llamaindex",
    "json": "https://www.anchorterminal.com/compare/haystack-vs-llamaindex.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/haystack-vs-llamaindex.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/haystack-vs-llamaindex.min.md"
  },
  "markdown": "Haystack scores 77.8 (BB) on agent readiness against LlamaIndex Framework's 73.8 (BB), and leads in 5 of 7 scored categories. LlamaIndex Framework leads on security \u0026 auth. 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- LlamaIndex Framework: grade BB, 73.8/100, rank #179 of 1654. Markdown https://www.anchorterminal.com/tools/llamaindex.md · JSON https://www.anchorterminal.com/api/v1/tools/llamaindex.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 70\n- Maintenance \u0026 community, 95 against 69\n- Transparency \u0026 trust, 74 against 67\n\nWatch for: Anonymous telemetry to PostHog EU is on by default and includes the Agent's model and tool names\n\n### LlamaIndex Framework (BB)\n\nGood for: Python teams building retrieval-heavy agents over their own data, with many connectors.\n\nAhead on:\n- Security \u0026 auth, 74 against 63\n\nWatch for: Core is 0.14.x, and minor versions such as 0.13 and 0.14 carried breaking changes\n\n\n## Why the edge\n\n### Maintenance \u0026 community: Haystack +26\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- LlamaIndex Framework (69): llama-index-core 0.14.25 on 21 September 2026, 46 days before this check (20). Two core changelog entries in the 90 days (19 August and 21 September), with integration packages and Workflows (2.24.1 to 2.26.1) publishing in between, so partial (12). 379 open issues and 1,291 open issues and pull requests on 6 November, with 241 issues opened in the 90 days to 3 November. Of the 50 newest, 28 had a comment and 3 were closed; a stale bot and an issue classifier run on the repository (12). Core, Workflows and integrations are current (15). CI and CodeQL passing on main and a stale-package policy that moves unmaintained integrations out of main (10). 20+12+12+15+10 = 69.\n\n### Reliability: Haystack +11\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- LlamaIndex Framework (70): Local-package reading. Official PyPI packages with Python 3.10 to below 4.0 (20). Public unit-test, type-check, lint, coverage and CodeQL workflows, with the type-check, lint and CodeQL runs on main passing on 3 November (25). 379 open issues and 1,291 open issues and pull requests on 6 November, with 241 issues opened in the 90 days to 3 November. Of the 50 newest, 28 had a comment and 3 were closed; a stale bot and an issue classifier run on the repository (12). A dated, generated changelog per package, but core is 0.x and minors such as 0.13 and 0.14 carried breaking changes (8). Core isn't 1.0; Workflows is at 2.x, so partial (5). 20+25+12+8+5 = 70.\n\n### Security \u0026 auth: LlamaIndex Framework +11\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- LlamaIndex Framework (74): Framework reading (telemetry defaults, approvals, guardrails, sandboxing). No telemetry found in llama-index-core (25). Human-in-the-loop events in Workflows and agents can wait for a person, but there's no per-tool approval primitive and CodeActAgent's executor is the developer's to supply (12). The threat model puts input validation on the application, with no prompt-injection guidance in the agent pages (5). Instrumentation events and callback handlers for tracing (14). A huntr bug bounty, GitHub private reporting and public advisories with fixed versions (18). 25+12+5+14+18 = 74.\n\n### Transparency \u0026 trust: Haystack +7\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- LlamaIndex Framework (67): MIT (30). The library stores nothing itself; OpenAI is the default provider unless changed, which the docs show (20). A stale-package policy and removals noted in the changelog, such as deprecated IPEX integrations removed in 0.14.25, without dated notice (10). No telemetry, though no page states it (12). 30+20+10+12 = 72.\n\n## Score by category\n\n| Category | Weight | Haystack | LlamaIndex Framework | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 81 | 70 | Haystack +11 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 88 | 85 | Haystack +3 |\n| Agent ergonomics | 13% | 75 | 73 | Haystack +2 |\n| Security \u0026 auth | 14% | 63 | 74 | LlamaIndex Framework +11 |\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 | 69 | Haystack +26 |\n| Transparency \u0026 trust | 7% | 74 | 67 | Haystack +7 |\n| Negative events | ≤15 | -2 | -2 | |\n| **Total** | | **77.8 · BB** | **73.8 · BB** | |\n\n## Facts side by side\n\n| Fact | Haystack | LlamaIndex Framework |\n| --- | --- | --- |\n| Kind | Agent framework | Agent framework |\n| Vendor | deepset | LlamaIndex |\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 | no |\n| llms.txt | yes | yes |\n| Last release | 2026-11-10 | 2026-09-21 |\n| Terms last updated | 2025-07-24 | no document linked |\n| Privacy policy last updated | 2026-10-23 | 2026-08-24 |\n| Customer content may train models | not found in the text | not read yet |\n| Terms restrict automated access | not found in the text | not read yet |\n| Terms restrict benchmarking | yes | not read yet |\n| Terms or service can change without notice | not found in the text | not read yet |\n| Arbitration or class-action waiver | yes | not read yet |\n| Popularity | 27k stars | 53k stars, 1.3M PyPI/wk |\n\n## How the scores have moved\n\n### Haystack\n\nNo score change since it was listed.\n\n### LlamaIndex Framework\n\n- +3.8 on 13 November 2026: 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**LlamaIndex Framework.** An MIT Python framework for retrieval and agents, with three agent types, multi-agent AgentWorkflow, resumable event-driven Workflows, MCP tools and a huntr bug bounty, and no telemetry found. Core is still 0.14 with breaking minors, OpenAI is the silent default, and approval and injection handling are left to the application.\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### LlamaIndex Framework\n\n1. Set Settings.llm and Settings.embed_model explicitly so calls don't go to OpenAI by default\n2. Install llama-index-tools-mcp for MCP tools and pass only the allowed tools the task needs\n3. Use Workflow human-in-the-loop events before tools that write or send\n4. Pin llama-index-core to a minor version, since minors have broken APIs\n5. Upgrade llama-index-core to 0.13.0 or later to clear the 2025 advisories\n\n## Questions\n\n### Which is better for AI agents, Haystack or LlamaIndex Framework?\n\nHaystack scores 77.8 (BB) on agent readiness against LlamaIndex Framework's 73.8 (BB), and leads in 5 of 7 scored categories. LlamaIndex Framework leads on security \u0026 auth.\n\n### Are Haystack and LlamaIndex Framework open source?\n\nYes. Haystack is open source (Apache-2.0). LlamaIndex Framework is open source (MIT).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/haystack-vs-llamaindex.json, and with the fewest tokens: https://www.anchorterminal.com/compare/haystack-vs-llamaindex.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"haystack\", \"b\": \"llamaindex\"}`. From a terminal: `anchor compare haystack llamaindex`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/haystack.json and https://www.anchorterminal.com/api/v1/tools/llamaindex.json\n\n## Other comparisons with Haystack or LlamaIndex Framework\n\n- [AgentOS vs Haystack](https://www.anchorterminal.com/compare/agentos-vs-haystack.md)\n- [AgentOS vs LlamaIndex Framework](https://www.anchorterminal.com/compare/agentos-vs-llamaindex.md)\n- [Agno vs Haystack](https://www.anchorterminal.com/compare/agno-vs-haystack.md)\n- [Agno vs LlamaIndex Framework](https://www.anchorterminal.com/compare/agno-vs-llamaindex.md)\n- [BoxLang AI vs Haystack](https://www.anchorterminal.com/compare/boxlang-ai-vs-haystack.md)\n- [BoxLang AI vs LlamaIndex Framework](https://www.anchorterminal.com/compare/boxlang-ai-vs-llamaindex.md)\n- [Claude Agent SDK vs Haystack](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-haystack.md)\n- [Claude Agent SDK vs LlamaIndex Framework](https://www.anchorterminal.com/compare/claude-agent-sdk-vs-llamaindex.md)\n- [CrewAI vs Haystack](https://www.anchorterminal.com/compare/crewai-vs-haystack.md)\n- [CrewAI vs LlamaIndex Framework](https://www.anchorterminal.com/compare/crewai-vs-llamaindex.md)\n- [Cursor Agent SDK vs Haystack](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-haystack.md)\n- [Cursor Agent SDK vs LlamaIndex Framework](https://www.anchorterminal.com/compare/cursor-agent-sdk-vs-llamaindex.md)\n- [Docker Agent vs Haystack](https://www.anchorterminal.com/compare/docker-agent-vs-haystack.md)\n- [Docker Agent vs LlamaIndex Framework](https://www.anchorterminal.com/compare/docker-agent-vs-llamaindex.md)\n- [DSPy vs Haystack](https://www.anchorterminal.com/compare/dspy-vs-haystack.md)\n- [DSPy vs LlamaIndex Framework](https://www.anchorterminal.com/compare/dspy-vs-llamaindex.md)\n- [Genkit vs Haystack](https://www.anchorterminal.com/compare/genkit-vs-haystack.md)\n- [Genkit vs LlamaIndex Framework](https://www.anchorterminal.com/compare/genkit-vs-llamaindex.md)\n- [Agent Development Kit (ADK) vs Haystack](https://www.anchorterminal.com/compare/google-adk-vs-haystack.md)\n- [Agent Development Kit (ADK) vs LlamaIndex Framework](https://www.anchorterminal.com/compare/google-adk-vs-llamaindex.md)\n- [guilds.run vs Haystack](https://www.anchorterminal.com/compare/guilds-run-vs-haystack.md)\n- [guilds.run vs LlamaIndex Framework](https://www.anchorterminal.com/compare/guilds-run-vs-llamaindex.md)\n- [Haystack vs LangGraph](https://www.anchorterminal.com/compare/haystack-vs-langgraph.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 LlamaIndex Framework](https://www.anchorterminal.com/compare/langgraph-vs-llamaindex.md)\n- [LlamaIndex Framework vs Mastra](https://www.anchorterminal.com/compare/llamaindex-vs-mastra.md)\n- [LlamaIndex Framework vs Microsoft Agent Framework](https://www.anchorterminal.com/compare/llamaindex-vs-microsoft-agent-framework.md)\n- [LlamaIndex Framework vs OpenAI Agents SDK](https://www.anchorterminal.com/compare/llamaindex-vs-openai-agents-sdk.md)\n- [LlamaIndex Framework vs Pydantic AI](https://www.anchorterminal.com/compare/llamaindex-vs-pydantic-ai.md)\n- [LlamaIndex Framework vs smolagents](https://www.anchorterminal.com/compare/llamaindex-vs-smolagents.md)\n- [LlamaIndex Framework vs Strands Agents](https://www.anchorterminal.com/compare/llamaindex-vs-strands-agents.md)\n- [LlamaIndex Framework vs Terse Durable Actors](https://www.anchorterminal.com/compare/llamaindex-vs-terse-durable-actors.md)\n- [LlamaIndex Framework vs TradingAgents](https://www.anchorterminal.com/compare/llamaindex-vs-tradingagents.md)\n- [LlamaIndex Framework vs AI SDK](https://www.anchorterminal.com/compare/llamaindex-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 LlamaIndex Framework",
        "url": ""
      }
    ],
    "description": "Haystack scores 77.8 (BB) to LlamaIndex Framework's 73.8 (BB) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Haystack BB 77.8",
      "LlamaIndex Framework BB 73.8",
      "scores"
    ],
    "h1": "Haystack vs LlamaIndex Framework",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/haystack-vs-llamaindex",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Haystack vs LlamaIndex Framework for AI agents (2026)",
    "toc": null,
    "updated": "2026-11-23",
    "url": "https://www.anchorterminal.com/compare/haystack-vs-llamaindex"
  },
  "tokens": {
    "markdown": 4000,
    "slim": 780
  },
  "version": 1
}
