Claude Relay — Development skill for Claude Code
Drop-in OpenAI and Anthropic API server that routes through Claude Code.
How to install Claude Relay
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open npow/claude-relay and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Relay does
Drop-in OpenAI and Anthropic API server that routes through Claude Code.
Alternatives in Development
- Claude API — Build apps with the Claude API or Anthropic SDK 94.1k ★
- Imagegen — Generate and edit images using OpenAI's Image API for projects 14.6k ★
- Gcli2api — 将 GeminiCLI 和 Antigravity 转换为 OpenAI 、GEMINI 和 Claude API 接口 4.6k ★
README
agent-relay
[](https://github.com/npow/claude-relay/actions/workflows/ci.yml) [](https://pypi.org/project/agentrelay-cli/) [](LICENSE) [](https://www.python.org/downloads/) [](https://mintlify.com/npow/claude-relay)
Drop-in OpenAI **and Anthropic** API server that routes through agent CLIs (currently [Claude Code](https://docs.anthropic.com/en/docs/claude-code)).
Compatibility note: `claude-relay` remains available as a compatibility package/command alias.
Why
You have tools that speak the OpenAI or Anthropic API. You have Claude Code with its tools, MCP servers, and agentic capabilities. **agent-relay** bridges the two — point any compatible client at it and every request flows through `claude -p` under the hood.
- Use Claude Code from any OpenAI or Anthropic client — Cursor, Continue, aider, LangChain, custom scripts
- Keep Claude Code's superpowers — tool use, MCP servers, file access, shell execution
- Zero config — if
claudeworks on your machine, so does this - Real token usage — reports actual token counts from Claude (not zeros)
- Token-level streaming — uses
--include-partial-messagesfor true real-time deltas
Install
# With uv (recommended)
uvx agent-relay serve
# Or install globally
uv tool install agentrelay-cli
agent-relay serve
# Or from source
git clone https://github.com/npow/claude-relay.git
cd claude-relay
uv sync
uv run agent-relay serve
Quick start
agent-relay serve
# Server starts on http://localhost:18082
Run as background service (macOS)
# Install and auto-start on login
agent-relay service install
The installer will of
Related Skills
Agrout Bridge
Local HTTP proxy that routes OpenAI-/Anthropic-compatible clients (OpenCode, Claude Desktop, Cursor) through A
Openapis
Free Claude API + free OpenAI API in one unified proxy. Drop-in compatible with Anthropic SDK, OpenAI SDK, Cla
Anthropic Agent SDK Relay
Anthropic Messages API endpoint answered by the Claude Agent SDK, so self-hosted n8n can use a Claude subscrip
KiroGate
OpenAI & Anthropic 兼容的 Kiro IDE API 代理网关,支持 Claude Code CLI
BOB Gemini Free
High-performance local 3-in-1 gateway unlocking Google Gemini as standard OpenAI, Anthropic (Claude Code), and
Picc
a local proxy/router works with claude code and Pi coding agent and sets up a local router with both openai ap
Related Agents
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,
AI ML
AI/ML 통합 전문가 + LLM API 최신 모델/SDK 코딩 가이드. RAG 시스템, 문서 분석, OpenAI/Anthropic/Gemini/Ollama 최신 API 보장. "AI integra
Backend Implementer
You are a senior backend engineer. You implement server-side features: API routes, database models, integratio