Skip to content

Agent Frameworks — LangChain, LlamaIndex, CrewAI, AutoGen

MCP (Model Context Protocol) is the 2026 standard tool/context bus. Local MCP servers run with the client's privileges — tool calls are a real code-execution surface.

Framework Role in local stack Maintained? (verified)
MCP (Model Context Protocol) The standard tool/context bus. 2026-07-28 spec is stateless (self-contained JSON-RPC requests, per-request capability negotiation), with extensions for Tasks (async long-running ops), "Skills over MCP", and MCP Apps (inline UI) spec + TS/Python/Go/C# SDKs updated Jul 2026 (spec, Cloudflare)
LangChain general orchestration / tool wiring PyPI langchain v1.4.4 (2026-10-08)
LlamaIndex data/RAG-focused orchestration, 130+ loaders PyPI llama-index v0.14.25 (2026-09-21); llama-index-vector-stores-qdrant v0.10.4 (2026-10-08)
CrewAI role-based multi-agent crews PyPI crewai v1.15.26 (2026-10-08)
AutoGen (Microsoft) conversational multi-agent ⚠️ pyautogen v0.10.0 last uploaded 2025-07-15; autogen-agentchat v0.7.5 last 2025-09-30 — slowing down; verify before adopting
DSPy declarative, optimisable prompt programs PyPI dspy v3.4.0 (2026-09-25)
Haystack modular pipelines with built-in eval PyPI haystack-ai v3.3.0 (2026-10-01)

Local tool-use caveat: MCP and function calling work well against vLLM/SGLang, but weaker small local models need constrained decoding / grammar to emit reliable tool calls; Ollama's compat layer has gaps (tool_choice unsupported). MCP's own spec warns that local servers run with the client's privileges, so tool calls from local agents are a real code-execution surface (MCP spec security, Descope).

Sources