skyl-sandbox serves all four providers' wire protocols locally. It is what
makes "run every example in this documentation without an API key" a real
promise rather than a marketing line.
Running it#
go run ./cmd/skyl-sandboxskyl sandbox listening on http://127.0.0.1:8099
api key sandbox-key
anthropic http://127.0.0.1:8099/anthropic
openai http://127.0.0.1:8099/openai/v1
gemini http://127.0.0.1:8099/gemini/v1beta
openaicompat http://127.0.0.1:8099/compat/v1What it is for#
Developing without a key. Build and run your integration before you have provisioned anything, and without a real credential sitting in a development environment.
Testing what a unit test cannot reach. Every adapter unit test uses an
in-process fake. That covers the mapping and skips the socket — and a surprising
amount lives on the socket: chunked SSE arriving in pieces, connection reuse,
status codes, Retry-After, cancellation landing mid-backoff.