OpenClaude is an API shim that enables Claude Code's sophisticated agentic capabilities to work with over 200 AI models through OpenAI-compatible API translation. Created by the Gitlawb organization on April 1, 2026—one day after Claude Code's npm source maps were accidentally exposed—the project has accumulated 1,600 GitHub stars and 699 forks.
The tool democratizes access to Claude Code's bash execution, file operations, and multi-step reasoning infrastructure by decoupling these capabilities from Anthropic's proprietary models.
API Translation Bridges Anthropic and OpenAI Formats
OpenClaude functions as a technical bridge between Claude Code's tool system and any LLM API that supports OpenAI-compatible formatting. The translation layer converts Anthropic message blocks into OpenAI messages and transforms tool_use/tool_result calls into OpenAI function calls with real-time streaming conversion.
This architecture allows developers to maintain Claude Code's proven agentic workflows while switching between different language models based on cost, latency, or data residency requirements.
Support Spans Commercial, Open-Source, and Local Models
The shim supports commercial models including GPT-4o and GPT-4o-mini from OpenAI, Gemini 2.0 Flash via OpenRouter, and DeepSeek-chat. Open-source options include Llama 3.3 70B, Mistral Large through Together AI, and Qwen 2.5 72B.
Developers running local inference can connect Claude Code to Ollama or LM Studio, while alternative backends like ChatGPT Codex variants (codexplan, codexspark) are also compatible. This flexibility enables teams to optimize for specific use cases without rebuilding their agentic infrastructure.
Community Response Spawns Ecosystem of Open Alternatives
The rapid development of OpenClaude exemplifies the AI community's response to the accidental open-sourcing of Claude Code. Within days of the npm source map exposure, developers created multiple projects re-implementing multi-agent orchestration patterns inspired by the leaked architecture.
The emergence of these tools represents a significant shift in making advanced agentic capabilities accessible beyond proprietary platforms, with OpenClaude serving as the primary gateway for model flexibility.
Key Takeaways
- OpenClaude translates Claude Code's tool system to work with 200+ models via OpenAI-compatible API, including GPT-4o, Gemini 2.0 Flash, DeepSeek, and open-source options like Llama 3.3 70B
- The project gained 1,600 GitHub stars and 699 forks within days of its April 1, 2026 launch, one day after Claude Code's accidental source map exposure
- Real-time streaming conversion bridges Anthropic message blocks and tool calls to OpenAI function call formats without modifying Claude Code
- Local inference support through Ollama and LM Studio enables on-premises deployment while maintaining Claude Code's agentic capabilities
- The tool decouples sophisticated bash execution, file operations, and multi-step reasoning from proprietary model constraints, optimizing for cost and latency