Open-Source AI · Agents

Open-Source AI Agents

AI agents are the biggest shift in software of 2026 — systems that don't just answer, but plan, use tools and act. Here are 20 of the best open-source frameworks to build and run them, all free and self-hostable.

Curated by OpenSourceAI.tech

An AI agent wraps a language model in a loop: it reasons about a goal, calls tools or writes code, observes the result, and keeps going until the job is done. Unlike a chatbot, it takes actions in the real world — your terminal, your browser, your codebase.

Going open-source here matters more than anywhere else: agents touch your files, your data and your infrastructure. Open frameworks let you run everything locally, swap in any model, audit what the agent does, and avoid per-action cloud fees and lock-in.

Multi-agent frameworks

Frameworks that orchestrate several specialised LLM agents working together — the backbone of most agentic apps.

CrewAIMIT
Orchestrate role-playing agent crews.
AutoGenMIT
Microsoft's conversational agent framework.
MetaGPTMIT
A software company of LLM agents.
LangGraphMIT
Stateful, controllable agent graphs.
AgnoMPL-2.0
Fast, lightweight multi-modal agents.
smolagentsApache-2.0
Agents in a few lines of code.
Pydantic AIMIT
Type-safe agents for production.

Autonomous coding agents

Agents that write, run and debug code on real projects — the open-source answer to Devin and Cursor.

OpenHandsMIT
AI developer that writes and runs code.
SWE-agentMIT
Agent that fixes GitHub issues.
AiderApache-2.0
AI pair programming in your terminal.
GooseApache-2.0
On-machine AI agent for engineering tasks.
ClineApache-2.0
Autonomous coding agent in VS Code.

Browser & computer-use agents

Agents that drive a real browser or control your computer to get tasks done on the web.

Browser UseMIT
Let AI agents control your browser.
SkyvernAGPL-3.0
Automate browser workflows with LLMs + vision.
StagehandMIT
AI browser automation on top of Playwright.
Open InterpreterAGPL-3.0
ChatGPT's Code Interpreter on your machine.

Autonomous task agents

The projects that kicked off the agent wave — goal-driven loops that plan and execute tasks on their own.

AutoGPTPolyform Shield
The original autonomous GPT agent.
BabyAGIMIT
Minimal task-loop autonomous agent.
SuperAGIMIT
Dev-first autonomous agent platform.

Agent memory & runtime

Infrastructure to give agents long-term memory and run them reliably in production.

LettaApache-2.0
Stateful agents with long-term memory.

Compare agents head-to-head

Not sure which to pick? See detailed side-by-side breakdowns.

Replacing a proprietary agent?

If you're evaluating closed tools, these guides map each one to its best open-source equivalent.

Frequently asked questions

What is the best open-source AI agent framework in 2026?

For general multi-agent apps, CrewAI, LangGraph and AutoGen are the most widely used. For autonomous coding, OpenHands leads; for web tasks, Browser Use is the popular choice. The right pick depends on whether you need orchestration, coding or browser control.

Can I run AI agents locally?

Yes. Most of these frameworks are model-agnostic and pair with a local runner like Ollama, LM Studio or vLLM, so the entire agent stack can run on your own hardware with no data leaving your machine.

What is the difference between an AI agent and a chatbot?

A chatbot answers questions. An agent plans and takes actions — calling tools, writing and running code, or browsing the web — to complete a multi-step goal, then checks its own results and adapts.

Is there an open-source alternative to Devin or Cursor?

Yes. OpenHands and SWE-agent are the leading open-source autonomous coding agents (Devin alternatives), while Continue, Cline and Void are open alternatives to the Cursor editor.

Explore the full open-source AI stack

Beyond agents — local model runners, image generation, vector databases, fine-tuning and more.

Browse all tools →