Open-source CLI that runs coding-agent workflows against OpenAI-compatible APIs, Gemini, Ollama, GitHub Models, and other backends from one install.
Overview
OpenClaude is an open-source coding-agent command-line tool for cloud and local model providers. It keeps a terminal-first loop with prompts, tools, agents, MCP, slash commands, and streaming output while letting you switch backends without separate per-vendor CLIs.
Provider setup uses guided /provider flows and saved profiles. Supported routes include OpenAI-compatible servers, Gemini, GitHub Models, Codex OAuth, Ollama, Atomic Chat, and environment-driven cloud routes such as Bedrock or Vertex. Tooling covers bash, file read and edit, grep, glob, background agents, tasks, and web search configuration.
Sessions can resume, fork, or run detached in local background child processes with wait and log commands. Non-interactive --print mode supports JSON and stream-json output for scripting. Configuration lives under ~/.openclaude rather than Claude Code paths.
A bundled VS Code extension is mentioned for launch integration and theme support. Installation is via npm global package with platform quick-start guides for Windows, macOS, Linux, and documented Android install material.
Key features
- Single CLI across model providers
- Saved provider profiles
- Bash and file editing tools
- MCP and slash commands
- Resumable and forkable sessions
- Background detached runs
- Non-interactive JSON output
- VS Code extension bundle
Use cases
- Repo-aware coding tasks in the terminal
- Local models via Ollama
- CI-style headless agent runs
- Multi-provider development setups
- Long-running background agent jobs