Best free AI coding agents

Fully free open-source agents, plus the free plans of the big commercial tools — with what “free” actually includes.

Short answer: for an agent that is free forever, use an open-source one such as OpenCode, Aider, OpenHands, Cline, Kilo Code and pay only for model tokens (or run a local model). For a free plan with models included, start with GitHub Copilot Free, Cursor Hobby, Google Antigravity or Kiro; all are usage-capped.

Free and open source (5)

The software costs nothing; you connect your own model provider API key, so cost depends on usage.

ToolWhere it runsFree optionBring your own keyVerified
OpenCodeTerminal (TUI) · Desktop app · IDE extensionOpenCode: Free — Bring your own model/provider; some free models included✓ Yes2026-10-10
AiderTerminal · Works with any editor via file-watch commentsAider: Free — Pay only your model provider (BYOK)✓ Yes2026-10-10
OpenHandsWeb GUI (local or cloud) · CLI · SDKOpen source (local): Free — Run OpenHands yourself✓ Yes2026-10-10
ClineVS Code extension · CLI · JetBrains (Enterprise)Open source: Free — Pay only for inference (BYOK or Cline provider at cost)✓ Yes2026-10-10
Kilo CodeVS Code extension · JetBrains extension · CLIFree & open source: $0 — Usage billed separately (BYOK, local or Kilo Gateway)✓ Yes2026-10-10

Commercial agents with a free plan (12)

Models are included, but free usage is limited; paid tiers raise the limits.

ToolWhere it runsFree optionBring your own keyVerified
CursorDesktop editor (VS Code fork) · CLI · Web (cloud agents)Hobby: Free — Limited Agent requests✓ Yes2026-10-10
OpenAI CodexTerminal (Codex CLI) · IDE extension · Web / ChatGPTChatGPT Free / Go: Included (limited) — Codex is included in all ChatGPT plans✓ Yes2026-10-10
GitHub CopilotVS Code, Visual Studio, JetBrains, Xcode, Eclipse, Neovim, Zed · Copilot CLI · github.com & GitHub MobileFree: $0 — 2,000 completions and 50 chat requests per monthCheck site2026-10-10
Google AntigravityAntigravity desktop app / IDE · Antigravity CLI · IDE extensionsIndividual: $0 — Unlimited Tab completions and Command requests; basic weekly agent limits— No2026-10-10
WarpTerminal app (macOS, Linux, Windows) · Cloud agentsFree: $0 — Terminal plus limited AICheck site2026-10-10
ZedNative desktop editor (macOS, Linux, Windows)Personal: $0 — 2,000 accepted edit predictions; unlimited with your own keys or external agents✓ Yes2026-10-10
DevinDevin Cloud (web) · Devin Desktop · Devin CLIFree: $0 — Light agent quota (Desktop)— No2026-10-10
JetBrains AI (Junie & AI Assistant)IntelliJ IDEA, PyCharm, WebStorm, GoLand, Rider and other JetBrains IDEsAI Free: $0 — Limited AI usage✓ Yes2026-10-10
SweepJetBrains IDEs pluginFree trial: $0 — 1,000 autocompletes + $5 API credits— No2026-10-10
KiroKiro IDE (VS Code-based) · Kiro CLIFree: $0 — Starter credits— No2026-10-10
AmpTerminal (Amp CLI) · Remote 'orbs' (cloud runners) · Editor integrationsHobby: Free — All features; BYOK or your ChatGPT/Claude subscriptions; pay-as-you-go orbs✓ Yes2026-10-10
JulesWeb · GitHub (issue label) · CLIJules (free): $0 — 15 tasks/day, 3 concurrent— No2026-10-10

Free AI app builders (4)

ToolWhere it runsFree optionBring your own keyVerified
Replit AgentBrowser IDE · Mobile appStarter: Free — Try Replit Agent with limits — check site— No2026-10-10
LovableWeb appFree: $0 — 5 build credits/day (up to 30/month) + 20 Cloud credits— No2026-10-10
v0Web app · iOS appFree: $0 — 7 messages/day; deploy to Vercel— No2026-10-10
BoltWeb app (in-browser WebContainers)Free: $0 — 300K tokens/day, 1M tokens/month— No2026-10-10

Free AI code review (2)

ToolWhere it runsFree optionBring your own keyVerified
GreptileGitHub, GitLab, Bitbucket, Gitea (PR comments) · CLIStarter: Free — 50 credits/month, 1 active developer— No2026-10-10
GraphiteGitHub · Graphite CLI · Web dashboardHobby: Free — Personal projects— No2026-10-10

Data comes from our tools.json; each tool page links its official pricing page. Discontinued tools (e.g. Supermaven, Continue, Amazon Q Developer) are excluded.

FAQ

What is the best free AI coding agent?
For a completely free, open-source agent with no subscription, Cline, Kilo Code, Aider, OpenCode and OpenHands are the strongest picks: the software is free and you pay only your model provider (or run a local model). If you want a free plan from a commercial product instead, GitHub Copilot Free, Cursor Hobby, Google Antigravity and Kiro offer limited free usage.
Are free AI coding agents really free?
Open-source agents cost nothing to install, but they call an LLM that usually bills per token unless you bring a free or local model. Free plans of commercial tools are capped by request or credit limits and upgrade to paid tiers.
Which free AI coding agent works in the terminal?
Aider and OpenCode are free, open-source terminal agents. Warp also has a free plan, and Amp offers a free Hobby tier.
Can I use a free AI coding agent with local models?
Yes. Bring-your-own-key open-source agents such as Cline, Kilo Code, Aider and OpenCode can point at a local model server, so the whole setup can be free. Check each tool's docs for supported providers.