Claude Code alternative

The best open-source Claude Code alternative (2026)

In short: agentty is a drop-in, open-source alternative to Claude Code: sign in with the same Claude Pro/Max plan, or use ChatGPT, GitHub Copilot, Kimi, any API key or a local Ollama model, all from a single 23.1 MB native binary.

If you like Claude Code's terminal-first workflow but want something open source, faster, and not locked to a single provider, agentty is built for exactly that.

Why people look for a Claude Code alternative

  • They want an open-source agent they can read, self-host, and contribute to.
  • They want to use providers other than Anthropic: their ChatGPT or Copilot plan, OpenAI, DeepSeek, Gemini, or a fully local Ollama model.
  • They want something lighter: Claude Code takes 635 ms to be ready and 152 MB of memory while idle.
  • They want stronger isolation — a sandbox around shell and build commands by default.

How agentty compares

agentty keeps the part you like — a fast, keyboard-driven terminal agent — and changes the parts that matter for power users:

launch → ready to type lower is better
  1. agentty47 ms
  2. Claude Code635 ms14×
memory while idle lower is better
  1. agentty21 MB
  2. Claude Code152 MB7.2×
on disk, with runtime lower is better
  1. agentty23 MB
  2. Claude Code325 MB14×

median of 10 launches · same machine · fresh install, no login · method & all numbers

  • Single static binary. 23.1 MB, ready to type in 47 ms, idles at 21 MB, no Node, no Python, no Electron.
  • Bring your own model. Sign in with your existing Claude Pro/Max, ChatGPT, GitHub Copilot or Kimi plan, use an API key for OpenAI, DeepSeek, Gemini, Groq or OpenRouter, or point it at local Ollama.
  • Sandboxed by default. Shell and build calls run isolated; air-gap a whole session over SSH with one command.
  • Runs in Zed and JetBrains over ACP, and speaks MCP.
  • Open source (MIT).

Full side-by-side: agentty vs Claude Code.

Install in one line

bash
curl -fsSL https://agentty.org/install.sh | sh

No Node, no Python — just a single static binary.

Is it really a drop-in replacement?

For the core loop — chat, read/edit files, run commands, retrieve from your repo — yes. If you depend on a Claude-Code-only feature the day it ships, keep Claude Code for that. For everyone who wants an open, fast, multi-provider agent, agentty is the alternative to try first.

Keep your history

Switching doesn't mean starting over. agentty lists your Claude Code conversations in its thread list (Ctrl+J), and you can open one and continue it. Your CLAUDE.md, .claude/ skills, subagents and slash commands are read from the same places, and agentty mcp import --from claude brings your MCP servers. See Coming from Codex or Claude Code.

Install in one line — a single static binary, no Node or Python.

curl -fsSL https://agentty.org/install.sh | sh