Status: [UNTESTED] Endpoints found: https://gateway.example/anthropic/v1/messages` Source: https://github.com/hetaoBackend/harness-tap # Harness Tap Harness Tap is a local reverse proxy for inspecting how harnesses and agent runtimes build conversation context. It forwards native OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages requests to a compatible upstream, records JSONL traces, and provides a browser viewer and CLI inspector. ## Install For Development ```bash python3 -m venv .venv .venv/bin/python -m pip install -e '.[dev]' ``` ## Run The Proxy Use one upstream API directory for all supported routes: ```bash .venv/bin/harness-tap serve \ --upstream https://api.openai.com/v1 \ --port 8080 ``` Or override individual protocols to send them to different upstreams: ```bash .venv/bin/harness-tap serve \ --upstream https://api.openai.com/v1 \ --responses-upstream https://api.openai.com/v1 \ --messages-upstream https://api.anthropic.com/v1 \ --port 8080 ``` An upstream is an **API directory**, including its version or gateway prefix. For example, `https://gateway.example/anthropic/v1` receives Messages requests at `https://gateway.example/anthropic/v1/messages`. Overrides fall back to `--upstream` when omitted. Each configured upstream must support that route's native protocol; Harness Tap does not convert between APIs. | Client endpoint | Upstream suffix | Protocol | | --- | --- | --- | | `POST /v1/chat/completions` | `/chat/completions` | OpenAI Chat Completions | | `POST /v1/responses` | `/responses` | OpenAI Responses | | `POST /v1/messages` | `/messages` | Anthropic Messages | All three support JSON and SSE responses. Query parameters, client credentials, provider headers (including `anthropic-version` and `anthropic-beta`), request body bytes, response status, and response body bytes are forwarded. Hop-by-hop headers and content length are handled by the proxy. Redirects are returned to the client rather than followed by the proxy. The proxy does not retry requests or maintain an upstream cookie session. ### Configure Clients For OpenAI SDK clients, us