If you have a coding agent open, you do not have to read a quickstart and type the steps yourself. Each block below is a complete prompt: paste one into the agent, in the directory you want Rolter to run from, and it will do the work and report back.
Every prompt tells the agent what it is about to do before it does it, and stops to ask rather than inventing a value it cannot know. They are ordered — the first needs no credential of any kind, and you can stop after it.
These run on your machine, against your own deployment. Nothing in them calls a service Rolter operates, so they work on an air-gapped host once the binary is there.
The rules every prompt carries#
Each prompt ends with the same block, because these are instructions for a program acting on your machine:
- Never invent an email address, an organisation name, a password or an API key. Ask.
- Never write a provider credential into a file, and never into anything that is about to be committed. It belongs in an environment variable the gateway reads at runtime, or sealed in the control plane’s store.
- Print a secret at most once, when it is created and cannot be read again.
- On any step that fails, stop and report what happened. Do not work around it.
If you adapt a prompt, keep that block.
1. Try Rolter locally, with no credentials#
Nothing here needs a provider account. The gateway ships a built-in fake-llm
model that answers deterministic text, so the whole path — client, virtual key,
routing, logging — is exercised before any provider key exists.
The dashboard is served by the control plane only when a built UI is present
(ui/dist, which a release binary ships). Running from a source checkout
without one, easy-up says so and serves the API alone — the prompt above uses
the log rather than the dashboard for that reason.
2. Connect your first provider key#
Run this once the first prompt has worked. Which path applies depends on how the deployment stores its configuration, and the prompt makes the agent ask rather than assume:
- File mode — what
easy-upgives you by default. Providers live inrolter.tomland the key is read at runtime from the environment variable named byapi_key_env. The key itself never enters the file. - Database mode —
easy-up --database-url …, or a control plane of its own. The CRUD API and the dashboard exist here, and a key added through them is sealed in the store. In file mode those endpoints are not mounted at all, so an agent that assumes them gets a 404.
3. Repoint your coding agent at Rolter#
This is the one that pays for the rest: your agent’s own traffic goes through the gateway, so it is routed, budgeted and logged like everything else.
For the agent, not for you#
/llms.txt is the machine-readable index of this documentation:
what Rolter is, the endpoints it serves, the commands that matter, and every
page with the line that says what is on it. It is generated from the navigation,
so it cannot quietly fall behind. Point an agent at it when you want it to
answer from the docs rather than from memory.