Open Source AI Agents: Complete Directory

Updated May 2026
Open source AI agents are autonomous software systems whose source code is publicly available, allowing anyone to inspect, modify, deploy, and contribute to them. These agents use large language models to reason through tasks, call tools, browse the web, write code, and coordinate with other agents, all without locking you into a proprietary platform or vendor. This directory covers every major category of open source AI agent available in 2026, from coding assistants to browser automation tools, with honest assessments of what works in production and what remains experimental.

What Are Open Source AI Agents

An AI agent is software that uses a large language model as its reasoning engine to accomplish goals autonomously. Unlike a simple chatbot that responds to prompts, an agent plans multi-step tasks, decides which tools to invoke, observes results, and adjusts its approach based on what it learns along the way. An open source AI agent provides all of this capability with publicly available source code under a recognized license such as MIT, Apache 2.0, or GPL.

The distinction between an AI agent and a traditional automation script is meaningful. A script follows predetermined logic: if condition A, do action B. An agent receives a goal in natural language, breaks it into steps, selects appropriate tools from those available to it, executes those steps, evaluates whether the results satisfy the original goal, and iterates if they do not. This loop of reasoning, acting, and observing is what makes agents genuinely autonomous rather than simply automated.

Open source AI agents span a broad range of complexity. At the simpler end, you find single-purpose agents like Aider, which focuses exclusively on editing code files through conversation with an LLM. At the complex end, frameworks like LangGraph and AutoGen enable multi-agent systems where dozens of specialized agents coordinate through shared state, message passing, and hierarchical task delegation. Between these extremes sit tools like CrewAI, which organizes agents into role-based teams, and Browser Use, which gives an LLM full control over a web browser.

What makes the open source dimension critical is transparency. When an agent has access to your codebase, your customer data, or your internal APIs, you need to understand exactly what it does with that access. Proprietary agents are black boxes. Open source agents let you audit every line of code that handles your data, every API call the agent makes, and every decision point in the agent reasoning chain.

Why Open Source Matters for AI Agents

The argument for open source AI agents goes beyond philosophical preferences about software freedom. There are practical, measurable reasons why open source dominates the agent ecosystem in 2026, and why organizations with strict security requirements often consider it the only viable option.

Auditability is the first reason. AI agents operate with significant autonomy, executing code, making API calls, reading and writing files, and sometimes browsing the internet. When something goes wrong, you need to trace exactly what happened and why. With open source agents, you can inspect the decision-making logic, the tool-calling mechanisms, the memory management, and the error handling. You can set breakpoints, add logging, and modify behavior at any level of the stack. With proprietary agents, you get whatever observability the vendor chooses to expose.

Model flexibility is the second reason. Open source agents typically support multiple LLM providers. You can run them with Claude, GPT-4, Gemini, Llama, Mistral, or any model accessible through a compatible API. Some support local models through Ollama, letting you run the entire stack on your own hardware with no data leaving your network. Proprietary agent platforms almost always lock you into a single model or a small set of approved providers.

Self-hosting capability is the third reason. For organizations handling sensitive data, regulated industries, or air-gapped environments, the ability to deploy an agent entirely on internal infrastructure is not optional. Open source agents can run on your own servers, your own cloud accounts, or even on a laptop. You control the data pipeline from end to end, and you can prove to auditors exactly where data flows.

Cost control is the fourth reason. Proprietary agent platforms charge per seat, per execution, per API call, or through some combination of usage-based pricing. Open source agents eliminate the platform fee entirely. Your only costs are compute infrastructure and the LLM API calls the agent makes. For teams running agents at scale, the difference between a proprietary platform fee and self-hosted open source can be substantial.

Community-driven development is the fifth reason. The most successful open source AI agents have thousands of contributors filing issues, submitting fixes, adding integrations, and stress-testing the code in real production environments. This collective effort produces more robust software faster than any single vendor engineering team. Browser Use went from launch to over 50,000 GitHub stars in months because the community found it genuinely useful and contributed improvements at a pace no closed team could match.

The Open Source AI Agent Landscape in 2026

The open source AI agent ecosystem experienced explosive growth between 2024 and 2026. What began as a handful of experimental projects has become a mature ecosystem with hundreds of actively maintained repositories, dozens of production-grade frameworks, and a growing body of best practices for deployment and security.

By the numbers, the scale is remarkable. AutoGPT, one of the earliest autonomous agent projects, holds approximately 170,000 GitHub stars. n8n, the workflow automation platform that added AI agent capabilities, crossed 180,000 stars. Browser Use accumulated over 50,000 stars within months of its initial release. OpenHands, a fully autonomous coding agent, reached 70,000 stars. MetaGPT, which simulates an entire software company with PM, architect, and engineer agents, crossed 50,000 stars. These numbers reflect genuine developer adoption, not just curiosity.

The ecosystem has also matured beyond individual tools into interconnected platforms. The Model Context Protocol, originally developed by Anthropic and now an open standard, provides a universal interface for connecting AI agents to external tools and data sources. Over 7,000 MCP servers are now available, giving agents standardized access to databases, APIs, file systems, and web services. This interoperability layer means agents built with different frameworks can share the same tool ecosystem.

Enterprise adoption has followed the open source momentum. Surveys from early 2026 indicate that 57% of organizations now have AI agents in some form of production workflow. The AI agent market is projected to reach over 50 billion dollars by 2030, growing at a compound annual rate above 46%. Much of this growth runs on open source infrastructure, with organizations choosing to build on frameworks they can control rather than depend on platforms they cannot.

The competitive landscape has produced clear category leaders. LangGraph dominates stateful production workflows with 34.5 million monthly downloads. CrewAI leads in rapid multi-agent prototyping with its role-based team abstraction. AutoGen (now AG2) specializes in conversational multi-agent problem-solving. Dify, with over 129,000 GitHub stars, leads the low-code agent builder category. Each framework occupies a distinct niche, and the boundaries between them are well understood by the developer community.

Major Open Source AI Agent Frameworks

Understanding the major frameworks is essential for navigating the open source agent landscape. Each framework makes different architectural decisions that affect what kinds of agents you can build, how complex your deployments can become, and what trade-offs you accept.

LangGraph

LangGraph, built by the LangChain team, models agent workflows as directed graphs where nodes represent processing steps and edges define the flow between them. This graph-based architecture gives you precise control over execution flow, state management, and error handling. LangGraph reached version 0.4 in April 2026 with improved state persistence and human-in-the-loop checkpoints. It is model-agnostic, supports per-node token streaming, and integrates with LangSmith for production observability. LangGraph is widely considered the most production-ready framework for complex stateful workflows, though its graph concepts create a steeper learning curve than simpler alternatives.

CrewAI

CrewAI organizes agents into role-based crews where each agent has a defined role, goal, and backstory. You create a researcher agent, a writer agent, and a reviewer agent, then define how they collaborate on tasks. This abstraction is intuitive and lets you go from idea to working multi-agent prototype in roughly 20 lines of code. CrewAI launched an enterprise tier in March 2026 with observability and scheduling features. Its trade-off is that the simplicity comes at the cost of fine-grained control. Teams that start with CrewAI for prototyping sometimes migrate to LangGraph when they need production-grade state management and conditional routing.

AutoGen / AG2

Microsoft AutoGen implements conversational agent teams where agents debate and refine outputs through dialogue. The version 0.4 rewrite, now called AG2, introduced an event-driven core, async-first execution, and pluggable orchestration strategies. AutoGen 1.0 GA shipped in February 2026 with the v2 API as default. The GroupChat pattern is its primary coordination mechanism. The trade-off is cost: every agent turn in a GroupChat involves a full LLM call with accumulated conversation history. A four-agent debate with five rounds means at least twenty LLM calls. AutoGen excels at offline, quality-sensitive workflows where thoroughness matters more than speed or cost.

Dify

Dify is a low-code platform for creating AI agents with a visual workflow builder. With over 129,000 GitHub stars, it has become the default choice for teams that want to build agents without writing extensive code. Dify supports multiple model providers, includes built-in RAG capabilities, and provides a web-based interface for designing and testing agent workflows. It bridges the gap between no-code simplicity and the flexibility needed for production deployments.

n8n

n8n started as a general-purpose workflow automation platform and added AI agent capabilities that have made it one of the most popular tools in the ecosystem. With over 180,000 GitHub stars, n8n provides a visual interface for building agent workflows that connect to hundreds of existing integrations. Its strength is combining traditional automation (API calls, database queries, file operations) with AI reasoning in a single workflow, making it practical for business teams that need agents integrated with existing systems.

Agent Categories and Use Cases

Open source AI agents have specialized into distinct categories, each addressing different use cases with purpose-built capabilities. Understanding these categories helps you find the right tool for your specific needs.

Coding Agents

Coding agents write, edit, debug, and refactor code through conversation. Aider is the strongest all-around open source coding agent, featuring multi-file editing, git integration, and support for any LLM. Cline, a VS Code extension, combines agentic capabilities with an IDE-native experience. OpenHands (formerly OpenDevin) goes further by analyzing entire repositories, writing code, executing commands, debugging errors, and iterating on solutions autonomously. These agents matter because they can be audited, self-hosted, and connected to whichever model you prefer, making them the only viable option for teams with strict security reviews or air-gapped environments.

Research Agents

Research agents search, verify, and synthesize information from multiple sources. CrewAI is commonly used to build AI research teams where a researcher agent gathers information, an analyst agent evaluates it, and a writer agent produces the final output. OWL, built on the CAMEL framework, uses a planning agent paired with an execution agent for long-horizon tasks and ranks first on the GAIA benchmark among open source frameworks. These agents are valuable for competitive analysis, literature reviews, market research, and any task that requires processing large volumes of information systematically.

Customer Support Agents

Customer support agents handle incoming queries, route tickets, draft responses, and resolve common issues without human intervention. Open source options like Ontheia provide self-hosted platforms with visual workflow automation, MCP-native tool integration, multi-provider model support, long-term memory, and multi-user access control. The advantage of open source in this category is data sovereignty: customer conversations often contain sensitive information, and self-hosting ensures that data never leaves your infrastructure.

Browser Automation Agents

Browser automation agents give LLMs full control over web browsers to accomplish tasks that require interacting with websites. Browser Use, with over 50,000 GitHub stars, is the leading open source option. It supports vision models (the LLM sees screenshots), DOM extraction (the LLM reads page structure), or both simultaneously. The Playwright MCP Server from Microsoft provides structured accessibility snapshots that let LLMs interact with web pages without needing vision capabilities. These tools enable agents to handle tasks like form filling, data extraction, cross-site comparison shopping, and any workflow that involves navigating websites.

Workflow Automation Agents

Workflow automation agents orchestrate multi-step business processes that span multiple systems and services. n8n and Dify lead this category with visual workflow builders that connect to hundreds of integrations. These tools let you build agents that monitor incoming emails, extract information, update databases, send notifications, generate reports, and trigger downstream processes, all without writing custom integration code for each step. Langflow provides a similar visual approach built on top of LangChain components.

Marketing and Social Media Agents

Marketing agents handle content generation, campaign management, social media posting, and audience analysis. Open source options in this space typically combine general-purpose frameworks like CrewAI with specialized tools for social media APIs, analytics platforms, and content management systems. The advantage of open source here is customization: marketing workflows vary dramatically between organizations, and the ability to modify agent behavior at every level is more valuable than the convenience of a pre-built proprietary solution.

How to Choose the Right Agent

Selecting the right open source AI agent requires evaluating several factors that depend on your specific situation. There is no single best agent, only the best agent for your particular use case, team capabilities, and infrastructure constraints.

Start with the task. If you need a coding assistant, evaluate Aider, Cline, and OpenHands. If you need multi-agent coordination, compare LangGraph, CrewAI, and AutoGen. If you need browser automation, look at Browser Use and the Playwright MCP Server. If you need workflow automation with existing integrations, evaluate n8n and Dify. Trying to use a general-purpose framework for a specialized task adds unnecessary complexity.

Evaluate the community and maintenance status. Check the GitHub repository for recent commit activity, issue response times, release cadence, and contributor count. A project with 50,000 stars but no commits in six months is a risk. A project with 5,000 stars and daily commits from multiple contributors is a safer bet. Look at the quality of documentation, the availability of tutorials, and whether the maintainers are responsive to questions.

Consider your team technical capabilities. CrewAI role-based abstraction lets you build working agents with minimal code. LangGraph graph-based architecture requires understanding directed graphs, state schemas, and conditional routing. AutoGen conversational patterns require careful management of conversation history and context windows. Match the framework complexity to your team experience level.

Assess production requirements. If you need state persistence, checkpointing, and human-in-the-loop workflows, LangGraph is the strongest option. If you need visual workflow design that non-developers can modify, n8n or Dify make more sense. If you need to run everything on local hardware with no external API calls, you need a framework that supports local models through Ollama or similar tools.

Test with your actual workload. Benchmarks and star counts tell you about general popularity, not about how well a tool handles your specific data, your specific integrations, and your specific volume requirements. Build a minimal proof of concept with your top two or three candidates and measure the results that matter to your use case.

Licensing and Commercial Use

The license attached to an open source AI agent determines what you can legally do with the software, particularly whether you can use it in commercial products, modify it without sharing your changes, and combine it with proprietary code. Getting this right matters because licensing violations can create legal liability.

Most popular AI agent frameworks use permissive licenses. MIT and Apache 2.0 together account for the majority of the ecosystem. Both allow commercial use, modification, and redistribution without requiring you to open-source your own code. The key difference between them is patent protection: Apache 2.0 includes an explicit patent grant that protects you from patent claims by contributors, while MIT does not address patents at all. For commercial deployments where patent risk matters, Apache 2.0 is the safer choice.

GPL-licensed agents carry different obligations. If you distribute software that includes GPL code, you must release the source code of the entire combined work under the GPL. This restriction makes GPL agents incompatible with many commercial software products, though it does not prevent using GPL agents internally without distribution. The AGPL variant extends this requirement to network use: if you run modified AGPL software as a service, you must share your modifications with users.

An emerging complication in 2026 is the rise of modified open source licenses. Some projects use licenses that look permissive but include restrictions on commercial deployment, competing products, or specific use cases. Always read the actual license text rather than relying on the license name or the project marketing claims.

Security and Production Readiness

Security is the most important and most frequently overlooked dimension of open source AI agent adoption. The year 2026 has already produced several high-profile security incidents that demonstrate the real risks of deploying agents without adequate security measures.

The OpenClaw incident illustrates the scale of the problem. OpenClaw, one of the fastest-growing AI agent repositories in GitHub history, experienced a multi-vector security crisis including a critical remote code execution vulnerability (CVSS 8.8) that could be triggered by visiting a single malicious webpage. Attackers launched ClawHavoc, a supply-chain campaign that uploaded over 1,100 malicious skills to the plugin marketplace, many disguised as legitimate productivity and coding tools.

The broader statistics are sobering. Research indicates that 88% of organizations deploying AI agents have experienced confirmed or suspected security incidents, while only about 14% of those agents reached production with full security and IT approval. Analysis of over 7,000 MCP servers found that 36.7% were vulnerable to server-side request forgery.

OWASP published the Top 10 for Agentic Applications in late 2025, creating the first formal taxonomy of agent-specific risks. These include goal hijacking (manipulating an agent objectives through carefully crafted inputs), tool misuse (tricking an agent into using its tools in unintended ways), memory poisoning (corrupting an agent persistent memory to alter future behavior), and cascading failures (where one compromised agent in a multi-agent system compromises the others).

Production readiness requires addressing these risks systematically. Evaluate the project security track record, its vulnerability disclosure process, and how quickly maintainers respond to reported issues. Run the agent in a sandboxed environment with minimal permissions. Monitor all tool calls and external API interactions. Implement input validation on every boundary between user input and agent actions.

Ecosystem Growth and Community

The open source AI agent ecosystem is growing faster than any previous category of open source software. The combination of powerful foundation models, standardized tool interfaces through MCP, and genuine production use cases has created a feedback loop where more users attract more contributors, who build better tools, which attract more users.

Several trends are shaping the ecosystem trajectory. Visual workflow builders like n8n, Dify, and Langflow are lowering the barrier to entry so that domain experts, not just ML engineers, can create sophisticated AI agent pipelines. The Model Context Protocol is creating a universal tool ecosystem that works across frameworks, reducing the lock-in that previously kept users tied to specific platforms. Local model support through Ollama and similar tools is enabling fully self-contained deployments that require no external API calls.

Regulatory pressure is also shaping the ecosystem. The EU AI Act high-risk AI obligations take effect in August 2026, and the Colorado AI Act becomes enforceable in June 2026. These regulations are driving demand for open source agents because transparency and auditability requirements are easier to satisfy when you have access to the source code.

Getting Started with Open Source AI Agents

The best way to begin with open source AI agents is to start small, learn how agents work with a focused project, and expand from there. Attempting to deploy a complex multi-agent system as your first project will produce frustration rather than results.

If you are a developer, start with a coding agent like Aider. Install it, connect it to your preferred LLM, and use it on a real project. This gives you hands-on experience with how agents reason, how they use tools, and where they make mistakes.

If you are building for a team, start with a low-code platform like n8n or Dify. Create a simple workflow that connects an LLM to one or two existing tools your team already uses. Automate a single repetitive task end to end. Once that workflow is running reliably, add complexity incrementally.

If you need a custom agent for a specific use case, start with CrewAI. Its role-based abstraction lets you define agents that match your actual workflow. Build a crew with two or three agents, give each a clear role, and let them collaborate on a task your team performs regularly.

Regardless of where you start, establish security practices from day one. Run agents in sandboxed environments. Limit their access to only the tools and data they need. Log all agent actions for auditability. Review the agent outputs before they reach customers or production systems. These habits are much easier to establish at the beginning than to retrofit later.

Explore This Topic

Directories and Rankings

By Use Case

Deployment and Licensing

Evaluation and Security