OpenClaude
OpenClaude is an open-source terminal coding agent that keeps one Claude-Code-style loop across many model backends. The project says it originated from the Claude Code codebase and is not affiliated with Anthropic. License is MIT for contributor modifications; the derived Claude Code remains Anthropic's. The CLI itself is $0. Models are billed by the provider you attach.
Compare Claude Code if you wanted Anthropic's first-party CLI, OpenCode if you wanted another open harness, and Cline if you wanted a $0 individual VS Code/CLI agent plus BYOK.
Key Features
- One CLI, many backends: OpenAI-compatible APIs, Gemini, GitHub Models, Codex OAuth, Ollama, Xiaomi MiMo, OpenCode Zen/Go, and others via
/provider. - Coding-agent surface: bash, file tools, grep, glob, agents, tasks, MCP, slash commands, streaming, and a bundled VS Code extension.
- Saved profiles:
/providerwrites.openclaude-profile.json. Fresh installs store config under~/.openclaude, not~/.claude. - Background jobs:
openclaude --bgruns a detached local child process. That is not a hosted daemon. - Yolo flag:
--dangerously-skip-permissionsmatches the Claude Code-style skip. Use only in a trusted workspace.
Limitation: tool quality still depends on the model. Smaller local models often fail long multi-step tool loops. Anthropic-only features may be missing on other providers.
Use Cases
- People who want a Claude Code-like TUI but will attach OpenRouter, Ollama, or another key.
- People migrating off
.claudepaths who will copy only their own OpenClaude files, not Anthropic credentials. - People comparing open harnesses before paying for Claude Code.
Pricing
CLI is free. Model access on 2026-08-25.
| Path | Price | Notes from first-party pages |
|---|---|---|
| OpenClaude CLI | $0 | 30,818 stars on the check date. MIT for contributor changes. |
| Attached provider | Provider bill | OpenAI, Gemini, GitHub Models, Ollama, MiMo, OpenCode Zen/Go, and others listed in /provider. |
| Gitlawb Opengateway | API key | Fresh-install default at opengateway.gitlawb.com. Confirm the live key page. Confirm the live official page. |
If a leftover post still calls this an official Anthropic product, treat this page as the source.
Getting Started
- Need Node.js 22+. Install with
npm install -g @gitlawb/openclaude@latest. - Run
openclaude, then/providerfor guided setup. - Or export
CLAUDE_CODE_USE_OPENAI=1,OPENAI_API_KEY, andOPENAI_MODEL, then start the CLI. - Do not pass
--dangerously-skip-permissionson a machine you do not trust.
First-party start: openclaude.gitlawb.com and the GitHub README.
Frequently Asked Questions
Is this official Claude Code?
No. The README says it is an independent community project, not affiliated with Anthropic.
Is the CLI still free?
Yes. The CLI is $0. You pay the model provider.
Same as OpenCode?
No. OpenCode is a separate open harness. This page is the Gitlawb/OpenClaude CLI.
Alternatives
- Claude Code: Anthropic first-party CLI / IDE / desktop agent.
- OpenCode: another open coding-agent stack.
- Cline: $0 individual VS Code/CLI agent plus BYOK.
Tips
- Quote 30,818 stars from the GitHub check, not a leftover screenshot.
- Confirm
/providerbefore you assume Ollama or Codex OAuth still works the same way.
Conclusion
OpenClaude is a 30,818-star multi-provider terminal agent with a Claude Code-shaped loop, not an Anthropic product. Start at github.com/Gitlawb/openclaude, attach a live provider, then decide whether Claude Code already covers the seat you need.
Comments
No comments yet. Be the first to comment!
Related Tools
Related Insights
Skills + Hooks + Plugins: How Anthropic Redefined AI Coding Tool Extensibility
An in-depth analysis of Claude Code's trinity architecture of Skills, Hooks, and Plugins. Explore why this design is more advanced than GitHub Copilot and Cursor, and how it redefines AI coding tool extensibility through open standards.
Claudesidian: Transform Obsidian into an AI-Powered Second Brain
Discover Claudesidian, an open-source project that perfectly integrates Obsidian with Claude Code. Built-in PARA method, custom commands, and automated workflows for a complete idea-to-implementation solution.
What Locks Codex Is the Picker, Not the Models
You already pay for OpenCode Go, Grok, and Z.ai, but the Codex picker still shows mostly GPT. The community project codex-router does not teach another install ritual. It puts subscriptions you already bought back into the selector, keeps keys on the machine, and leaves native GPT alone.