Best free / open-source coding agent (2026)

How we rank: output quality on real builder tasks (40%) · fit for the use case (25%) · pricing & free-tier value (15%) · openness / lock-in (10%) · momentum & maintenance (10%). Editorial judgment, not lab benchmarks; paid placement never changes order. Methodology
  1. Aider Open source
    Battle-tested open-source CLI pair programmer; you pay only your model API.
  2. Cline Open source
    Popular open-source VS Code agent; costs track your API usage.
  3. Gemini CLI Open source
    Google's open-source terminal agent with a free tier; good to try at no cost.
  4. OpenHands Open source
    Leading open-source autonomous software agent; heavier to run.
  5. goose Open source
    Block's open-source local agent; extensible and model-agnostic.
  6. Kilo Code Open source
    Open-source agent combining ideas from Cline and Roo.

Other rankings: Best AI coding agent · Best AI code editor · Best vibe coding app builder · Best agent framework · Best AI for game dev assets