Run multi-provider coding-agent sessions with OpenClaude
Use OpenClaude when a repository task needs one terminal-first coding-agent workflow that can switch across cloud, local, Codex OAuth, MCP, slash commands, file tools, and background sessions.
Prerequisites
Node.js 22+, npm, ripgrep recommended, provider API key or local model backend, optional MCP servers
Installation
Use the upstream install or setup path that matches your environment:
- npm install -g @gitlawb/openclaude@latest
- npm view @gitlawb/openclaude dist-tags
Requirements and caveats from upstream:
- gitlawb.com/node/repos/z6MkqDnb/openclaude
- OpenClaude requires Node.js >=22.0.0 for npm installs and runtime. Bun is
- | Gitlawb Opengateway | Startup default, /provider, or env vars | Smart gateway at https://opengateway.gitlawb.com/v1; requires an API key from https://gitlawb.com/opengateway/keys and routes Xiaomi MiMo and GMI Cloud...
Basic usage or getting-started notes:
Quick Start | Setup Guides | Providers | Source Build | VS Code Extension | Sponsors |...
Run with OpenAI-compatible services, Gemini, GitHub Models, Codex OAuth, Codex, Ollama, Atomic Chat, and other supported providers
only needed for source builds and local development.
Extracted from upstream docs: https://raw.githubusercontent.com/Gitlawb/openclaude/HEAD/README.md