Skip to content
skyl

The sandbox

A local server speaking every provider's wire protocol. No credentials, no cost.

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#

Terminal
go run ./cmd/skyl-sandbox
Output
skyl 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/v1

What 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.

What it is not#

Pages#

Edit this page on GitHub