Open-source AI coding agents and editors
These are the coding agents and AI editors in our directory that are marked open source. Open source means you can read the code, and usually fork it, self-host it or run it in a locked-down environment. The agent being open source doesn't make the model free: most of these connect to hosted models through an API key or subscription, and some can also use local models.
AI Coding Agents (CLI)
- OpenAI Codex CLI: OpenAI's lightweight coding agent that runs in your terminal. Official site
- Aider: AI pair programming in your terminal, git-aware. Official site
- Gemini CLI: Google's open-source AI agent for the terminal. Official site
- OpenCode: Open-source coding agent for the terminal, IDE or desktop that works with many model providers. Official site
- OpenHands: Open-source (MIT core) platform for building and running AI coding agents locally or in the cloud. Official site
- Goose: Open-source, extensible AI agent with a desktop app, CLI and API that works with any LLM. Official site
- Freebuff: Free, ad-supported terminal coding agent from the Codebuff team, with desktop, web and cloud versions. Apache-2.0 on GitHub. Official site
- Qwen Code: Open-source AI coding agent for the terminal from Alibaba's Qwen team, tuned for Qwen3-Coder models. Apache-2.0. A 1.0 Preview branch (Nov 2026) merges in agent capabilities from Alibaba's Qoder, with native macOS, Linux and Windows packages. Official site
- Kimi Code CLI: Moonshot AI's terminal coding agent that reads and edits code and runs shell commands, built for Kimi models and other compatible providers. MIT. Official site
- Mistral Vibe: Mistral's coding agent for the terminal (the Vibe CLI is open source under Apache-2.0), with a free tier and a Pro plan. Official site
- Letta Code: Letta's open-source stateful agent harness with a CLI: agents keep memory, skills and context across sessions. Apache-2.0. Official site
- Claude Squad: Open-source terminal app that runs several coding agents like Claude Code, Codex, Gemini CLI and Aider at once, each in its own git workspace. Official site
- gptme: Open-source agent in your terminal that writes code, runs shell commands and browses the web using local tools. Official site
- SWE-agent: Open-source research agent from Princeton and Stanford that takes a GitHub issue and tries to fix it with the language model of your choice. Official site
- mini-swe-agent: Minimal open-source agent from the SWE-agent team that solves GitHub issues or helps in your command line, with almost no configuration. Official site
- Warp: Agentic development environment built around a modern terminal, with the Warp Agent CLI; source on GitHub under AGPL-3.0. Free $0, Build $20/mo, Max $200/mo per its pricing page. Official site
- DeepSeek Harness: Open-source (MIT) agent harness from DeepSeek with a desktop app, Web UI and CLI (dsh), built on an everything-is-a-plugin architecture; public preview. Needs a DeepSeek API key for model access per its docs. Official site
- Every Code: Community Apache-2.0 fork of OpenAI Codex CLI with multi-agent Auto Drive, browser integration, MCP support and Auto Review. Install via npm as @just-every/code (also as coder). Official site
- Pi: Minimal, extensible open-source (MIT) terminal coding agent harness: extensions, skills, prompt templates, many model providers, plus print/JSON, RPC and SDK modes. Official site
- Autohand Code: Open-source (Apache-2.0) code agent for the terminal, VS Code, Zed and Slack: plan mode before edits, agent teams, Unix pipe mode with JSON output, MCP support, 15+ model providers or local models (Ollama, llama.cpp, MLX). Free plan plus paid tiers. Official site
- Pax (Pydantic AI): Pydantic's official coding agent for the terminal, built on the Pydantic AI Harness SDK: reads code, edits files and runs commands with every step shown, works with any model, and treats everything (the coding agent, sandboxes, MCP, Logfire tracing) as a plugin; point it at your own Pydantic AI agent with --agent. MIT, in beta; try it with uvx pydantic-ai-pax. Official site
AI IDEs & Editors
- Zed: High-performance, multiplayer editor with built-in AI. Official site
- Cline: Open-source autonomous coding agent for VS Code. Official site
- Kilo Code: Open-source AI coding agent for VS Code, JetBrains, the CLI and the cloud. Official site
Things to check before you pick one
- License. Open-source licenses differ, and some projects keep parts of the product (like a hosted cloud) closed. Read the license in each repository.
- Model support. See which model providers each tool supports, and whether it can run with local models.
- Where your code goes. Even with an open-source agent, your code is sent to whichever model provider you connect. Read that provider's data policy.
- Project activity. Look at recent releases and open issues on GitHub to see how actively it's maintained.
Related guides
- Self-hosted AI coding agents
- AI coding agents that run in your terminal
- Run AI coding models on your own hardware
- Free AI coding tools and agents
- Claude Code vs OpenAI Codex CLI
Missing an open-source tool? Submit it for free.