Skip to content
DreamBuilds

Best for claude code alternatives

Claude Code alternatives: AI coding agents to compare

Claude Code is Anthropic's coding agent for the terminal and supported editors, and it is not included in Claude's free plan. If you want a free or open-source agent, one that runs on any model, or one that lives inside your editor, these are the DreamBuilds listings to compare. Pricing tiers are shown only when we verified them.

10 tools. Ordered by how directly each listing matches this job, judged from its DreamBuilds description. This is an editorial order, not a benchmark or a test result.

  1. Codex

    OpenAI's coding agent for the terminal, an editor extension, and ChatGPT. The free ChatGPT plan includes limited Codex access.

    The closest swap: OpenAI's agent for the terminal and editors. The free ChatGPT plan includes limited Codex access.

  2. OpenCode

    Open-source coding agent for the terminal, a desktop app, and IDE extensions. Free models are included, or you can connect models from other providers.

    Open source, with a terminal agent, a desktop app and IDE extensions. Free models are included, or connect other providers.

  3. Cusp

    Public preview of a coding agent that works with any model or gateway, from Claude and GPT to local models, and adapts its edit tools to each one. Desktop app and CLI, with turn rewind and parallel worktrees.

    Keeps your setup: it reads CLAUDE.md, AGENTS.md, skills, hooks and MCP servers in place, and runs on any model or gateway. Its free account covers 2,500 agent actions a month on your own keys. Public preview.

  4. Aider

    Open-source pair programmer in the terminal. You bring your own model key.

    Free and open source, in the terminal. You bring your own model key.

  5. Goose

    Open-source coding agent from Block. You bring your own model key.

    Open-source agent from Block. You bring your own model key.

  6. Cline

    Open-source coding agent for VS Code. You bring your own model key.

    If you would rather stay in VS Code: an open-source agent that uses your own model key.

  7. Amp

    Coding agent that can run on remote machines. The Hobby tier is free and can use your own model keys.

    Can run on remote machines. The Hobby tier is free and can use your own model keys.

  8. Vercel fx

    Vercel Labs' open-source coding agent CLI: one small native binary written in Zig that prints into your terminal scrollback, runs from scripts with fx ask, connects to editors over ACP, and embeds in apps. Experimental.

    For scripts, CI and embedding: a small open-source CLI from Vercel Labs that can use Vercel AI Gateway, a ChatGPT or Grok subscription, or another compatible endpoint. Experimental.

  9. Muse Code

    Meta's command-line coding agent for macOS and Windows, built on its Muse models. Several agents work on each task, and plans start at $5 a month.

    Meta's command-line agent, where several agents work on each task. Plans start at $5 a month.

  10. Mirror CLI

    Reflection's coding agent for the terminal, in early beta. It uses Reflection's open-weight Beam model by default and can run parallel agents in separate git worktrees.

    Reflection's terminal agent, in early beta. It uses Reflection's open-weight Beam model by default and runs parallel agents in git worktrees.

FAQ

What is a free alternative to Claude Code?
Aider, OpenCode, Goose and Cline are listed as Free on DreamBuilds. Aider, Goose and Cline use your own model key, and OpenCode includes free models. Amp's Hobby tier is free, and the free ChatGPT plan includes limited Codex access.
Is there an alternative that keeps my CLAUDE.md and skills?
Cusp says it reads CLAUDE.md, AGENTS.md, skills, hooks and MCP servers in place, and works with any model or gateway. It is in public preview.
Can I use my own API key?
Yes. Aider, Goose and Cline use your own model key, Cusp runs on your own keys, and Amp's free Hobby tier can use your own model keys.
How do Claude Code and Codex compare?
See the side-by-side comparison of Claude Code and Codex on DreamBuilds.
Do I have to use the terminal?
No. Cline runs in VS Code, and the Cursor alternatives list covers AI code editors. The terminal coding agents list compares more command-line options.

More lists

Built an AI tool? Get it listed.