OpenClaude — Universal Terminal AI Coding Agent
One CLI for cloud and local model providers, with a full coding-agent workflow.
- Source repo
- Twigpine/openclaude
- Stars
- ★ 35k
- Last updated
- 1d ago v0.38.0
- FARS reviewed
- Nov 07, 2026 +5 new
- License
- NOASSERTION
- Primary language
- TypeScript
- FA score
- 63/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformClaude Code · OpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Pricing
- | OpenCode Go | `/provider` or env vars | $10/mo subscription for open models (13 models); uses `OPENCODE_API_KEY` via `https://opencode.ai/zen/go/v1`; shared key with OpenCode Zen | With no setup, `WebSearch` on non-Anthropic models uses Exa's keyless free tier, which has per-second and daily limits. per README
- Models
- OpenAI · Google Gemini · DeepSeek · Mistral · OpenRouter · Groq · Ollama · LM Studio · local models per README Compare model cost & benchmarks →
- OS / editors
- Android · VS Code per README
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Developers who switch between model providers and want a consistent CLI workflow.
- Not a fit if
- Environments still on Node.js below 22.0.0
- Teams needing Anthropic-specific features or official Anthropic support
- Website
- openclaude.twigpine.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v0.38.0 (2026-12-02)+14.4 ★/day over 7 days
- Source review
- 63/100 · Some gaps
What does this agent do, and when should you use it?
OpenClaude is an open-source coding-agent CLI designed to unify cloud and local model providers. It supports OpenAI-compatible APIs, Gemini, GitHub Models, Codex OAuth, Codex, Ollama, Atomic Chat, and more, while maintaining a single terminal-first workflow: prompts, tools, agents, MCP, slash commands, and streaming output. Key features include guided provider setup (/provider), saved profiles, multi-agent routing and step limits, and a bundled VS Code extension. OpenClaude also offers a headless gRPC server for integration into other applications. It originated from the Claude Code codebase but has been substantially modified for multi-provider support, with modifications under the MIT license.
OpenClaude runs as a command-line tool (openclaude) with configurable provider backends. It executes tool-driven coding workflows: bash, file read/write/edit, grep, glob, agents, tasks, MCP, and slash commands. The /provider command guides setup and saves profiles; it can call local services like Ollama or cloud APIs like OpenAI. It supports streaming responses, multi-step tool loops, image inputs (URL or base64), and repo map generation (REPO_MAP flag). Advanced features include background sessions (--bg), resume (--resume), and forking (--fork-session). A pixel-art buddy (/buddy) provides visual feedback. The repo also includes a VS Code extension and a headless gRPC server (src/proto/openclaude.proto).
- Developers who switch between model providers and want a consistent CLI workflow.
- Users running local models with Ollama who need the same tooling as cloud APIs.
- Teams integrating agentic capabilities into CI/CD pipelines or custom UIs via gRPC.
- VS Code users seeking launch integration and theme support through the bundled extension.
- Users who want to leverage GitHub Models or Codex authentication but need a unified entry point.
- Operators running long non-interactive prompts in the background and monitoring logs.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
OPENAI_API_KEYOPENAI_MODEL- Config files
.openclaude-profile.json- Runtime
- Node.js 22.0.0+
- Install notes cover
- Linux
How do you install or deploy this agent?
Requires Node.js >=22.0.0. Install globally: npm install -g @gitlawb/openclaude@latest. Arch Linux: paru -S openclaude. If ripgrep is missing, install it system-wide and verify with rg --version.
How do you use this agent?
Start with: openclaude. On first run, use /provider for guided provider setup, saving profiles to .openclaude-profile.json. Example (OpenAI): export CLAUDE_CODE_USE_OPENAI=1; export OPENAI_API_KEY=sk-...; export OPENAI_MODEL=gpt-4o; openclaude. Resume or continue: openclaude --continue or openclaude --resume <session-id>. Background: openclaude --bg "fix tests"; view logs with openclaude logs <name>.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Unified workflow across many providers, avoiding per-provider tooling.
- Local model support via Ollama without an API key.
- Advanced features like repo map and background sessions.
- Includes VS Code extension and headless gRPC server for integration.
- Active community with Discord and X channels.
- Provider behavior varies; tool quality depends on the chosen model.
- Requires Node.js >=22.0.0, which may be a hurdle for some environments.
- Some providers have limitations (e.g., AI/ML API only surfaces chat-capable models).
- Background sessions lack full terminal reattach.
- Derived from Claude Code; license covers modifications only, with original code under Anthropic's copyright.
How does this agent compare with similar options?
Compared to Claude Code, OpenClaude is designed for multi-provider support, whereas Claude Code is primarily for Anthropic models.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| OpenClaude — Universal Terminal AI Coding Agent This agent | 63 · Some gaps | CLIFree + model costs | ★ 35k | 1d ago | TypeScript | Claude Code · OpenAI API · Claude API |
| agentty | 73 · Some gaps | CLIFree + model costs | ★ 560 | 1d ago | C++ | OpenAI API · Claude API |
| AgenC Core | 76 · Good | CLIFree + model costs | ★ 147 | 3d ago | TypeScript | — |
| FuXi Terminal AI Coding Agent | 64 · Some gaps | CLIFreemium | ★ 3.2k | 9d ago | Python | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The CLI is documented as able to invoke bash, file tools, MCP, and model services, giving it a broad permission surface; the sample does not show enough permission configuration to justify a strong least-privilege score. Session deletion requires confirmation and defaults to cancel, while deep search explains which excerpts and metadata are sent. Guidance on stored credentials, not loading .env automatically, and avoiding copied Claude credentials supports sensitive-data handling. Deductions reflect limited evidence of confirmation for general tool execution, controls on external effects, and rollback. The security policy and derivation notice provide some attribution, but publisher identity and individual maintenance responsibility remain unverified.
The README gives concrete Node requirements and installation, upgrade, lock recovery, background-session status, and limitation guidance. Package scripts and CI files show paths for static checks, CodeQL, and cross-platform install checks. Deductions reflect that the sample lacks enough implementation to check docs against actual behavior and does not show a general user-facing failure-message design; static review cannot establish runtime outcomes.
Documentation covers beginners and advanced users, Windows and macOS/Linux, local Ollama, cloud providers, and background tasks, with detailed environment setup. Deductions reflect that the broad 'runs anywhere. uses anything' positioning is constrained by Node requirements, provider capabilities, and platform differences; the sample does not fully show command triggers and capability boundaries.
The README is organized around quick start, setup guides, a provider table, examples, and explicit limitations; install, migration, upgrade, and session deletion guidance is specific. Deductions reflect a license notice stating that the repository contains proprietary Anthropic-derived code and that MIT applies only where legally permissible, leaving licensing boundaries uncertain. The sample shows a package version and security policy but no changelog, and maintenance responsibility is described generally as latest main/latest npm without a named owner.
The product offers a unified terminal workflow across model providers, tools, sessions, and extensions, with a clear coding-work purpose and copyable examples. Deductions reflect that this sample cannot establish actual output quality in target environments, while multi-provider and background capabilities add configuration and maintenance costs that are not quantified.
Several usage, security, and limitation claims can be traced to the README, package metadata, security policy, and CI configuration; the sample test files show some test code exists. Deductions reflect that cross-checking docs against implementation is limited to supplied excerpts, with key Agent tool implementation and complete test results absent. Check scripts are evidence of a verification path, not of execution or passing results.
- The LICENSE says the repository contains code derived from proprietary Anthropic software and limits the MIT grant to modifications where legally permissible; review rights before use or redistribution.
- The CLI exposes bash, file operations, MCP, and background-task capabilities; configure permissions carefully and note that cloud providers receive prompts and selected search excerpts.
- This assessment uses only the supplied static sample and did not execute code; listed tests and CI configuration do not mean they ran or passed in this review.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
[0.38.0](https://github.com/Twigpine/openclaude/compare/v0.37.0...v0.38.0) (2026-12-02) Features * /focus command and focus view for the fullscreen transcript ([#2546](https://github.com/Twigpine/openclaude/issues/2546)) ([97a3158](https://github.com/Twigpine/openclaude/commit/97a3158a03d88a4bed71a9f9a0344a4acfb0aa38)) * bg: add scriptable wait command for background sessions ([#2557](https://github.com/Twigpine/openclaude/issues/2557)) ([c61b6b5](https://github.com/Twigpine/openclaude/commit/c61b6b58a2d0f8bb11eaf5d5eec41629ccc49080)) …View on GitHub ↗ -
Release notes excerpt
[0.37.0](https://github.com/Twigpine/openclaude/compare/v0.36.0...v0.37.0) (2026-11-17) Features * /scroll-speed and /tui commands, unattended retry, idle compaction ([#2525](https://github.com/Twigpine/openclaude/issues/2525)) ([766d48d](https://github.com/Twigpine/openclaude/commit/766d48db5b7ea5b5d520007435906724b6c4b6ed)) * add /todos, /cd, /reload-skills and four CLAUDE_CODE_* env toggles ([#2521](https://github.com/Twigpine/openclaude/issues/2521)) ([d8a35c4](https://github.com/Twigpine/openclaude/commit/d8a35c44c24e498e5ca5989f180efac7addc09f1)) …View on GitHub ↗ -
Release notes excerpt
[0.36.0](https://github.com/Twigpine/openclaude/compare/v0.35.1...v0.36.0) (2026-11-11) Features * opengateway: default new setups to auto smart routing ([#2508](https://github.com/Twigpine/openclaude/issues/2508)) ([77a96c2](https://github.com/Twigpine/openclaude/commit/77a96c21a98fa3a939b038bd4fba313911712466)) * usage: add a Local view to /usage ([#2506](https://github.com/Twigpine/openclaude/issues/2506)) ([b9ec49b](https://github.com/Twigpine/openclaude/commit/b9ec49b2dc830976aa0f8066248cb9b47cf1369d)) …View on GitHub ↗
FAQ
Does OpenClaude depend on Anthropic?
Do I need extra setup for GitHub Models?
Can I run tasks in the background and check logs?
Does it support MCP servers?
How can I route different models to different agents?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.