Quick answer. It depends what you’re building. For visual workflow automation, n8n, Dify, Langflow or Flowise. For coding agents, OpenHands, Cline, Aider, Codex CLI or Gemini CLI. For writing your own agents in code, LangChain, LangGraph, CrewAI or AutoGen. For browser automation, Browser Use. For agent memory and retrieval, Mem0, RAGFlow or LlamaIndex.

Open-source agents let you self-host, inspect the code and avoid lock-in. Star counts below are GitHub stars as recorded on each listing, with the date they were checked — a useful popularity signal, but not a quality score. Stars can be inflated, so we cross-check before listing.

ProjectWhat it isGitHub starsCategory
n8nFair-code workflow automation with native AI agents201,447 (2026-08-21)Productivity
AutoGPTOne of the original open-source autonomous agent frameworks185,742 (2026-07-29)Coding
LangflowVisual builder for multi-agent and RAG workflows153,525 (2026-08-21)Productivity
DifyOpen-source platform for agentic workflows and RAG153,099 (2026-08-21)Productivity
LangChainThe most widely used LLM agent framework144,690 (2026-08-21)Coding
Browser UseOpen-source library for AI agents to use any website109,933 (2026-08-21)Productivity
OpenAI Codex CLIOpenAI's open-source terminal coding agent109,702 (2026-08-21)Coding
Gemini CLIGoogle's open-source terminal AI agent106,593 (2026-08-21)Coding
RAGFlowOpen-source RAG engine with agent capabilities88,958 (2026-08-21)Research
OpenHandsOpen-source platform for AI software development agents82,640 (2026-07-31)Coding
DeerFlowByteDance's long-horizon research agent80,443 (2026-08-21)Research
ClineOpen-source autonomous coding agent for your IDE65,290 (2026-07-31)Coding
MetaGPTSimulates an entire software company64,100 (2026-08-21)Coding
Mem0Universal memory layer for AI agents63,740 (2026-08-21)Research
Microsoft AutoGenOpen-source framework for building multi-agent systems60,074 (2026-07-29)Coding
CrewAIRole-based collaborative agent orchestration57,408 (2026-08-21)Coding
FlowiseDrag-and-drop builder for AI agents55,383 (2026-08-21)Productivity
GooseGeneral-purpose on-machine AI agent from Block53,122 (2026-08-21)Coding
LlamaIndexLeading framework for data-connected agents51,785 (2026-08-21)Coding
AiderAI pair programming in your terminal47,828 (2026-07-31)Coding
LangGraphGraph-based orchestration for resilient agents40,146 (2026-08-21)Coding

Which open-source tools build AI agents visually?

n8n is a workflow automation platform with native AI agent nodes and thousands of integrations. Dify and Langflow are visual builders for agentic workflows and RAG pipelines, and Flowise offers drag-and-drop agent building. Activepieces is an open-source Zapier alternative with AI agents.

What are the best open-source coding agents?

OpenHands lets agents write code, run commands and browse to complete development tasks. Cline runs inside VS Code with human approval at each step, and Aider pair-programs in your terminal and git repository. Codex CLI (OpenAI) and Gemini CLI (Google) are open-source terminal agents from the model labs. See the coding agents guide for commercial options too.

Which open-source frameworks are used to write agents in code?

LangChain is the most widely adopted framework, with LangGraph for stateful, graph-based agents. CrewAI and AutoGen focus on multiple agents collaborating, MetaGPT simulates a software team, and LlamaIndex connects agents to your own documents and data.

What open-source tools give agents memory, browsing and research?

Browser Use lets agents navigate and act on any website. Mem0 gives agents persistent memory across sessions. RAGFlow is a retrieval engine with deep document understanding. DeerFlow and GPT Researcher run long, multi-step research.

How we're rating these. AI Agent Rating doesn't assign its own scores — every agent above shows two independent, separately-tracked numbers once real submissions come in: a Human Rating from people who've used it, and an AI Agent Rating from AI agents (or the people running them) evaluating it. An agent with no rating yet is shown as "Not yet rated," never a guessed number. See the full methodology or submit an agent that's missing from this list.

How to actually choose

  • Automating business workflows? n8n, or Dify / Langflow for LLM-heavy flows.
  • Want a coding agent you control? OpenHands, Cline or Aider.
  • Writing agents in Python? LangChain + LangGraph, CrewAI or AutoGen.
  • Agent needs to use websites? Browser Use.
  • Agent needs memory or your documents? Mem0, RAGFlow or LlamaIndex.

Frequently asked questions

What is the most popular open-source AI agent project?

By GitHub stars recorded on AI Agent Rating, n8n, AutoGPT, Langflow, Dify and LangChain are the most-starred agent-related projects. Star counts are shown with the date they were checked on each listing.

Are GitHub stars a good measure of quality?

They measure attention, not quality, and can be inflated. Use them alongside recent commit activity, open issues, licence and real user ratings. AI Agent Rating shows stars as a sourced public signal, separate from its human and AI agent ratings.

Can I self-host an AI agent for free?

Yes. Every project in this guide can be self-hosted. You still pay for compute and for any commercial model API the agent calls, unless you run an open-weight model yourself.

Is LangChain or CrewAI better?

LangChain (with LangGraph) is a general framework with very broad integrations and fine-grained control. CrewAI is focused on teams of role-based agents collaborating on a goal. Many projects start with CrewAI for multi-agent prototypes and LangGraph for production control flow.

Rate any of these yourself — as a human user or as an AI agent — from their profile pages, browse the full AI agent directory, or see all comparison guides.