Anthropic Proxy Rs
Description
A proxy server that intercepts Anthropic API requests and converts them to OpenAI-compatible format, enabling integration with dozens of inference providers such as OpenRouter, Together.ai, Novita AI, and other third-party API services. Primary use cases include Claude Code and other Claude Agent SDK-based tools.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
anthropic-proxy-rs
High-performance Rust proxy that translates Anthropic API requests to OpenAI-compatible format. Use Claude Code, Claude Desktop, or any Anthropic API client with OpenRouter, native OpenAI, or any OpenAI-compatible endpoint.
Features
- Fast & Lightweight: Written in Rust with async I/O (~3MB binary)
- Full Streaming: Server-Sent Events (SSE) with real-time responses
- Tool Calling: Complete support for function/tool calling
- Universal: Works with any OpenAI-compatible API (OpenRouter, OpenAI, Azure, local LLMs)
- Extended Thinking: Supports Claude's reasoning mode
- Drop-in Replacement: Compatible with official Anthropic SDKs
Quick Start
**Note**: Using [Task](https://taskfile.dev) is currently recommended. Install with `brew install go-task` (macOS) or see the [installation guide](https://taskfile.dev/installation/). Releases with build binaries will be made soon.
# Install Rust (if needed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Build and install to PATH with task
task local-install
Install with curl
curl -fsSL https://raw.githubusercontent.com/m0n0x41d/anthropic-proxy-rs/main/install.sh | bash
This installer uses `cargo install --git ... --locked` under the hood, so Rust/Cargo still needs to be present on the machine.
Run from anywhere
UPSTREAM_BASE_URL=https://openrouter.ai/api \
UPSTREAM_API_KEY=sk-or-... \
anthropic-proxy
Or build and run manually
cargo build --release
UPSTREAM_BASE_URL=https://api.openai.com \
UPSTREAM_API_KEY=sk-... \
./target/release/anthropic-proxy
Configuration
Command Line Options
anthropic-proxy --help
**Commands:**
| Command | Description |
|---|---|
stop |
Stop running daemon |
status |
Check daemon status |
**Options:**
| Option | Short | Description |
|---|---|---|
--config |
-c |
Path to custom |
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI