Tin

Playground

ready
More

The real compiler, running in this tab: your code becomes WebAssembly here and nothing is sent anywhere. Agents use model: "mock", an offline stand-in that calls the tools a prompt names, unless you add a key below. Examples marked “recorded with Claude” or “scripted tape” replay a session from a tape while their code is unchanged.

Use a real model (off: agents use the offline mock)

Your key stays in this tab and is sent only to that provider (or the base URL you set), straight from your browser; never in a link, a tape or this site's code. Agents with model: "mock" stay offline either way.

optional: a proxy, or your own server

replaces model: "mock" with model: "claude-opus-5-5".

Some providers refuse calls from web pages (CORS); the run then says it could not reach the API. Local servers must allow this origin (OLLAMA_ORIGINS for Ollama). The tin CLI works when a browser can't.

A guarded tool wants to run

The program is paused. If you deny, the tool does not run and the model is told the call was denied.

The program asks

Tab indents · Esc then Tab leaves the editor · ⌘/Ctrl+Enter runs

Press Run.