š§ Capri 1 Ā· the steering model for coding agents
Capri console
Basic Ā· $50 a month
Loadingā¦
Loadingā¦
Quickstart
Call Capri from your server like any model: events and asks in, typed answers out.
- Get Basic and a key. Start with a test key, kept in
CAPRI_API_KEYon your server. - After each agent message, send what it did as
events, theasksyou want answered, and the laststate. - Act on numbers, not prose. Hand
steer.noteto your agent as-is, run thechecks, and hold ādoneā untilgreen.ok. - Keep the new
statefor the next call. Capri never runs anything; your harness does.
# bash or zsh. Keep the key in an environment variable: export CAPRI_API_KEY=nika_cp_test_...
curl -sS https://www.codename-nika.com/api/capri/v1/predict/ \
-H "Authorization: Bearer $CAPRI_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "capri-1",
"goal": "Add clock-skew tolerance to verifyToken",
"events": [
{
"seq": 1,
"at": 1764600000000,
"kind": "intent",
"text": "Add a clock-skew option to verifyToken in src/auth.ts."
},
{
"seq": 2,
"at": 1764600004000,
"kind": "diff",
"files": [
{
"path": "src/auth.ts",
"add": 12,
"del": 3,
"symbols": ["verifyToken"]
}
]
},
{
"seq": 3,
"at": 1764600005000,
"kind": "refs",
"symbol": "verifyToken",
"files": ["src/middleware.ts", "src/api/session.ts"]
},
{
"seq": 4,
"at": 1764600009000,
"kind": "test",
"runner": "jest",
"passed": 16,
"failed": 0,
"source": "agent"
},
{
"seq": 5,
"at": 1764600012000,
"kind": "intent",
"text": "Auth tests pass. The change is done."
}
],
"asks": {
"next": { "type": "next", "top": 3 },
"health": { "type": "flags" },
"done": { "type": "done" }
},
"settings": { "decisions": "auto" },
"wait": "rules"
}
JSONEndpoint POST https://www.codename-nika.com/api/capri/v1/predict/ Ā· models GET https://www.codename-nika.com/api/capri/v1/models/. Keep the trailing slash: without it the request is redirected, and many clients drop the body.