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.
CLAUDE.md A 638 tok 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.