Agents
Agents work.
You govern.
Give an agent a goal, a budget and the rules. It reads, runs, tests and proposes inside a sealed machine. Anything that leaves the machine waits for a person.
Fig. 01 a live session · action feed, token-saver, bounds
ai_221
refactor-botiteration 3/5€0.420 / €1.00PauseStopTake overAction feed — live
Token-saver — this iteration
Bounds — immutable this session
iterations 5 · budget €1.00
max files 20 · forbidden deploy/prod .env
policy v2 snapshot · profile developer
session ai_221 · every action recorded · policy v2 · started 23:48:00 CET · digest on completion · export
Scope
What it can do. What it can never do.
Everything a developer can do from the console, through one token scoped to one project and one policy profile. And four limits the gateway enforces, whatever the prompt says.
- Read and edit the project's source in its own workspace.
- Run commands and tests as sealed runs, each with a receipt.
- Save the workspace and recover saved files later.
- Open a pipeline that tests and builds the saved source.
- Ask for publication of an image or launch of a preview.
- Push without approval. A person reviews the exact commits and digest.
- Launch a preview without approval. The image and the price quote are reviewed first.
- Reach a host outside the policy. Egress is named: git, packages, images, or a broad policy you chose.
- Touch a forbidden path. Production configuration and secret files are out of bounds.
Policies
The rulebook, restrictive by design.
Session file operations stay within the workspace. Host access and metadata access are denied. One active writer. Interactive sessions idle out at 15 minutes and stop at 60. Profiles grant capabilities one by one: an observer gets three, a developer seventeen.
Policies
Account policy v2Workspace
/workspaceHost access
DeniedMetadata access
DeniedWriter
One activeInteractive session limits
Profiles
- Pause, stop, take over. Take over opens the agent's workspace terminal as you; it pauses and sees your changes next iteration.
- Capabilities are explicit: artifact.read, fs.write, git.write, network.expose, checkpoint.create and the rest are granted per profile, never implied.
- Every session ends with a receipt: actions, refusals, cost, digest, export. Questions from the agent require an answer, not permission.
policy v1 › egress.allowlistOutbound hosts are limited to git, package and image registries. The session continues; the refusal is counted on your Overview.
Outcomes
What your agent gets.
Fewer tokens to burn, verdicts instead of guesses, and walls that are real.
Fewer tokens burned
Structured causes instead of transcripts. In the sample session, 8,400 lines of raw output reached the model as 312 tokens.
Token-saver — this iteration
Verdicts, not guesses
A flaky test is repeated on fresh machines. The agent receives a verdict with the failure signature.
Verdict
Not your bug — 3 of 20 runs failed with an identical signature on unchanged inputs.
signature 7c19e2 · seen 14× this month
Humans keep the keys
Pushes, publication and previews wait for a named person. Approving records the name, the digest and the time.
Push 2 commits to origin/main
requested by refactor-bot · digest 9c41ee…
Approving records your name, the digest and the time.
A session
From goal to receipt in four steps.
One session of the sample project: a timeout in the ORM tests, fixed without touching the public API.
Reproduce
Repeat 5× → 2 failures, identical. Structured cause: pool acquire ceiling at 10 s.
Blocked
Tried to fetch a benchmark from an unknown host → refused by policy v1. Adjusted approach.
Fix
Raised the acquire timeout, kept retries. Suite 41/41, twice.
Propose
Push 2 commits → waiting for a person. Receipt: €0.42 of €1.00, digest, export.
Connect
Connect your agent.
Create a session with the CLI or open Agents → Connect an agent in the console for your project's client configuration.
$ snabb agent create --project example-project --goal "Refactor the tests" --mode edit --budget 1{
"mcpServers": {
"snabb": {
"url": "YOUR_SNABB_MCP_ENDPOINT",
"headers": { "Authorization": "Bearer YOUR_SNABB_AGENT_TOKEN" }
}
}
}{
"mcpServers": {
"snabb": {
"url": "YOUR_SNABB_MCP_ENDPOINT",
"headers": { "Authorization": "Bearer YOUR_SNABB_AGENT_TOKEN" }
}
}
}Your provider, your keys
Open Organisation → AI providers and connect ChatGPT, another provider or a custom endpoint. The provider receives your goal and the source context; model usage is charged by that provider. Credentials belong to you; other company members use their own.
Read the docsConnect an agent
Provider
Agent
Questions from agent builders.
Which agents can connect?
Personal ChatGPT connected with the device-code flow, and any MCP client such as Claude Code or Cursor. Agents built on the SDK connect the same way. Every connection is scoped to one project and one policy profile.
Does Snabb run the model?
No. You connect your own provider account; model requests happen under that provider's account and policies. Snabb runs the machine the agent works in, records every action and enforces the bounds. Model usage and provider limits are separate from Snabb compute.
Can an agent cause effects outside the machine?
Only through what you permit. Workspace commands follow their selected permissions; a permitted command with network access and credentials can have external effects. Platform publication and preview launch always require a separate owner review, whatever the prompt says.
How are secrets handled?
Secret groups require explicit selection. Source credentials are not automatically command environment variables, and a global group scope is not automatic injection into every agent command. Provider connection credentials have their own custody and return lifecycle. Keep tokens out of chat and project variables.
What happens if the connection drops mid-action?
A browser interruption can leave a submitted action unconfirmed. Recover its original project, source, run or pipeline identity and read its receipt again. Do not submit a different action to guess whether the first one happened; the receipt is the truth.
Give your agent a machine, a budget and the rules.
Choose a budget for the session and inspect the receipt when it ends.