Skip to main content
Back

OpenClaude Hits 30K Stars Letting Developers Swap GPT-4o for Any Model

A community fork of Claude Code drops the single-vendor lock-in, wiring the same terminal agent loop to OpenAI, Gemini, DeepSeek, Ollama and 200+ models.

Repo, Full Access
  • OpenClaude forks Claude Code into a provider-agnostic coding-agent CLI, now at 30k+ stars.
  • Supports OpenAI, Gemini, DeepSeek, Ollama, Codex, GitHub Models, and 200+ OpenAI-compatible endpoints.
  • Preserves the original React/Ink terminal UI, tool loop, MCP, slash commands, and streaming output.
  • Ships background sessions, PageRank-based repo map, per-agent model routing, and a headless gRPC server.
  • Install via npm i -g @gitlawb/openclaude on Node.js 22+; bundled VS Code extension included.
  • MIT-licensed community project, explicitly not affiliated with Anthropic.

A TypeScript project called OpenClaude has crossed 30,000 GitHub stars by doing something conceptually simple but useful: taking the Claude Code CLI and rewiring it so the same agent loop can drive any model you want, from GPT-4o to a local Qwen running on Ollama.

The codebase originated as a fork of Claude Code and has since been substantially modified to support multiple providers and open use. It is MIT-licensed for its own modifications, unaffiliated with Anthropic, and ships as a single npm package you install globally.

One terminal, many brains

OpenClaude works with OpenAI-compatible APIs, Gemini, GitHub Models, Codex OAuth, Ollama, Atomic Chat, and other supported backends while keeping one terminal-first workflow: prompts, tools, agents, MCP, slash commands, and streaming output.

According to the architecture notes, the design goal is a provider abstraction layered on top of the existing runtime. The React-based terminal UI (built on a custom Ink renderer) and complex tool-calling loops from Claude Code stay intact, while the model behind the curtain becomes your choice. Users get the same tool suite they already know, running against whatever backend fits the task.