Best self-hosted and open-source AI coding tools

Updated 24 Oct 2026 · Prices from vendor pages only · How we rank →

The short answer

Each of these AI coding tools can run on your own machine or servers, or is open source. OpenHands comes first: MIT-licensed, model-agnostic agent with a web GUI, CLI and SDK. It runs free locally with unlimited conversations, there's a free cloud Individual tier, and the GitHub community is large (about 91K stars). The cheapest verified paid plan here is Kilo Code Teams ($15/user/month). 10 of the 10 have a free plan we could confirm. Every price below is from the vendor’s own page, checked 16–19 Oct 2026.

Ranked shortlist

  1. OpenHands: MIT-licensed, model-agnostic agent with a web GUI, CLI and SDK. It runs free locally with unlimited conversations, there's a free cloud Individual tier, and the GitHub community is large (about 91K stars). Plan: Local (open source): Free
    Unlimited conversations
  2. Aider: Free and open source (Apache-2.0). Works with almost any LLM, including local ones, maps your whole codebase and commits each change to git so it's easy to undo. Plan: Free, open source: you pay only your LLM provider
  3. Gemini CLI: Google's open-source terminal coding agent powered by Gemini. Plan: Open source (Apache-2.0); sign in with a Google account or use a Gemini API key
  4. Kilo Code: Open-source coding agent for VS Code and JetBrains. Plan: Free & Open Source: Free
  5. Dyad: Free, local, open-source app builder; bring your own model keys. Plan: Dyad Free: Free
  6. OpenCode: Open-source terminal coding agent supporting many models. Plan: Open source; free models included or bring any provider
  7. vibe-wise: Claude Code/Codex plugin that teaches you to build while AI writes the code. New open-source launch on GitHub. Plan: Open source (MIT)
  8. scroll-craft: Agent skill for building premium scroll-driven websites. New open-source launch on GitHub. Plan: Open source (MIT)
  9. shadcn lint: Agent-first linter for Tailwind design systems. New open-source launch on GitHub. Plan: Open source (MIT)
  10. jevgrep: CLI for coding agents to find code by asking what it does. New open-source launch on GitHub. Plan: Open source (MIT)

Order follows ToolRank’s editorial ranking in Coding & App Building, filtered to tools that fit this page. Anything we couldn’t confirm on a vendor page says “Not yet verified”.

Side by side

RankToolRelevant planStarting priceFree planBest forMain limitationLast checked
#1OpenHandsLocal (open source): Free
Unlimited conversations
Not yet verifiedOpen source: free, unlimited local use. Cloud Individual: free, 10 conversations/day, BYOK or at-cost modelsTeams that want an autonomous agent they can self-host and auditThe free cloud tier caps you at 10 conversations a day, and you pay your own LLM costs (BYOK, or OpenHands' provider at cost).16 Oct 2026
#2AiderFree, open source: you pay only your LLM providerNot yet verifiedFree, open source: you pay only your LLM providerTerminal users who want a free, model-agnostic pair programmer with clean git historyYou bring and pay for your own model API, and there's no GUI. The GitHub repo had its last push on 22 May 2026, so check the release cadence before you rely on it.16 Oct 2026
#3Gemini CLIOpen source (Apache-2.0); sign in with a Google account or use a Gemini API keyNot yet verifiedOpen source (Apache-2.0); sign in with a Google account or use a Gemini API keyTerminal users who want Google's open-source coding agentThe README says it is not optimised for the latest Gemini models and points to Antigravity CLI17 Oct 2026
#4Kilo CodeFree & Open Source: Free$15/user/month (Teams)Free and open source; AI usage billed separatelyOpen-source coding agent with any modelModel usage costs extra16 Oct 2026
#5DyadDyad Free: Free$20/month (Dyad Pro)Dyad Free: free, open-source desktop appBuilding apps locally with any modelDesktop app only16 Oct 2026
#6OpenCodeOpen source; free models included or bring any providerNot yet verifiedOpen source; free models included or bring any providerTerminal users wanting an open-source coding agentYou pay your model provider for paid models16 Oct 2026
#7vibe-wiseOpen source (MIT)Not yet verifiedOpen source (MIT)Beginners who want to learn how their app is built while an AI agent writes the codeA plugin, not an app: you need Claude Code or Codex19 Oct 2026
#8scroll-craftOpen source (MIT)Not yet verifiedOpen source (MIT)Developers using coding agents to build immersive, scroll-driven marketing websitesNeeds a coding agent that supports skills19 Oct 2026
#9shadcn lintOpen source (MIT)Not yet verifiedOpen source (MIT)Teams that want coding agents to follow their Tailwind design-system rulesOnly useful for Tailwind-based design systems19 Oct 2026
#10jevgrepOpen source (MIT)Not yet verifiedOpen source (MIT)Coding agents and developers finding files by describing what the code doesA young CLI tool aimed at agent workflows19 Oct 2026

Prices as listed by each vendor on the last-checked date, USD, before tax. Plans and limits change, so follow the sources below.

Who should pick which

Pick OpenHands for teams that want an autonomous agent they can self-host and audit (Local: open source) (Free); think twice if you want an inline autocomplete assistant inside your editor. Pick Aider for terminal users who want a free, model-agnostic pair programmer with clean git history (free plan: Free, open source: you pay only your LLM provider); think twice if you want a polished IDE, a hosted service, or one bundled subscription. Pick Gemini CLI for terminal users who want Google's open-source coding agent (free plan: Open source (Apache-2.0); sign in with a Google account or use a Gemini API key). Watch out: the README says it is not optimised for the latest Gemini models and points to Antigravity CLI. Pick Kilo Code for open-source coding agent with any model (Free & Open Source: Free). Watch out: model usage costs extra. Pick Dyad for building apps locally with any model (Dyad Free: Free). Watch out: desktop app only. Pick OpenCode for terminal users wanting an open-source coding agent (free plan: Open source; free models included or bring any provider). Watch out: you pay your model provider for paid models. Pick vibe-wise for beginners who want to learn how their app is built while an AI agent writes the code (free plan: Open source (MIT)). Watch out: a plugin, not an app: you need Claude Code or Codex.

FAQ

Which of these is cheapest?

Kilo Code Teams ($15/user/month) is the lowest paid price we verified on this list (https://kilo.ai/pricing, checked 16 Oct 2026). Check the vendor page for tax, billing period and usage limits.

Which of these have a free plan?

OpenHands: Open source: free, unlimited local use. Cloud Individual: free, 10 conversations/day, BYOK or at-cost models; Aider: Free, open source: you pay only your LLM provider; Gemini CLI: Open source (Apache-2.0); sign in with a Google account or use a Gemini API key; Kilo Code: Free and open source; AI usage billed separately; Dyad: Dyad Free: free, open-source desktop app; OpenCode: Open source; free models included or bring any provider; vibe-wise: Open source (MIT); scroll-craft: Open source (MIT); shadcn lint: Open source (MIT); jevgrep: Open source (MIT).

How were these tools chosen?

They are the tools in ToolRank's rankings with self-hosting, local use or an open-source licence stated by the vendor, confirmed on the vendor's own website on 16–19 Oct 2026. Tools we could not verify are left out rather than guessed, and anything unconfirmed is marked Not yet verified.

Sources

Related comparisons

Profiles: OpenHands · Aider · Gemini CLI · Kilo Code · Dyad · OpenCode · vibe-wise · scroll-craft · shadcn lint · jevgrep

More best-of lists

Some links may be affiliate links. They never affect rank.

Get the weekly ToolRank brief

New AI tools, verified price changes and fresh comparisons. One email a week. Unsubscribe anytime.