Top 10 Open Source AI Agent Frameworks in 2026
Ten open source AI agent frameworks with real GitHub stars, split into platform tools and code-first orchestration libraries.
📖 Keep reading
Two camps, not ten equal options
Star counts as of October 2026: n8n 208,635; Dify 159,589; LangChain 148,486; AutoGen 61,572; CrewAI 60,119; Flowise 55,529; LlamaIndex 52,670; LangGraph 43,925; Agno 42,899; Semantic Kernel 28,697.
Platform tools (Dify, n8n, Flowise) get an application running without code and are best for fast validation and internal tools, but visual graphs become hard to maintain past roughly twenty nodes. Code-first libraries (LangGraph, CrewAI, AutoGen, LangChain, LlamaIndex, Agno, Semantic Kernel) give control over state, retries and approvals.
Quick mapping: two-week internal app, Dify; AI inside an existing business process, n8n; approvals and resumable runs, LangGraph; multi-role content pipelines, CrewAI; document Q&A, LlamaIndex; maximum integrations, LangChain; .NET stack, Semantic Kernel; minimal dependencies, Agno.
The common mistake is expecting the framework to make the agent smarter. Tool descriptions, retry behavior and context trimming account for most of the quality, not the framework choice.
Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.