For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /docs/examples/index.md.

Runnable examples

Each example includes mock files and a client or test suite you can run from the Decoy repository.

ExampleWhat it shows
PlaywrightSwitch the response a page sees in a browser test.
TestplaneRoute browser requests to a per-test Session.
gRPC with NodeReturn a protobuf message or a gRPC status error.
WebSocket with NodeReply to a message or push one to an open socket.
HTTP and WebSocket TransformersUse workers and commands to mock binary HTTP and WebSocket payloads.
TLS with NodeCall HTTPS, HTTP, and gRPC backends from one app.

For workspace setup and the command to run every example, see Contributing.