Free AI Coding Agents That Actually Work (2026)

Every coding agent you can run for $0 today, CLI and IDE, with the exact free route, its limit and the catch. Checked on vendor pages on October 29, 2026, plus a logged OpenCode run on a free model.

Ryan Mitchell

Ryan Mitchell

3 November 2026

Free AI Coding Agents That Actually Work (2026)

Quick answer: Free AI coding agents exist, but “free” means one of three things. Seven agents have a $0 plan with a vendor quota (GitHub Copilot, Google Antigravity, Jules, Kiro, Cursor, Devin Desktop and Codex in the ChatGPT app). Two pair free software with free hosted models (OpenCode, Kilo Code). The rest are free software that runs on your own model.

A coding agent is a program that reads your repository, edits files and runs commands in a loop until a task is done. Every route below was checked on its vendor’s pricing or docs page on October 29, 2026. Where a free route has died, we say so instead of listing it.

This is the hub page for our free series. The single-model guides go deeper on Claude Sonnet 5.5, GPT-6.1 Sol, DeepSeek V4.1 Flash and OpenCode’s free models. If you end up running more than one of these agents, Sharkly puts them on one task board, covered at the end.

The free AI coding agents table

Agent Type Free route Limit Catch
GitHub Copilot IDE + CLI Copilot Free, $0 2,000 completions a month, “Limited chat and agent usage” Cloud agent “Not included”
Google Antigravity Desktop app + CLI Individuals plan, $0/month “Basic weekly rate limits,” no number published Quota size is not public
Jules Cloud agent Base plan 15 tasks per rolling 24 hours, 3 concurrent Works on GitHub repositories
Kiro IDE + CLI Free, $0 50 credits a month Claude Sonnet 4.5 and open weight models only
Cursor IDE Free plan “Limited usage,” no number Cursor models (Grok and Composer) only
Devin Desktop (formerly Windsurf) IDE Free, $0 “Light quota to code with agents” “Limited model availability”
Codex Desktop app ChatGPT Free GPT-6 Luna, Standard speed App only, “subject to rollout”; CLI starts at Plus, $20
OpenCode CLI Free Zen models Unpublished usage limit Free “for a limited time”; data terms vary per model
Kilo Code IDE + CLI Auto Free routing Not published Routes to free models “where available”
Cline IDE + CLI Open source, free for individuals Your model’s limits You pay for inference unless the model is free
OpenHands Self-hosted Agent Canvas, MIT Your model’s limits You bring the model
Aider CLI Open source + local model Your hardware Ollama’s 2k default context drops data
Codex CLI --oss CLI Open source + Ollama or LM Studio Your hardware A local model does the work, not OpenAI’s
Claude Code + Ollama CLI Free install, Ollama-served model Your hardware It is no longer Claude

What “free” means for a coding agent

There are three ways a coding agent costs you nothing, and each one fails in a different place.

Three ways a coding agent runs for $0: a vendor free plan with a resetting quota, a free hosted model that is limited-time with varying data terms, and your own model on your own hardware.

A vendor free plan. The vendor runs the agent and the model and caps how much you use. You need no key and no GPU. You stop when the quota runs out, and most vendors do not publish the number.

Free software with a free hosted model. The agent is open source and a gateway serves some models at $0. These models rotate, carry “limited time” labels, and some providers may use your prompts to improve the model.

Free software with your own model. You run the model locally through Ollama or LM Studio. There is no bill. You pay in hardware and in quality, because agent loops need long context and reliable tool calls, and small local models retry more. Our post on when cheap models cost more covers that trade.

Coding agents with a real free plan

GitHub Copilot Free

Copilot Free costs $0 and includes 2,000 completions a month. GitHub’s plans page says “Free plan supports CLI and agent mode,” so you get agent mode in your editor and Copilot CLI in the terminal. The cloud agent that turns an issue into a pull request is “Not included.” Details: Is GitHub Copilot free?

Google Antigravity

Antigravity’s Individuals plan is “$0/month” with “Unlimited Tab completions,” “Unlimited Command requests” and “Basic weekly rate limits.” Google gives no number for the weekly limit. This is now Google’s free terminal route too: see the Gemini CLI note below. Details: Is Antigravity free?

Jules

Jules is Google’s asynchronous agent: it clones a GitHub repository into a cloud VM, plans, edits and opens a pull request. The base plan allows 15 tasks per rolling 24 hours and 3 concurrent tasks. That is the most generous published number on this list. Details: Jules free tier

Kiro, Cursor and Devin Desktop

Kiro Free gives 50 credits a month on Claude Sonnet 4.5 and open weight models; Pro is $20. Cursor’s Free plan runs “Agent, Chat, and Tab completions with Cursor models (Grok and Composer)” with limited usage. Devin Desktop, the new name for Windsurf, lists a “Light quota to code with agents.” All three are fine for trying the editor and too small for daily agent work. Details: Kiro, Cursor, Windsurf.

Codex on ChatGPT Free

OpenAI’s pricing page includes Codex on ChatGPT Free as “GPT-6 Luna at Standard speed in the desktop app, subject to rollout.” The CLI and IDE extension start at Plus, $20 a month. Details: Is Codex free?

Free software, free hosted models

OpenCode

OpenCode is an MIT-licensed terminal agent, and its Zen gateway lists ten models priced Free today, including DeepSeek V4.1 Flash Free and GLM-5.3-Flash Free. Every one is free “for a limited time.” Data terms differ: the DeepSeek and GLM providers follow “a zero-retention policy,” while Big Pickle’s free period means “collected data may be used to improve the model.”

We ran it today. On October 29, 2026, OpenCode 1.19.3 with opencode/deepseek-v4.1-flash-free, no account and no auth.json, fixed a broken slugify() function, wrote three pytest cases and ran them:

opencode run -m opencode/deepseek-v4.1-flash-free \
  "slugify() in slug.py keeps punctuation and double hyphens. Fix it so \
  'Hello, World!  Again' becomes 'hello-world-again', add test_slug.py \
  with 3 pytest cases, then run python3 -m pytest -q."
# 48 s wall clock, exit 0: "3 passed in 0.01s"

That is one small task, not a benchmark. On October 23 the same free models returned “Free usage limit reached” on the first request, as logged in our OpenCode free models post. The limit exists and is not published, so plan for both outcomes.

Kilo Code

Kilo Code’s extensions for VS Code, JetBrains and the CLI are free and open source. Its Auto Free option costs $0 and “routes to free models through Kilo Gateway where available.” The page names no models and no limit.

Free software, your own model

Cline is free for individual developers under its Open Source tier. Inference is usage-based, so the agent costs $0 only on a free or local model. Details: Is Cline free?

OpenHands Agent Canvas is “Open source and free to self-host.” You bring the model. Details: Is OpenHands free?

Aider connects to local models through Ollama. Its docs warn that Ollama “uses a 2k context window by default” and “silently discards context that exceeds the window,” so start the server with a bigger window:

OLLAMA_CONTEXT_LENGTH=8192 ollama serve
aider --model ollama_chat/<model>

Codex CLI has an --oss flag that points it at a local provider, lmstudio or ollama. Same CLI, local model.

Claude Code installs for free and can run against Ollama with ollama launch claude. Ollama’s docs ask for a “64k+ context window” on local models and say hosted WebSearch is “not fully supported.” You keep the Claude Code workflow; the model is no longer Claude.

Free routes that are gone

  • Gemini CLI’s free tier. The README says free individual access “moved to Antigravity CLI on June 18, 2026.” The CLI is still open source; the free usage now lives in Antigravity. Details: Is Gemini CLI still free?
  • Qwen Code’s OAuth free tier. Its auth guide says it “was discontinued on 2026-04-15.” Qwen Code now needs a provider you configure. Details: Is Qwen Code free?
  • Claude Code on a free Claude account. This was never a route. Anthropic’s setup docs say “The free claude.ai plan does not include Claude Code access.” Details: Is Claude Code free?

How to pick a free coding agent

Use a vendor free plan when you want zero setup and your work fits a small quota: Jules for background pull requests, Copilot Free for editor work.

Use OpenCode or Kilo Code with a free hosted model when you want a terminal agent with no GPU, and your code can go to the provider named in the data terms.

Use a local model when the code cannot leave your laptop, or when you need a route that no vendor can switch off. Expect slower loops and size the context window first.

For a side-by-side of the tools people switch from, see free Codex, Cursor and Claude Code alternatives.

Where Sharkly fits

You already have coding agents. Sharkly turns them into a team. It does not replace any agent on this list and does not make any model free.

Select Runtime in a Sharkly Agent's settings: Claude Code, Codex, OpenCode and Hermes detected on one connected Computer.

You connect a Computer with sharkly computer register, and Sharkly detects the Runtimes installed on it: Claude Code, Codex, OpenCode, Hermes and more, per the Computers docs. Each Agent runs on one Runtime, so an OpenCode Agent on a free Zen model and a Claude Code Agent on your Pro plan can pick up Tasks from the same board. Model usage stays on the account each Runtime already uses: “Sharkly does not sell tokens.”

The pricing page says “Free covers organizations of up to 5 people,” and “Guests, Agents, and Computers do not occupy seats.” The Sharkly pricing explainer has the rest.

Next step: pick one free agent from the table, then connect it to Sharkly and assign it a real Task.

FAQ

What is the best free AI coding agent?

For published limits, Jules: 15 tasks a day and 3 at once. For terminal work with no setup, OpenCode on a free Zen model, while the free models last. For a route nobody can take away, Aider, Cline or Codex CLI on a local model.

Is there a completely unlimited free coding agent?

Only on your own hardware. Every hosted free route on this list has a quota, and most do not publish it.

Is Claude Code free?

No. Claude Code is free to install, but Anthropic requires a Pro, Max, Team, Enterprise or Console account. You can run it on a local model through Ollama, which means it is no longer Claude.

Is Gemini CLI still free?

Not for individuals. Since June 18, 2026, free individual access lives in Antigravity CLI.

Do free coding agents train on my code?

It depends on the model provider. OpenCode lists per-model terms: some free models are zero-retention, others say collected data “may be used to improve the model.” Read the terms before you send private code.

Can I run several free coding agents together?

Yes. Each agent keeps its own quota. Sharkly’s Free plan covers up to 5 people, and Agents and Computers do not take seats.

Explore more

Prompt Injection in Tables: How Plain Data Hijacks AI Agents

Prompt Injection in Tables: How Plain Data Hijacks AI Agents

Can prompt injection in tables hijack your AI agent with no instruction in it? Learn why hardened models fall for plain data and what stops it.

27 November 2026

How to Turn a Claude Code Session Into a Skill With skill-distill

How to Turn a Claude Code Session Into a Skill With skill-distill

Need a Claude Code session to skill workflow? Learn how to distill a successful run and test the resulting skill on an open-weight model.

27 November 2026

How to Add MCP Servers to a Sharkly Agent

How to Add MCP Servers to a Sharkly Agent

Want to add an MCP server to an agent? Learn how a Sharkly Agent gets a keyless docs server, passes the connectivity check and uses it in a run.

27 November 2026

Free AI Coding Agents That Actually Work (2026)