# Alternatives to LlamaIndex

> Source: https://theagentsindex.com/llamaindex/alternatives (current datasheets, evidence-ranked)

Candidates share the baseline category or are previously researched peers. Requirements, preserved strengths, explicit trade-offs and research coverage decide the order; paid tier does not.

## Shortlist

### 1. LangChain

Open source agent frameworks plus LangSmith, a hosted platform to trace, evaluate, deploy and govern agents.

**Research coverage:** 34/35 criteria

**Where it improves on LlamaIndex:**
- [Writes code: yes — The vendor ships dcode, a free open-source terminal coding agent that writes and runs code from a prompt; it is a separate package from the paid LangSmith platform.](https://www.langchain.com/dcode)
- [Ships it: yes — LangSmith Deployment runs agents in production with one-click deploy from Studio and a control-plane API; the free Developer plan shows Deployment as N/A, so shipping starts at Plus.](https://docs.langchain.com/langsmith/studio)
- [Done-for-you service: partial — You run the software yourself on every self-serve plan; only Enterprise buyers get LangChain engineers, architectural guidance and team training alongside the product.](https://www.langchain.com/pricing)

**Trade-offs against LlamaIndex:**
- [Bring your own key: partial — You can bring your own provider keys through the gateway on every plan, or buy inference as Gateway Credits, but Engine refuses your keys and bills its model use as compute units.](https://docs.langchain.com/langsmith/engine)

[View LangChain](https://theagentsindex.com/langchain)

### 2. Agno

Python SDK, self-hosted AgentOS runtime and hosted control plane for building and operating agent platforms.

**Research coverage:** 35/35 criteria

**Where it improves on LlamaIndex:**
- [Writes code: yes — Ships a CodingTools toolkit whose documented job is editing files and running commands in a scoped project directory.](https://docs.agno.com/use-cases/coding-agents)
- [Done-for-you service: partial — You run the software yourself, but Enterprise adds vendor engineers on the build: dedicated help with your product agent, monthly office hours and ChatGPT/Claude app help.](https://www.agno.com/pricing)
- [Runs autonomously: yes — Agents, teams and workflows run unattended on cron schedules and as background jobs, with persisted retries, so a run needs no human present unless a pause is configured.](https://docs.agno.com/features/scheduling)

**Trade-offs against LlamaIndex:**
- [In your pipeline: no — The enumerated serving surfaces are REST, MCP in Claude/ChatGPT and chat apps; no pull-request or CI surface appears.](https://www.agno.com/)
- [Certifications: partial — SOC 2 compliance is asserted in the trust band on the enterprise and SDK pages, but no ISO 27001 or GDPR statement is published; security reviews are an Enterprise item.](https://www.agno.com/enterprise)

[View Agno](https://theagentsindex.com/agno)

### 3. LangGraph

Open-source orchestration framework and runtime for stateful, long-running LLM agents, from LangChain.

**Research coverage:** 35/35 criteria

**Where it improves on LlamaIndex:**
- [Runs autonomously: yes — Built for unattended long-running work: checkpointed durable execution lets a run survive failure and resume, and human-in-the-loop checks are described as something you add rather than a default.](https://docs.langchain.com/oss/python/langgraph/overview)
- [Open models: yes — Open-weight models run locally through the ChatOllama integration, and self-hosted vLLM and Hugging Face endpoints are documented as chat-model integrations.](https://docs.langchain.com/oss/python/integrations/chat/ollama)
- [Model choice: yes — You choose the model. LangGraph does no model abstraction of its own and the vendor markets provider-independence; the featured integration table spans OpenAI, Anthropic, Google, Bedrock, Ollama and more.](https://www.langchain.com/langgraph)

**Trade-offs against LlamaIndex:**
- [Data residency: partial — US or EU choice inside LangChain's cloud from Plus upward; Enterprise adds hybrid and self-hosted with the data plane in your own VPC. The Developer column reads N/A.](https://www.langchain.com/pricing)

[View LangGraph](https://theagentsindex.com/langgraph)

### 4. Mastra

Open-source TypeScript framework for building AI agents, with a hosted platform for running and observing them.

**Research coverage:** 35/35 criteria

**Where it improves on LlamaIndex:**
- [Done-for-you service: partial — You run the software, but Mastra sells professional services (Concierge, forward-deployed engineering) and enterprise support covering planning, prototyping and workshops.](https://mastra.ai/terms-of-service)
- [Runs autonomously: yes — Agents iterate their own tool-use loop until a final answer or stopping condition; durable agents persist run state so a loop can outlive the request that started it.](https://mastra.ai/agent-builder)
- [Agent permissions: yes — Tool approval can gate any tool call, per server or by predicate on tool name/arguments; approvals propagate up a subagent delegation chain.](https://mastra.ai/ai-agent-framework)

**Trade-offs against LlamaIndex:**
- [Data residency: partial — Self-hosted Enterprise keeps traces, prompts and outputs inside your own VPC; for the hosted platform the vendor publishes no region or jurisdiction.](https://mastra.ai/pricing)
- [Certifications: partial — SOC 2 documentation is offered from the Teams plan; a DPA covering GDPR, UK GDPR and CCPA/CPRA is published, and a Vanta-hosted trust centre carries the security programme. No ISO 27001 claim found.](https://mastra.ai/pricing)

[View Mastra](https://theagentsindex.com/mastra)

### 5. CrewAI

Open-source multi-agent framework with a managed platform for deploying and governing agent workflows.

**Research coverage:** 34/35 criteria

**Where it improves on LlamaIndex:**
- [Done-for-you service: partial — You run the software yourself, but the Enterprise plan sells forward-deployed engineers, onboarding and training separately, so people-delivered build help exists as a paid extra.](https://www.crewai.com/pricing)
- [Runs autonomously: yes — The vendor positions crews as autonomous workers that interact with enterprise applications unattended, with hierarchical delegation and cron scheduling available on both plans.](https://www.crewai.com/agent-management-platform)
- [Open models: yes — Local and open-weight serving is documented end to end, with step-by-step Ollama setup plus Hugging Face, Together, Groq and local NVIDIA NIM examples via LiteLLM.](https://docs.crewai.com/en/learn/llm-connections)

**Trade-offs against LlamaIndex:**
- [How it meters: partial — Metering is per workflow execution rather than per seat, and the free tier states its allowance, but Enterprise volumes are sized case by case with unpriced overage.](https://www.crewai.com/pricing)
- [Opt out of training: partial — Framework telemetry excludes prompts and agent data by default and is disabled with one environment variable, but no page states whether platform execution data trains vendor models.](https://docs.crewai.com/en/telemetry)
- [Data residency: partial — Enterprise buyers can keep execution in their own VPC or infrastructure, but no region menu is published for the managed cloud and the trust centre lists AWS in the US as cloud subprocessor.](https://www.crewai.com/pricing)

[View CrewAI](https://theagentsindex.com/crewai)

### 6. Letta

Stateful agent harness, cloud and SDK for agents with persistent, git-versioned memory.

**Research coverage:** 35/35 criteria

**Where it improves on LlamaIndex:**
- [Writes code: yes — Agents edit and create files in your repository, including from GitHub issues and PRs.](https://docs.letta.com/platform/github-action/index.md)
- [Runs autonomously: yes — Headless CLI runs, scheduled prompts and subagents execute without a human turn; unrestricted mode auto-allows tools.](https://docs.letta.com/configuration/subagents/index.md)
- [Agent permissions: yes — Four modes from strict to unrestricted, plus allow/deny tool patterns and a cross-agent memory guard.](https://docs.letta.com/configuration/permissions/index.md)

**Trade-offs against LlamaIndex:**
- [MCP server: no — MCP runs inbound only: Letta sessions consume stdio, HTTP and SSE MCP servers; no Letta MCP server is published.](https://docs.letta.com/agent-sdk/mcp/index.md)
- [Pooled budget: no — Quota attaches to each purchased Pro seat; unpaid seats get no Letta-hosted inference at all.](https://docs.letta.com/teams/quickstart/index.md)
- [Opt out of training: partial — Hosted messages may train future models; running your own model backend or local state means nothing is collected.](https://www.letta.com/privacy-policy/)

[View Letta](https://theagentsindex.com/letta)

## Method

Unknown data is never treated as a benefit or a trade-off. Featured placement is labelled but cannot alter recommendation order.
