wangfumin1/claude-code-adapter-fastapi

A lightweight proxy/adapter layer based on FastAPI that converts Anthropic/Claude messages and tool-calling requests to the OpenAI Chat Completions-compatible format; intelligently selects a tool-definition processing strategy (system prompt vs. user message), automatically optimizes performance and feature completeness based on configuration, and supports optional automatic tool selection, SSE streaming passthrough, and conversion of target model responses back to Anthropic format. Server-side

Latest release v1.1.2 · 1 Dec 2025

1 file for Claude Code: claude-code-adapter-fastapi CLAUDE.md — 638 tokens loaded in every session.

5Stars on the repository
1Files it configures its agents with
638Tokens loaded in every session
1Agent configured

Instructions

These files are wangfumin1/claude-code-adapter-fastapi's own configuration — they tell Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.