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.
Frameworks that orchestrate several specialised LLM agents working together — the backbone of most agentic apps.







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





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




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



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

Not sure which to pick? See detailed side-by-side breakdowns.
If you're evaluating closed tools, these guides map each one to its best open-source equivalent.
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.
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.
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.
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.
Beyond agents — local model runners, image generation, vector databases, fine-tuning and more.
Browse all tools →