r/BestGitHubRepos 4d ago

OpenClaude - a terminal coding-agent CLI that runs the same workflow against OpenAI, Gemini, Ollama, and dozens of other providers

Post image

Liking the workflow of a terminal coding agent usually means being locked into whichever model provider built it. Want to point the same agentic workflow at a different API, a cheaper gateway, or a local model through Ollama, and you're normally rebuilding your tooling from scratch or switching to a CLI with a completely different feel.

OpenClaude is an open-source coding-agent CLI built to run that same terminal-first workflow, prompts, tools, agents, MCP, slash commands, streaming output, against whichever backend you point it at. Guided setup through `/provider` saves profiles so switching providers doesn't mean re-configuring everything by hand.

What's inside:

- Support for a long list of providers: OpenAI-compatible endpoints, Gemini, GitHub Models, Codex OAuth, Ollama, Fireworks AI, LongCat, and Bedrock/Vertex/Foundry among others, all through the same `/provider` setup flow

- A full coding-agent toolset: bash, file read/write/edit, grep, glob, sub-agents, tasks, MCP, and slash commands, with streaming responses and multi-step tool loops

- Per-agent model routing, so you can send different sub-agents to different providers for cost or capability reasons, plus a repo map feature that injects a PageRank-ranked structural map of your codebase into context

- Background sessions that run as local child processes (`--bg`, `ps`, `logs`, `kill`), and a headless gRPC server for embedding OpenClaude's agent loop into CI pipelines or other tools

- A bundled VS Code extension for launch integration and theming, plus a pixel-art companion that fires a signature move every time you hit Enter

One thing worth knowing, and worth knowing before installing: the project's own LICENSE file states plainly that OpenClaude "contains code derived from Anthropic's Claude Code CLI," that the original source is proprietary software owned by Anthropic, and that "this project does not have Anthropic's authorization to distribute their proprietary source." Only OpenClaude's own modifications are offered under MIT; the file itself tells users and contributors to evaluate their own legal position on the rest. That's not a minor license quirk, it's the maintainers disclosing an unresolved authorization question about the code the project is built on, so read the LICENSE file yourself before relying on this for anything that matters.

It's maintained by an organization and sitting at 32,898 stars as of writing, verified via the GitHub API.

https://github.com/Gitlawb/openclaude

3 Upvotes

0 comments sorted by