OpenClaude
OpenClaude is an open-source terminal coding agent that keeps one Claude-Code-style loop across many model backends. Rechecked 2026-08-25: github.com/Gitlawb/openclaude had 30,818 stars. 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. Do not invent a hosted seat price.
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. Recheck the live key page. Do not invent a dollar seat. |
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.
- Do not invent a Gitlawb dollar seat.
- Recheck
/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
Autohand Code
www.autohand.ai/code
Self-evolving terminal agent. Rechecked: Apache-2.0 with ARR cap, 178 stars. CLI $0 plus BYOK. Enterprise is sales, not a public $20 seat.
MiMo Code
mimo.xiaomi.com/coder
Xiaomi terminal agent. Rechecked: MIT, 12,863 stars. OpenCode fork. CLI $0; Xiaomi OAuth or BYOK. Not a published dollar seat.
Mistral Vibe
github.com/mistralai/mistral-vibe
Mistral terminal agent. Rechecked: Apache-2.0, 4,872 stars. CLI $0 plus Mistral API key. --agent auto-approve / --yolo. Not a $20 seat.
Related Insights
Seven AI Coding CLIs, Six Months: No Matter How Strong the Model, Work Needs Supervision
Claude Code, Codex, opencode, pi, omp and DeepSeek Harness all have personalities. After six months of deep use I run a division of labor: pi for the fastest cheapest reviews, omp for complex PRs, DeepSeek Harness on V4 Flash for high-frequency low-cost review, and Claude Code, Qoder and Cursor for writing. No matter how strong the model, work needs supervision — ideally from an independent third party.
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.