Curated collection
Open-Source AI Agent Frameworks
Open-source frameworks for building AI agents on code you can read, fork and self-host: from the largest ecosystems to the newest TypeScript-native entrant.
On this page
12 of the 16 agent frameworks in our index carry a clean, unrestricted open-source license on the code you would actually run. No source-available carve-out. No separate commercial license required to get the controls a production team needs while self-hosting. A framework is not a product you sign into; it is code that lands in your own repository, so the license attached to it matters more here than it does for a hosted agent.
At a glance
- agents
- 12
- curated for this set
- Free to start
- 12 of 12
- a free or freemium entry tier
- Public API
- 12 of 12
- every entry checked
- Publish a price
- 12 of 12
- an anchor price on their own page
What this collection covers
Two of the 16 do not clear that bar, and both are open at the core. Mastra's framework is Apache-2.0 and free to self-host, but the RBAC, SSO and IAM controls a production team needs sit behind a separate Enterprise Self-Hosted tier, billed as a flat annual fee on top of the open code. Claude Agent SDK's Python and TypeScript wrapper packages carry an MIT license, but Anthropic's own docs state that using the SDK as a whole is governed by its commercial Terms of Service, so the license on the wrapper does not cover what you are actually agreeing to when you run it.
This is not the same list as our [open-source AI agent tools collection](/collections/open-source-ai-agent-tools/), which spans coding agents, voice agents and agent platforms too, not just the tools you build an agent with (every entry here also appears there). It is also not the same as our [ranking of all 16 frameworks](/best-ai-agent-frameworks/), which scores the full set on capability and includes Mastra and Claude Agent SDK alongside the 12 open ones here.
Among these 12: LangChain remains the largest and most integration-heavy framework in the group; Microsoft ships two that clear this bar, AutoGen and its newer successor, Agent Framework; and AgentsKit is the newest and least proven, four months old with an MIT core and its hosted layer, AgentsKit OS, still enterprise-only early access. Every one of them lets you point the framework at any model provider you choose and keep running if the vendor ever disappears, a guarantee a closed SDK cannot make.
How these 12 agents were picked
A framework earns a place here only if it belongs to this site's frameworks category and its entire self-hostable codebase carries a clean, unrestricted OSI-style license: MIT, Apache-2.0, GPL-3.0-or-later or AGPLv3, with no source-available carve-out and no separate commercial license gating the controls a production deployment needs. This is the same bar our open-source AI agent tools collection applies, narrowed to one category. Verified against each framework's own listing research (license type, pricing tiers and FAQ text), not a vendor's marketing claim of "open source."
The 12 agents on this shelf

LangChain
Open source agent frameworks plus LangSmith, a hosted platform to trace, evaluate, deploy and govern agents.
Agent frameworksFree, then $39/seat/monthAPIAutonomousClaudeChecked 22 days agoBest for Engineering teams building a bespoke, production-grade agent who want the largest integration ecosystem plus real stateful control.
The most widely adopted agent framework here; MIT-licensed core, free to self-host with no vendor lock-in.

CrewAI
Open-source multi-agent framework with a managed platform for deploying and governing agent workflows.
Agent frameworksFreeAPIAutonomousClaudeChecked 27 days agoBest for Developers who want to stand up a role-based, collaborating multi-agent system quickly in Python, with a stable MIT-licensed core and a hosted build and runtime for production.
MIT-licensed multi-agent orchestration framework, reached a stable 1.0 general-availability release in October 2025.

AutoGen
Open-source Microsoft framework for building single and multi-agent AI applications in Python.
Agent frameworksFreeAPIAutonomousClaudeChecked 20 days agoBest for Python or .NET developers and researchers exploring multi-agent orchestration who want a mature, free, self-hosted framework.
Microsoft's MIT-licensed multi-agent framework, now frozen in favor of its own successor below; free to self-host, pay only your own model provider.

Microsoft Agent Framework
Open-source .NET, Python and Go SDK for building AI agents and graph-based multi-agent workflows.
Agent frameworksFreeAPIAutonomousClaudeChecked 21 days agoBest for .NET or Python teams already invested in Azure or Microsoft Foundry who want one supported agent SDK, an optional managed hosting path, and a documented migration off AutoGen or Semantic Kernel.
Microsoft's MIT-licensed successor to AutoGen and Semantic Kernel, free to self-host across .NET, Python and Go, or an optional Azure-billed managed layer on top.

LlamaIndex
Open-source agent framework plus a credit-metered document parsing, extraction and indexing platform.
Agent frameworksFree, then $50/monthAPIClaudeEnterpriseChecked last monthBest for Engineers building RAG-heavy or document-heavy agents who want an MIT-licensed OSS core with an optional managed parsing and extraction platform on top.
MIT-licensed core framework for building agents over your own data; the paid LlamaCloud parsing layer is optional.

LangGraph
Open-source orchestration framework and runtime for stateful, long-running LLM agents, from LangChain.
Agent frameworksFree, then $39/monthAPIAutonomousClaudeChecked last monthBest for Engineering teams building production agents who need cyclical graphs, durable state and replayable runs
MIT-licensed agent runtime from the LangChain team, free to self-host; LangSmith and LangGraph Platform are optional hosted layers on top, not a gate on the library itself.

Google Agent Development Kit (ADK)
Open-source framework for building, evaluating and deploying AI agents in Python, TypeScript, Go, Java or Kotlin.
Agent frameworksFreeAPIAutonomousClaudeChecked 24 days agoBest for Teams that want Google's own official, actively-developed agent SDK, especially polyglot teams (Python/Go/Java/TypeScript/Kotlin) or anyone building multi-agent systems that need to interoperate across vendors via the A2A protocol.
Apache-2.0 licensed across all four of its language SDKs (Python, Go, Java, TypeScript); Google's own official framework, free to self-host anywhere.

OpenAI Agents SDK (Python)
Open-source Python framework for building agents with tools, handoffs, guardrails and tracing.
Agent frameworksFreeAPIAutonomousFree tierChecked 19 days agoBest for Developers who want the fastest, lightest way to ship a straightforward agent (support triage, a tool-using assistant or a sandboxed coding agent) with tracing and guardrails included.
MIT-licensed and free to self-host, OpenAI's own lightweight SDK for building agentic workflows.

Pydantic AI
Open-source Python agent framework from the Pydantic team, with a typed agent loop and swappable models.
Agent frameworksFreeAPIAutonomousClaudeChecked 18 days agoBest for Python teams building type-safe agents who also want realtime voice, image generation and embeddings in one SDK, with optional durable execution via Temporal, DBOS, Prefect or Restate.
MIT-licensed, type-safe Python framework from the team behind Pydantic; free to run anywhere.

Letta
Stateful agent harness, cloud and SDK for agents with persistent, git-versioned memory.
Agent frameworksFree, then $20/monthAPIAutonomousClaudeChecked last monthBest for Developers and researchers who specifically need an agent whose memory, skills and identity genuinely persist and evolve across long-running sessions, rather than reset on every call.
Apache-2.0 licensed framework with persistent memory; self-host free or opt into managed Letta Cloud later.

Agno
Python framework and self-hosted runtime for building and managing agent platforms.
Agent frameworksFree, then $150/monthAPIAutonomousClaudeChecked todayBest for Python developers who want an Apache 2.0 SDK with memory, knowledge, learning, guardrails and a Control Plane they run inside their own cloud account, and who are comfortable running Docker or a cloud deploy template themselves.
Apache-2.0 licensed Python framework, formerly Phidata, with built-in memory, knowledge and multi-agent Teams; the paid AgentOS runtime is a separate BYOC product, not a gate on the framework itself.

AgentsKitVerified
Composable TypeScript packages for agent runtime, tools, memory, RAG and headless chat UI.
Agent frameworksFreeAPIAutonomousClaudeChecked 2 days agoBest for JS/TS developers who want an ownable, dependency-light agent toolkit
MIT-licensed TypeScript foundation for building agents, with the newest and least proven track record here; AgentsKit OS, a separate hosted layer, remains enterprise-only early access, but the open-source core is the only way most teams will run it.
Browse wider than this shelf
A collection is one cut through the index. These are the full categories the agents above sit in, unfiltered.
Advertise here
Reach buyers mid-decision. Reach builders choosing their next agent. Promote your brand with a display placement or bring your listing into focus with Featured.
Explore owner options →Advertise on this page →The digestFree
Which agents actually ship.
What we re-checked, what got added, and one number from the index. Tuesdays.
One-click unsubscribe