Status: [UNTESTED] Endpoints found: http://127.0.0.1:8787/v1/responses Source: https://github.com/dncore/synapse-protocol-adapter # Synapse Protocol Adapter **[English](README.md)** | **[中文文档](README.zh-CN.md)** A small, stateless, high-concurrency protocol adapter that exposes the **OpenAI Responses API** to your clients and speaks the **OpenAI Chat Completions API** to your upstream provider. Point Codex (or any Responses-API agent) at it, run any chat-completions backend behind it. ``` Client / Codex / Agent (speaks Responses API) | | POST /v1/responses (http:// or https://) v +-------------------------------------------+ | synapse-protocol-adapter | | | | Responses -> Chat Completions | | Streaming SSE conversion | | Tool-call conversion | | Header passthrough | | Optional TLS listener | +-------------------------------------------+ | | POST /v1/chat/completions (http:// or https://) v Custom LLM Provider (speaks Chat Completions API) ``` It is a **transparent protocol adapter** — nothing more: - ❌ No credential handling — never generates, stores, or rewrites API keys; `Authorization` is always forwarded verbatim - ❌ No accounts, OAuth, billing, or key pools - ❌ No session/conversation storage — fully stateless across restarts - ✅ Forwards client `Authorization` and all other headers **verbatim** to upstream - ✅ True chunk-by-chunk SSE streaming with immediate flush - ✅ Client disconnect cancels the upstream request immediately - ✅ Optional TLS on the listener (`server.tls`) — HTTP and HTTPS served on one port (auto-detected per connection), self-signed CA auto-generated or bring-your-own, for agents that require `https://` base URLs - ✅ Transient upstream 429 absorption (`upstream_retry`, on by default) — bounded backoff retries that keep holding the concurrency slot, honoring `Retry-After`; only a spent budget hands th