The best open-source AI agents in 2026 are OpenCode (terminal, MIT), Cline (in-editor, Apache-2.0), Hermes Agent (autonomous, MIT), and Aider (the git-native veteran). Two catches most lists skip: an open-source agent is not a free setup (the model behind it is the real bill), and open-source agent does not mean open model; most people run closed frontier models through these tools. What open source actually buys you is auditability and provider freedom: no vendor pricing change can strand your workflow.
Rankings combine editorial testing with live community votes · Updated 2026-10-14
The git-native veteran of open-source coding AI: strong benchmark history and clean, revertable commits with any LLM. Development has been quiet since May 2026 (last release in February), so it is dependable but no longer evolving; check recent activity before betting a team workflow on it.
Apache-2.0 and the most-installed open-source coding agent, with BYOK, MCP integration, and deployment up to air-gapped environments.
Nous Research's MIT-licensed self-improving agent: inspect exactly what it learns and executes, with no telemetry and full self-hosting.
Open-source terminal agent with the best TUI in the category, multi-provider model support, and LSP-grade code intelligence.
Open-source VS Code extension with transparent prompts and token accounting, so you see everything it sends and spends.
OpenAI's CLI is fully open source: sandboxed execution you can audit, with model usage bundled into ChatGPT plans.
Apache 2.0 licensed with a 1M-token context window. Its free tier ended in June 2026, so it now runs on a paid Gemini Code Assist licence or Gemini API key; pick it if your team already pays Google.
The most viral open-source agent of 2026: MIT licensed, 100+ skills, local-first, and now stewarded by an independent foundation.
Every agent on this page runs on Standard Compute
Auditability (you can read what it executes, which matters for agents that run shell commands), model freedom (cloud, local, or flat-price providers), privacy (local models keep code on your machine), and immunity to the pricing changes that have repeatedly hit closed tools like Cursor.
Yes. Cline, Aider, Kilo Code, OpenCode and Pi all work with local models via Ollama or similar. Expect lower output quality than frontier models; most developers run local for sensitive code and a hosted frontier model for everything else.
Mixed models: some have commercial offerings (OpenCode's Go plan and Zen gateway, Cline's enterprise tier), some are company-backed (Kilo Code, Cline), some are community-driven. Maintenance varies more than it did a year ago: Roo Code shut down in May 2026, Continue went read-only after its team joined Cursor, and Aider has been quiet since May, while OpenCode and Cline ship new releases most weeks. Check each repo's recent commit history before betting a team workflow on one.
The tool: $0. The model: anywhere from $0 (local via Ollama, or free-tier models) to $150–250/month for daily agentic use on metered frontier APIs. In between sit $10–20 open-model plans and flat-rate routed plans from $19/mo. The open-source advantage is you can switch between all of these without changing your agent.