Status: [LIVE] Endpoints found: https://opencode.ai/zen/go/v1/responses` Source: https://github.com/ANDYPENG09/opencode-responses-bridge # OpenCode Responses Bridge (Chat Completions ↔ Responses API local adapter) > **🌏 Languages:** [English](README.md) Β· [δΈ­ζ–‡](README.zh-CN.md) > **Skill Overview** > > **OpenCode Responses Bridge** is a zero-dependency local proxy that adapts OpenAI > **Chat Completions** ↔ **Responses API**. It lets any OpenAI-compatible agent client > (WorkBuddy, Cursor, Open WebUI, LobeChat, ...) use Responses-API-only models such as > OpenCode Go `gpt-5.6-luna` β€” with streaming SSE, tool calls, reasoning passthrough and > multimodal input. Python 3.8+, standard library only, no installs. > > **How to install** > > - **WorkBuddy / SkillHub:** install the skill from SkillHub (zip or CLI), then copy > `scripts/proxy.py` + `scripts/start_proxy.bat` to a stable folder and run it. > - **ClawHub:** `clawhub install opencode-responses-bridge` > - **GitHub:** `git clone https://github.com/ANDYPENG09/opencode-responses-bridge` > > **How to invoke** > > - Start the proxy: `python3 proxy.py` (defaults to `http://127.0.0.1:8787`). > - Point your client's custom model URL at `http://127.0.0.1:8787/v1/chat/completions`. > - Smoke test: `curl http://127.0.0.1:8787/v1/chat/completions -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{"model":"gpt-5.6-luna","messages":[{"role":"user","content":"hi"}],"stream":false}'` --- ## What problem does it solve Custom-model channels in AI agent clients typically only speak the OpenAI **Chat Completions** protocol, while some upstream models (typically OpenCode Go's `gpt-5.6-luna`) only expose the OpenAI **Responses API**. Direct configuration always fails, with common errors: - `HTTP 400 invalid_prompt` / `Invalid Responses API request` - WorkBuddy "custom model error 10000" - First message works, but **any message after history fails** (assistant history message `content` arrays are not converted) This proxy performs a **local protocol translation**: client β†’ Chat Completions β†’ proxy β†’ Responses API β†’