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
- Deep Research From Scratch — Deep research has broken out as one of the most popular agent applications 768 ★
- Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★
- KiroGate — OpenAI & Anthropic 兼容的 Kiro IDE API 代理网关,支持 Claude Code CLI 393 ★
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
From Safari To API
Turn Safari web chats (DeepSeek, etc.) into a local OpenAI/Anthropic-compatible API — no API key, no cost. Dro
Antigravity Reverseproxy API
A proxy server that exposes both Anthropic-compatible and OpenAI-compatible APIs backed by Antigravity's Cloud
Scootcli
A tiny coding agent that goes where you point it. Stdlib-only Python, one-file zipapp, works with OpenAI and O
Anthropic Agent SDK Relay
Anthropic Messages API endpoint answered by the Claude Agent SDK, so self-hosted n8n can use a Claude subscrip
Related Agents
AI Saglayici Uzmani
Anthropic Messages API ve OpenAI Codex App Server entegrasyonunun uzmanı — akış, araç döngüsü, hata/yeniden de
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