m0n0x41d

Anthropic Proxy Rs — AI skill for Claude Code

AI community

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.

How to install Anthropic Proxy Rs

This entry records only its repository, not the path inside it, so there is no exact command to give. Open m0n0x41d/anthropic-proxy-rs and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Anthropic Proxy Rs does

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.

Alternatives in AI

  • AGENTS.md - Skill Seekers — Concise reference for AI coding agents 11.1k ★
  • Sentrux — Real-time architectural sensor that helps AI agents close the feedback loop, enabling recursive self-improveme 2.9k ★
  • Cc Mirror — Create multiple isolated Claude Code variants with custom providers (Z.ai, MiniMax, OpenRouter, LiteLLM) 2.1k ★

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