Skip to content
Agent Search Engine.

Open source · Python

Best Python agent frameworks

The 33 open-source agent frameworks written in Python in this index, ordered by recorded GitHub star count, never by sponsorship. Stars are repository-interest signals, not performance or maintenance guarantees. langchain leads the set at 149,647 GitHub stars, and 25 of the 33 have a recorded repository push in the last 90 days. These records have Python as their primary repository language and recognized open-source software licenses recorded in this index; check the current licenses, deployment requirements, and model or API costs. Right now it's led by langchain (150k stars), with MetaGPT and autogen following. Order follows the recorded star counts; repository activity is shown separately.

33 open-source records · all agent frameworks · more best-of lists · how we rank

Tools in this collection

langchainFrameworkThe agent engineering platform.Costs need recheckingOpen sourcePython · recorded license: MITRecord checked · Recent push 150kGitHub starsMetaGPTFrameworkA multi-agent framework that assigns software-company roles to LLM agents to turn a requirement into a project.Costs not checkedOpen sourcePython · recorded license: MITRecord checked 71kGitHub starsautogenFrameworkA programming framework for agentic AI; upstream is in maintenance mode.Costs not checkedOpen-source codeMaintenance modePython · recorded license: MITRecord checked · Recent push 62kGitHub starscrewAIFrameworkFramework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.Costs need recheckingOpen sourcePython · recorded license: MITRecord checked · Recent push 61kGitHub starsLangGraphFrameworkBuild stateful workflows with code-defined and model-driven steps.Costs need recheckingOpen sourcePython · recorded license: MITRecord checked · Recent push 45kGitHub starsDSPyFrameworkStanford's framework for programming, not prompting, language models, with optimisers for prompts and weights.Costs not checkedOpen sourcePython · recorded license: MITRecord checked · Recent push 39kGitHub starsAgentScopeFrameworkA production-ready Python agent framework built around model reasoning and tool use rather than rigid orchestration.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 36kGitHub starsOpenAI Agents SDK (Python)FrameworkOpenAI's lightweight, provider-agnostic Python framework for multi-agent workflows.Costs not checkedOpen sourcePython · recorded license: MITRecord checked · Recent push 31kGitHub starsAgent Development Kit (Google ADK)FrameworkGoogle's open-source, code-first Python framework for building, evaluating and deploying AI agents.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 22kGitHub starspydantic-aiFrameworkAI Agent Framework, the Pydantic wayCosts need recheckingOpen sourcePython · recorded license: MITRecord checked · Recent push 21kGitHub starsCAMELFrameworkAn open-source multi-agent framework from the CAMEL-AI community for studying and building agent societies.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 18kGitHub starsSuperAGIFramework<> SuperAGI - A dev-first open source autonomous AI agent framework. Enabling developers to build, manage & run useful autonomous agents quickly and reliably.Costs not checkedOpen sourcePython · recorded license: MITRecord checked 18kGitHub stars
For agent buildersMake your product part of the discovery.Explore advertising
agent-frameworkFrameworkA framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and.NET.Costs not checkedOpen sourcePython · recorded license: MITRecord checked · Recent push 15kGitHub starstxtaiFrameworkAn all-in-one Python framework for semantic search, LLM orchestration and language-model workflows.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 13kGitHub starshiveFrameworkMulti-Agent Harness for Production AICosts not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 11kGitHub starsharness-sdkSDK / libraryBuild an agent harness and control it end-to-end. Open-source SDK for production AI agents in Python & TypeScript - any model, any cloud.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 9.2kGitHub starsmcp-agentFrameworkA composable Python framework for building agents from MCP servers and simple workflow patterns.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked 8.6kGitHub starsUpsonicFrameworkBuild autonomous AI agents in Python.Costs not checkedOpen sourcePython · recorded license: MITRecord checked 8.0kGitHub starsSwarmsFrameworkA Python multi-agent orchestration framework with prebuilt sequential, concurrent and hierarchical architectures.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 7.4kGitHub starsagent-governance-toolkitSDK / libraryAI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.Costs not checkedOpen sourcePython · recorded license: MITRecord checked · Recent push 6.6kGitHub starsintentkitFrameworkIntentKit is an open-source, self-hosted cloud agent cluster that manages a collaborative team of AI agents for you.Costs not checkedOpen sourcePython · recorded license: MITRecord checked 6.5kGitHub starsAtomic AgentsFrameworkA lightweight, modular Python framework for building agent pipelines from small, composable pieces.Costs not checkedOpen sourcePython · recorded license: MITRecord checked · Recent push 6.3kGitHub starsagentsFrameworkAn Open-source Framework for Data-centric, Self-evolving Autonomous Language AgentsCosts not checkedOpen sourcePython · recorded license: Apache-2.0Record checked 6.0kGitHub starsrllmFrameworkDemocratizing Reinforcement Learning for LLMsCosts not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 5.9kGitHub starsag2FrameworkAG2 (formerly AutoGen): The Open-Source AgentOS.Join us at: https://discord.gg/sNGSwQME3xCosts not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 5.1kGitHub starsLangroidFrameworkA lightweight Python framework for multi-agent LLM applications, from CMU and UW-Madison researchers.Costs not checkedOpen sourcePython · recorded license: MITRecord checked · Recent push 4.2kGitHub starsfast-agentFrameworkCode, Build and Evaluate agents - excellent Model and Skills/MCP/ACP/A2A SupportCosts not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 4.0kGitHub starsVibe-SkillsSDK / libraryVibe-Skills is an all-in-one AI skills package.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 3.8kGitHub starsBeeAI FrameworkFrameworkA framework for production-ready multi-agent systems with matching Python and TypeScript libraries.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 3.5kGitHub starsverl-agentFrameworkverl-agent is an extension of veRL, designed for training LLM/VLM agents via RL. verl-agent is also the official code for paper "Group-in-Group Policy Optimization for LLM Agent Training"Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked 2.4kGitHub starsharmonistFrameworkPortable AI agent orchestration with mechanical protocol enforcement. 186 agents, zero runtime dependencies.Costs not checkedOpen sourcePython · recorded license: MITRecord checked 2.2kGitHub starsDemoGPTFrameworkCreate LLM agents in a second with your prompts. Everything you need to create an LLM Agent - tools, prompts, frameworks, and models - all in one place.Costs not checkedOpen sourcePython · recorded license: MITRecord checked 1.9kGitHub starsAgentlyFramework[GenAI Application Development Framework] Build GenAI application quick and easy Easy to interact with GenAI agent in code using structure data and chained-calls syntax Use Event-Driven FlowCosts not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 1.7kGitHub stars

Frequently asked

What are the best Python agent frameworks?
By recorded GitHub star count, langchain, MetaGPT and autogen lead the Python agent frameworks in this index of 33. The full list is below; star count does not prove suitability or continued maintenance. Sponsorship does not affect its order.
Are these Python agent frameworks open source and free?
These records have recognized open-source software licenses recorded and are written primarily in Python in this index. MIT is the most common licence here, on 17 of 33, across 2 licences in total. Check each license and deployment requirements. Hosting, model, API, and managed-service costs may apply.
Why choose Python agent frameworks specifically?
Staying in your team's primary language — Python — can help your team inspect and modify code it understands. Repository language does not establish supported user languages, SDKs or an offline deployment. 25 of these 33 have a recorded push within 90 days. A quiet repository alone does not establish whether the project is complete, supported or abandoned.