OpenClaude logo

OpenClaude

Visit

Open terminal agent. Rechecked: 30,818 stars. MIT for contributor changes; derived from Claude Code. CLI $0 plus BYOK.

Share:

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: /provider writes .openclaude-profile.json. Fresh installs store config under ~/.openclaude, not ~/.claude.
  • Background jobs: openclaude --bg runs a detached local child process. That is not a hosted daemon.
  • Yolo flag: --dangerously-skip-permissions matches 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 .claude paths 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

  1. Need Node.js 22+. Install with npm install -g @gitlawb/openclaude@latest.
  2. Run openclaude, then /provider for guided setup.
  3. Or export CLAUDE_CODE_USE_OPENAI=1, OPENAI_API_KEY, and OPENAI_MODEL, then start the CLI.
  4. Do not pass --dangerously-skip-permissions on 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

  1. Quote 30,818 stars from the GitHub check, not a leftover screenshot.
  2. Do not invent a Gitlawb dollar seat.
  3. Recheck /provider before 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!