The agent protocol
How an agent talks to Caldera. This page is the normative description of protocol version 1: if you write your own reporter, this is what you build against. It is also the API of Caldera, because Caldera has no public REST API for scripts.
The shape in one paragraph
An agent reports itself, at a fixed interval (30 seconds by default), over HTTPS, outwards. Caldera never connects to an agent's machine. Commands (pause, run now, change a setting, send a log) travel back in the answer to a report; the agent checks each one against its own fixed limits, applies it or refuses it, and says which in a later report. Nothing on the agent's machine listens.
Rules for a reporter
These are what make an agent independent of Caldera. A reporter that breaks one of them is wrong even if everything works.
- The reporter is not in the agent's control path. The agent starts runs, picks its work and stops on its own. It never waits for Caldera, never asks Caldera for permission, and never takes work from it.
- The reporter fails on its own. Run it as a separate process (a systemd user service, a sidecar). Use a timeout on every request. When Caldera is unreachable, slow or answers nonsense, log it, wait for the next interval and try again; nothing else changes.
- The agent's state lives on the agent's machine. Pause, limits, schedule and settings are the agent's own files. What Caldera shows is a copy of the last report.
- Everything Caldera can do is reachable and reversible without it. A pause set from Caldera is the same pause the agent's own channel sets and clears.
- A command is a wish. Check it against the agent's own hard limits, apply it or refuse it, and answer. A refusal is a normal answer.
- Send what the page should show, nothing more. State, figures, titles. Content of private data (mails, messages) stays with the agent. Logs are the one exception, and the agent decides which logs it hands out.
Authentication
Authorization: Bearer caldera_agt_…
A token belongs to exactly one agent. An admin creates the agent in Caldera (or rotates its token) and sees the token once. It reaches the report and log routes below for that agent, and, for an agent installed from a blueprint, the bundle route of its own blueprint, and nothing else. It is not a personal access token and acts as no one.
The base URL is the Caldera app's own origin, https://app.calderaapp.io. The
routes answer on that origin only.
POST /api/agent/v1/report
The agent's whole current state. Every field but protocol is optional; what is
missing, Caldera does not show. A null counts as missing, so a reporter may
send an unset field either way; the one exception is settings.values, where
null means "this setting is not set" and is kept. Times are Unix seconds,
shares are numbers from 0 to 1.
{
"protocol": 1,
"agent": { "version": "1c1f3c5", "host": "build-1" },
"state": { "level": "ok", "label": "Ready", "detail": "waiting for work" },
"health": [{ "name": "Chat bot", "level": "ok", "detail": "connected" }],
"active": [
{
"kind": "Run",
"model": "Opus",
"started": 1791030000,
"steps": 37,
"detail": "last tool: Bash",
"subjects": [{ "title": "…", "url": "https://…" }],
"log": "run-20261003-124101.log",
"run": "run-20261003-124101",
"estimate": "30-60k output tokens, 4-8 USD",
"estimate_usd": { "low": 4, "high": 8 }
}
],
"gauges": [{ "name": "Week", "used": 0.52, "mark": 0.7, "detail": "limit today 70 %" }],
"runs": [
{
"id": "run-20261003-124101",
"started": 1791024061,
"ended": 1791024725,
"kind": "Run",
"status": "ok",
"cost_usd": 2.51,
"output_tokens": 22000,
"models": { "Opus": 2.51 },
"subjects": [{ "title": "…", "url": "…", "share": 1.0 }],
"log": "run-20261003-124101.log",
"input_tokens": 1200,
"cache_read_tokens": 90000,
"cache_write_tokens": 4000,
"steps": 37
}
],
"waiting": 2,
"panels": [
{
"title": "Questions for you",
"type": "list",
"items": [{ "title": "…", "url": "…", "meta": "…" }]
}
],
"settings": {
"schema": [
{
"key": "max_7d",
"label": "Weekly limit",
"type": "percent",
"min": 0.1,
"max": 0.95,
"help": "…",
"group": "Quota"
}
],
"values": { "max_7d": 0.75 }
},
"controls": ["pause", "resume", "run_now"],
"acks": [{ "id": "3f0c…", "ok": true, "message": "Weekly limit set to 80 %." }]
}
level:ok,info,warnorbad. An unknown level reads asinfo.active: what is running now.runnames the entry's run by itsidinruns; Caldera then shows that run's cost so far next to the work and, once it knows at least five finished runs of the samekind, about how long the work has left. WithoutrunCaldera looks for the run of the samekindthat started in the same second.estimateis the work's estimate as text,estimate_usd({"low", "high"}) the same in USD, drawn as a bar of the cost so far against it.runs: the most recent runs. Caldera keeps them (90 days, and at least the newest 2000 per agent), so older runs survive the agent sending only a few each time. The sameidoverwrites: report a run while it runs and again when it ends.statusokis a success andemptya run that ended without a result; any other status of an ended run counts as failed in the statistics. A run may also reportinput_tokens,cache_read_tokens,cache_write_tokensandstepsfor the statistics; a value that is not a whole number of at least 0 is dropped.waiting: how many pieces of work wait for the agent right now, 0 for none. Send it while the agent is paused, at its quota limit or between runs, so the statistics can tell idle time with work waiting from idle time without.paused:truewhile the agent is paused,falsewhile it is not. Caldera then offers only the control that fits: Resume while paused, Pause while not, and Run now only while not paused. Left out, Caldera does not know and offers both Pause and Resume.panels: what only this agent has, in one of four shapes:list:itemswithtitle, optionalurl,meta,badge,level;table:columns(headings) androws(cells as text or{"text", "url"});kv:itemswithlabelandvalue;text:lines.
settings.schema[].type:percent,number,bool,datetime(Unix seconds),text,select(withoptions:[{"value", "label"}]),list(withcolumns: fields of the six other types; its value is an array of rows, each an object with exactly the column keys, no cell empty).controls: the buttons Caldera may show, and the features an agent switches on by naming them:burn,session,message(it takes messages) andworkbench. Unknown entries are dropped.acks: answers to commands from earlier reports.
Everything is text. Caldera draws every string as text, never as markup.
Links are kept only if they start with http:// or https:// and lead somewhere public: an
address with a user name or password, localhost, a host name without a dot (or ending in .local,
.internal, .lan and the like) and an address of a private or link-local network are dropped, and the
title stays. Caldera judges the host as written and never resolves it. In the page the link shows its host
beside it, and the whole address is its tooltip.
Sizes. A report may be at most 256 KB. Strings and lists longer than their
caps are cut, not refused (for example a label at 80 characters, a detail at 300,
a list of health items at 50). A report that is not valid JSON, not an object,
or names another protocol is refused with 400. Unknown fields are ignored, so
a newer reporter can talk to an older server.
A faulty part is dropped, the rest counts. An entry of health, active, gauges, runs or panels
that does not parse (a panel of a type Caldera does not know, a run with a field of the wrong type) is
dropped alone. The lists that lost an entry are named in discarded of the answer, next to truncated,
and the agent's page says that part of the last report was discarded. State, controls and acks of the
same report are taken as usual.
The answer
{ "commands": [{ "id": "3f0c…", "type": "set", "payload": { "max_7d": 0.8 } }], "interval": 30 }
interval: the reporting interval Caldera asks for, in seconds. Clamp it to a range of your own.time_zone: the agent's time zone, an IANA name such asEurope/Berlin, in every answer. Write the times your agent shows people in it, and end its day at its midnight. The runtime (0.60.3 or later) keeps it asTZinagent.envand restarts the agent's process when it changes.commands, one of:pause,resume,run_now, with an emptypayload;burn:{"on": true|false}, only for an agent whose reportedcontrolsincludeburn(see "Burn through until the reset" below);session:{"on": true|false, "message"?: "<text>"}, only for an agent whose reportedcontrolsincludesession(see "In the report:session" below);workbench:{"on": true, "id": "<uuid>", "minutes": 1-240}or{"on": false, "id": "<uuid>"}, sent by Caldera when an admin opens or ends a workbench (see "The workbench" below);set: setting values, only keys from the schema the agent reported. Caldera checks type and bounds against that schema before it sends a command; the agent checks again and decides;log:{"name": "<log>"}, one of the log names the agent reported. Send that log toPOST /api/agent/v1/log; no ack is needed, the upload is the answer.
A command id is an opaque string. Echo it back; do not parse it.
A command is delivered at most once. If the answer to a report is lost, the
command is lost with it, and Caldera fails it when no answer has come after ten
minutes. That is deliberate: run_now must never run twice because a network
dropped a reply. A person can send it again.
A command nobody collects expires. One that waited for the agent's next report for more than 15
minutes is failed ("expired, the agent was not reachable") and is never delivered, so a "run now" pressed
while the agent was off does not run when it returns. A person's message and the answer to a question
are not commands in this sense and keep their own lifetime. Caldera also refuses a control that makes no
sense in the state last reported (run_now while a run is active, resume when paused is false,
pause when it is true) with the reasons control_run_active, control_not_paused and
control_already_paused.
POST /api/agent/v1/log
{ "command": "3f0c…", "name": "run-20261003-124101.log", "text": "…" }
At most 512 KB of text: send the end of the log. Caldera keeps it for 30 days, and only admins of the workspace can read it.
Errors
Every error is a JSON envelope {"error": {"code", "message"}}.
| Status | When |
|---|---|
| 400 | The body is not a valid report or log upload. |
| 401 | No agent token, an unknown one, or one that was rotated or deleted. |
| 403 | The workspace is not activated for Caldera. |
| 404 | The route was called on an address that is not Caldera's own, or the log names an unknown command. |
| 413 | The body is larger than the route accepts. |
| 429 | More than 60 reports or 10 logs a minute from one agent. |
None of these may stop the agent. Log them and try again at the next interval.
Changes to the protocol
Version 1 grows additively or not at all: a new optional field, a new panel type, a new command type that is reachable and reversible without Caldera. A change that would break a deployed reporter is version 2, on a new path, with version 1 kept until its reporters have moved.
Additions for blueprints
Every addition below is optional: a plain version 1 reporter that sends and
reads none of it keeps working. The runtime caldera.pyz speaks all of it; an
own reporter needs none of it.
In the report: applied
{ "applied": { "version": "1.1.0", "outcome": "ok", "message": "updated to 1.1.0" } }
version: the blueprint version the agent runs now, the one that works.outcomeof the agent's last update attempt:ok,rolled_back(the new version failed its health check, or got worse in the window, or a person rancaldera rollback: the agent is back on the old one) orfailed(nothing changed: the bundle could not be fetched, was refused, or an update was interrupted and undone).message: one line, at most 300 characters, text. Before any update it readsinstalled.
It is sent in every report, so the last outcome is never lost to one failed
report. agent.version carries the same version.
In the answer: desired
{ "commands": [], "interval": 30, "desired": { "blueprint": "ops-agent", "version": "1.1.0" } }
The version Caldera wants the agent to run. The agent applies it when it is not
already running it, blueprint is its own, and version is a semantic version
(anything else is ignored, never used as a path). A version the agent rolled
back from, or refused, is not applied again until desired names a different
one: otherwise a local caldera rollback would be undone by the next report. A
failed fetch (Caldera unreachable) is the exception: it is retried after ten
minutes. To roll back from Caldera, name the previous version in desired.
Caldera sends desired for as long as an admin's wish stands and omits it
otherwise.
GET /api/agent/v1/bundle/:version
The files of one version of the agent's own blueprint. Authorization: Bearer caldera_agt_…; another blueprint's version answers 404, as does an unknown one.
- 200,
Content-Type: application/zip, body: the bundle (below), andX-Caldera-Sha256: <hex>, the checksum of the body. The agent refuses a body that does not match it. - The bundle holds the blueprint's files and nothing else: no secrets, no
agent.env. Those exist only in the install answer. - At most 20 MB (the runtime refuses anything larger).
POST /api/agent/v1/install/preview and POST /api/agent/v1/install
Two calls with no token: the one-time install code is the credential, valid once, for fifteen minutes, for one installation of one blueprint version. Both take
{ "code": "caldera_inst_…" }
Preview first. It reads what the code would install and creates and spends nothing, so the CLI can ask for the secrets, and notice a directory that is taken, before the code is used. Answer 200:
{
"blueprint": "ops-agent",
"version": "1.0.0",
"description": "…",
"agentName": "ops-agent-1",
"runtime": "process",
"secrets": [{ "name": "SERVICE_KEY", "purpose": "…", "optional": true }],
"bindings": [{ "product": "<product id>", "role": "member", "scopes": ["content:read"] }]
}
No secret value, no token and no file name is in it. agentName becomes a
directory name: lowercase letters, digits and hyphens.
Then redeem. Answer 200, once:
{
"agent": { "name": "ops-agent-1" },
"blueprint": "ops-agent",
"version": "1.0.0",
"env": {
"CALDERA_TOKEN": "caldera_agt_…",
"CALDERA_BINDING_<PRODUCT>_URL": "https://…",
"CALDERA_BINDING_<PRODUCT>_WORKSPACE": "3f0c…",
"CALDERA_BINDING_<PRODUCT>_TOKEN": "…"
},
"bundle": "<base64 of the zip>",
"sha256": "<hex of the zip>"
}
agent.nameis the preview's. The runtime refuses an install that names another.envbecomes.caldera/agent.env.CALDERA_TOKENis the agent's token. Each binding of the manifest adds three variables, with<PRODUCT>the product id in capitals:CALDERA_BINDING_<PRODUCT>_URL(the product's origin),CALDERA_BINDING_<PRODUCT>_WORKSPACE(the workspace id the bot belongs to; the product's API addresses it by id) andCALDERA_BINDING_<PRODUCT>_TOKEN(the bot's token, valid for a year, stamped for that product).CALDERA_URLis written by the runtime from the address it was given. Names are[A-Z][A-Z0-9_]*; a value with a line break is refused.- The bundle is the version's archive, byte for byte, and
sha256is of those bytes. It is the same archiveGET /bundle/:versionserves later. - An unknown, expired and used code all answer the same 404, on both calls, so a code cannot be probed. Rate-limited per address (429): twenty calls a minute, both together.
- Redeeming is one transaction: it claims the code, creates the agent, and creates (or reuses by name) one bot per binding with a token each. A refusal rolls all of it back and the code stays usable: 403 when a bound product is not activated for the workspace or the person who issued the code may no longer install agents, 409 when the workspace would hold more than ten bots, when a bot of that name exists with another role, or when the workspace has an agent of that name already. The message says which.
- An unredeemed code leaves no agent behind, and since the preview comes first, neither does a setup that is aborted at a secrets prompt. What can still fail after the redeem is the machine's own work (unpacking, writing files); the runtime then says that the agent exists in Caldera without a machine, and a person deletes it there and issues a new code.
What the runtime reports about bindings
For each binding the runtime adds a health item named Binding <product> to its
report, at most once in five minutes, from one request to the product with the
bot's token: GET <url>/api/v1/workspaces/<workspace>. ok for 200, and for 403
(a token whose scopes do not cover that read still works); bad for 401
(revoked, expired or deleted token) and 404 (the bot is no longer a member);
warn when the product cannot be reached. Caldera shows bad as a broken
binding on the agent; only the product's own settings can mend it. These items
never count in the agent's own level for the update rollback window.
GET /cli/caldera.pyz
The CLI and runtime itself, served by the app on Caldera's origin (no token: the
archive is the same for everyone and holds no secret), with
/cli/caldera.pyz.sha256 beside it (<hex> caldera.pyz) and
/cli/caldera.pyz.sig, the OpenSSH signature (namespace caldera-runtime) of
exactly those bytes, made where the signing key lives (the release build or the
publish job), which a runtime checks before it replaces itself. The signature
answers 404 when the build was not signed. The runtime's own version (it counts
apart from Caldera's) is the runtime.version the answer names; a runtime
published since is served once it is newer than the one Caldera was built with,
and a published one can be fetched by number at /cli/<version>/caldera.pyz. All three answer 404 on any other address than Caldera's own.
The bundle
A zip archive with caldera.agent.yaml at its root (the
manifest). The runtime treats it as untrusted and refuses the
whole bundle, leaving nothing on disk, if any entry:
- has an absolute path, a
..segment, a backslash, a drive letter or a NUL; - is a symlink, a device or any other non-regular file;
- appears twice, or lies under
.caldera/(the runtime's own directory); - the archive has more than 5000 entries, unpacks to more than 100 MB (counted while unpacking, not read from the headers), or one file to more than 50 MB;
- is missing a file the manifest names (
instructions,mcp, a compose file), or its manifest is invalid, or its version is not the one that was asked for.
The server applies the same rules at upload; the runtime does not rely on it.
A catalog version published without a release comes with X-Caldera-Signature: base64 of the release
key's OpenSSH signature of exactly these bytes, namespace caldera-catalog. Caldera offers such a
version only after it checked that signature itself. A runtime from 0.56 checks it again before it stages
the bundle and refuses one whose signature does not verify. The version Caldera was built with, and a workspace's own blueprint, carry none.
What the runtime gives the agent
The runtime launches the agent's process (runtime.command, an argument list,
never a shell) in current/<workdir> with the environment below. The agent needs
none of it to run; it is how it cooperates without Caldera.
| Variable | Is |
|---|---|
everything in .caldera/agent.env except CALDERA_TOKEN |
the binding tokens and URLs. The agent never receives the token that speaks for the runtime. |
everything in .caldera/secrets.env |
the secrets the person typed at caldera init |
CALDERA_SETTING_<KEY> |
each setting's current value (true/false for bool, compact JSON for a list, empty if unset) |
CALDERA_SETTINGS_FILE |
JSON of all settings, rewritten on every change |
CALDERA_PAUSE_FILE |
exists while the agent is paused; the runtime stops the process, so checking it is optional |
CALDERA_SECRET_NAMES |
the names the runtime put into the environment from secrets.env at the start, comma separated; the standard library's live_environ reads these fresh from the file, so a changed secret needs no restart |
CALDERA_RUN_NOW_FILE |
created by run_now; the agent removes it when it acts |
CALDERA_STATE_DIR, CALDERA_AGENT_DIR |
the state directory and the agent's directory |
CALDERA_AGENT_STARTED |
Unix time (seconds, 3 decimals) at which this process was started, for a health check that must see the new version work |
The agent reports by writing the JSON file the manifest names as status, in the
shape of a report: state, health, active, gauges, runs, panels. Other
keys are not forwarded; a file that is not an object costs one health line. The
runtime adds agent, settings, controls, acks, applied and a Process
health item, and replaces state with Paused or Not running when that is the
truth.
What the runtime does with the commands of this page, so that the server can rely on it:
pause/resume: the same.caldera/pausedfilecaldera pauseandcaldera resumewrite.run_nowis refused while paused. A command the manifest'scontrolsdoes not offer is refused with an ack.set: every key must be a declared setting and every value inside its bounds, or nothing changes.nullclears a setting only if the manifest gives it no default.log: only names declared in the manifest'slogs, only from a file that resolves inside the agent's directory and outside.caldera/; anything else is answered with the textThere is no such log.
An update is: fetch, stage beside the running version, swap current (one atomic
rename), restart, run health, keep or swap back. state paths live in
<dir>/state and are linked into every version; a file a bundle ships at a state
path is a seed, copied only if nothing is there. For 30 minutes after an update
the agent rolls itself back if its own health level gets worse than it was when
the update was kept. A process killed between any two steps is undone or finished
at the next start. None of this needs Caldera except the fetch.
Additions for the runtime itself
Also optional and additive. They concern the program caldera.pyz, as applied
concerns the blueprint version.
In the report: runtime
{
"runtime": {
"version": "0.32.0",
"previous": "0.31.0",
"pinned": "0.32.0",
"applied": { "version": "0.32.0", "outcome": "ok", "message": "updated to 0.32.0" }
}
}
version: the runtime version that runs now: the runtime's own number, built into the file (devfor a runtime run from source). Required insideruntime; the fieldruntimeitself is optional.previous: the version kept beside it, whichcaldera rollback-runtimegoes back to. Absent when there is none.pinned: a version a person pinned on the machine (caldera pin-runtime). While it is set, the runtime does not update to any other version, whatever Caldera wishes. Absent when not pinned.applied: how the last self-update attempt ended, with the outcomes of the blueprintapplied(ok,rolled_back,failed),versionbeing the one that works now andmessageone line (at most 300 characters). Absent before the first attempt; sent in every report afterwards, so one lost report loses nothing.
A runtime sends it in every report. An old runtime sends none.
In the answer: runtime and runtime_desired
{
"commands": [],
"interval": 30,
"runtime": { "version": "0.32.0", "sha256": "<hex of /cli/caldera.pyz>" },
"runtime_desired": "0.32.0"
}
runtime: the runtime this Caldera serves at/cli/caldera.pyz: its version and the SHA-256 of that file (the same value as/cli/caldera.pyz.sha256). Information. The agent page shows that a newer runtime is available whenruntime.versiondiffers from the agent's ownruntime.version.runtime_desired: a wish, present only while an admin's "update runtime" press stands and omitted otherwise. The runtime never updates itself unasked. It names the version the agent should run, which is the version ofruntime. A plain runtime never sees it.
Both fields are only in the answer to a report that carries runtime: a reporter
that sends no runtime gets the answer it always got. Both are absent when this
Caldera serves no runtime build.
How Caldera keeps the wish. The press stores the served version as the wish,
together with a mark of the agent's last runtime.applied (outcome and message,
not the version) at that moment. With each report Caldera decides:
| The report shows | The wish |
|---|---|
| The served version is no longer the wished one (a newer runtime replaced it, or it was withdrawn) | dropped; runtime_desired never names an older version than the one served |
applied unchanged since the press (a runtime still on trial reports the version it runs, with the old outcome) |
stands |
applied.outcome: ok and runtime.version equal to the wish |
over; the hold is cleared |
applied.outcome: rolled_back or failed, different from the one at the press |
over; the wished version is held |
A held version is refused at the next press (runtime_version_held) until
Caldera serves another one. The press is also refused for a runtime that reports
no runtime (runtime_too_old), for a Caldera with no build
(runtime_not_served), for a runtime already at the served version
(runtime_up_to_date) and for one pinned to another version (runtime_pinned).
A failure that is only the machine's or the network's (no ssh-keygen, a failed
download) is held too: the runtime retries those by itself while the wish stands,
but Caldera cannot tell them from a refused file, so the person presses again
after the release changes or the machine is mended.
What the runtime does with the wish
- Is it wanted? The wish is applied when all hold:
runtime_desiredis a version string ([0-9A-Za-z][0-9A-Za-z._-]{0,63}, never used as a path), it is not the running version, it is not the version the runtime rolled back from or refused (a hold, lifted whenruntime_desirednames a different one or the runtime is replaced), and it is not ruled out by a local pin. - Fetch.
GET /cli/caldera.pyzandGET /cli/caldera.pyz.sigon Caldera's origin (no token: neither holds a secret, and the runtime never sends its token there). The SHA-256 must equal the one inruntime.sha256of the answer when that names the same version, and theX-Caldera-Sha256header when present. The file's own version must equal the wish. - Verify the signature, always, with
ssh-keygen -Y verify -n caldera-runtime -I caldera-releaseagainst the public key built into the runtime. A bad or missing signature, or nossh-keygen: nothing changes, the outcome isfailedand the message says which. - Swap and restart. The running file is kept as the previous one, the new file replaces it with one rename, and the runtime restarts itself in place (the same process id; the agent's own processes are not touched).
- Trial. The first successful report of the new runtime within five minutes
makes it good (
ok). A runtime that does not start, crashes repeatedly, or does not report successfully in the window goes back to the previous file by itself (rolled_back), and the version is held.
caldera rollback-runtime and caldera pin-runtime <version|off> work with no
connection at all. See the runtime.
In the report: account
{ "account": { "org": "Example Org", "plan": "max", "email": "someone@example.com" } }
The Claude account the agent's machine is signed in to. All three fields are text and optional. See The Claude account hint.
In the report: claude
{ "claude": { "access": "0b1c2d3e-4f50-4617-8293-a4b5c6d7e8f9", "fingerprint": "3f2a9c0d41b7e865" } }
The Claude access Caldera handed the agent and the agent holds: the access's id and a fingerprint of the
key, the first 16 hex digits of its SHA-256. Never the key. The fingerprint is taken from the key the
agent's process gets, so a line in secrets.env that overrides the handed-over key shows as another
fingerprint. An agent on its machine's own sign-in sends no claude.
In the report: connections
{
"connections": [
{ "id": "1a2b3c4d-5e6f-4071-8293-a4b5c6d7e8f9", "fingerprint": "9c41d07e2b6a53f8" },
{ "id": "2b3c4d5e-6f70-4182-93a4-b5c6d7e8f901", "fingerprint": "e05b7a19c3d8f264" }
]
}
The connections Caldera handed the agent and the agent holds, by id and fingerprint. Never a value. The
fingerprint is the first 16 hex digits of the SHA-256 of the connection's values as compact JSON: an object
of the names written for it and the values the agent's process gets, keys sorted, no spaces, UTF-8. A line
in secrets.env that overrides one of the handed-over values therefore shows as another fingerprint. An
agent without connections sends no connections.
In the report: connectors
{
"connectors": [
{
"id": "3c4d5e6f-7081-4293-a4b5-c6d7e8f90123",
"fingerprint": "5b0e9a71c2d4f836",
"tools": [{ "name": "search", "description": "Search the wiki", "read_only": true }]
}
]
}
The connectors assigned to the agent (ADR-0090) and the agent holds, by id and the fingerprint it was
handed. tools lists what the agent found at an MCP server or an API, so Caldera can offer them for ticking;
a connector without it shows none. An agent without connectors sends no connectors.
Burn through until the reset: burn and quota
{
"controls": ["pause", "resume", "burn"],
"burn": { "until": 1791446400 },
"quota": { "seven_day": { "used": 0.97, "resets_at": 1791446400, "measured_at": 1791400000 } }
}
The agent runs without its quota limits until the weekly reset, and the mode ends by itself. All of it is additive to v1 and optional.
controlsmay nameburn. Without it Caldera offers no switch and refuses the command.burn: {until}is present while the mode is on;untilis Unix seconds, the reset of the seven-day window. Absent ornullmeans off.untilat or before now means off, whatever else the report says.quota.seven_day:used(0 to 1),resets_atandmeasured_at(Unix seconds), the agent's own measurement. The end of the mode is taken from it. A value of the wrong shape reads as absent.- The command
{"type": "burn", "payload": {"on": true|false}}is a wish like the others. The agent computes the end; Caldera never sends one. The agent may refuseonor report an earlier end. Pause wins: the mode lifts no pause and no hold. - The state comes from the agent at every report, so switching it on or off in the agent's own channel
shows in Caldera. It is reachable without Caldera:
caldera burn on|off --dir <agent>.
In the report: session, and the command session
{
"controls": ["pause", "resume", "session"],
"session": {
"started": 1791440000,
"ends": 1791447200,
"name": "personal-agent (Caldera)",
"url": "https://claude.ai/code/session_01ABC?from=cli"
}
}
"Talk to the agent" (ADR-0045 D11): a Claude Code session on the agent's machine, in its working directory, continued in the Claude app or on claude.ai. All of it is additive to v1 and optional.
controlsmay namesession. Without it Caldera offers no button and refuses the command withsession_not_offered.sessionis present while a session is open.startedandendsare Unix seconds,nameis what the session is called in the app,urlthe address of the session on claude.ai if the runtime saw it (only anhttps://claude.ai/code/session_…address survives; anything else is dropped and the session stays). Absent ornullmeans closed, andendsat or before now means closed, whatever else the report says.- The command
{"type": "session", "payload": {"on": true|false, "message"?: "…"}}is a wish like the others. Caldera sends no directory, no program and no duration: the runtime decides all three.messageis an optional first message, plain text of at most 2000 characters without NUL, passed only as data (see the runtime for what can deliver it). - The agent may refuse
on: a session is already open, Claude Code is not installed, or Claude does not trust the directory. The ack carries the reason. - The session runs under the machine's Claude account and uses its quota; only someone signed in to that
account sees it. Reachable and reversible without Caldera:
caldera session [on|off] --dir <agent>.
The workbench: the command, the report and the line
{
"controls": ["pause", "resume", "workbench"],
"workbench": { "id": "0f0e0d0c-0b0a-4908-8706-050403020100", "started": 1792500000, "ends": 1792503600, "connected": true }
}
The workbench (ADR-0085) is a Claude Code session in Caldera, for improving an agent: it works in the agent's directory with wide rights, under the agent's own Claude key, and asks a person in Caldera before every tool it was not allowed yet.
controlsmay nameworkbench. Without it Caldera offers no workbench and refuses to open one withworkbench_not_offered; a runtime older than 0.49 getsworkbench_runtime.- The command
{"type": "workbench", "payload": {"on": true, "id", "minutes"}}opens it;on: falseends it. One per agent at a time; the same id twice is the same workbench. workbenchis in the report while one is open: Caldera's id,startedandends(Unix seconds), and whether the runtime holds its line right now.- The line: the runtime opens a WebSocket to
/api/agent/v1/workbench/<id>with the agent's token and sends JSON frames{"type": "hello", "ends"}and{"type": "entry", "entry": {kind, text, tool?, question?, decision?, reason?}}(kindsassistant,tool,result,permission,system, anddecisiononly asauto; a lastsystementry withreasonended,timeoragentends it). Caldera sends{"type": "message", "text"},{"type": "decision", "question", "decision"}(allow,allow_sessionordeny) and{"type": "end"}. A broken line is opened again every 5 seconds until the workbench's time is up. Everything is recorded; a key the agent holds is blanked before it leaves the machine. Reachable without Caldera:caldera workbench off --dir <agent>. - An admin turns the workbench on per agent first (it is off for every agent;
workbench_offuntil then). - The workbench's key (D6, runtime 0.50): Caldera's first frame on the line is
{"type": "key", "key", "scope", "workspace", "agent", "blueprint"}.keyis an API token that lasts until the workbench ends and is revoked then;scopeblueprintlets it upload, publish and deploy versions of the agent's own blueprint (blueprintnames it),settingslets it change that agent's settings with asetcommand. It reaches nothing else, every use goes on the record, and it isnullwhen Caldera holds none (a workbench opened before Caldera restarted). The runtime hands it to Claude Code only, inCALDERA_WORKBENCH_KEYwithCALDERA_URL,CALDERA_WORKSPACE,CALDERA_AGENT_ID,CALDERA_AGENT_NAMEandCALDERA_BLUEPRINT;caldera publish,caldera settings key=valueandcaldera request(a question to the admins, ADR-0104 D4) use them.
In the report: resumable, and the command session with resume
Continuing the conversation about one piece of work (ADR-0050; additive to v1; needs runtime 0.36 or later).
{
"controls": ["pause", "resume", "session"],
"resumable": [
{ "id": "card-17", "title": "Fix the login redirect", "url": "https://tracker.example/c/17",
"active": 1791440000, "detail": "In review" }
],
"session": { "started": 1791440000, "ends": 1791447200, "name": "ops (Caldera)", "resume": "card-17" }
}
resumable: at most 50 entries, newest first.idis the agent's own stable handle of the piece of work, matching^[A-Za-z0-9][A-Za-z0-9._:-]{0,119}$(an entry that does not is dropped, and so is a second entry of an id).titleat most 120 characters, cut at a word;urlis kept only if it ishttporhttps;activeis Unix seconds;detailat most 300 characters.- Present means complete,
[]included; absent means the agent could not tell, and Caldera keeps the last list. A Claude session id never leaves the machine. session.resumeis theidthe open session continues.- The command
{"type": "session", "payload": {"on": true, "resume": "<id>"}}is accepted only for anidfrom the agent's last list (resume_unknownotherwise) and only for an agent that reported a list (resume_not_offered). The runtime hands theidto the manifest's own start command inCALDERA_SESSION_RESUME, never as an argument and never through a shell. One session at a time still holds.
Version 1 additions for findings and repairs
Every addition is optional and additive: a plain v1 reporter that sends and reads none of it keeps working.
In the report: findings
{
"findings": [
{ "key": "service:telegram", "level": "bad", "text": "The chat bot is down", "since": 1791030000 },
{ "key": "stage:stuck", "level": "warn", "text": "No card moved for two days", "since": 1790900000, "needs_session": true }
]
}
What is wrong with the agent, as the agent sees it. The checks themselves stay in the agent; Caldera shows and announces the result.
keyis stable across reports (service:telegram,stage:stuck), at most 120 characters. A second entry of one key is dropped.leveliswarnorbad; anything else reads aswarn.textis plain text, cut at 300 characters.sinceis when the agent first saw it (Unix seconds); without it Caldera takes the time it first heard of it.needs_session: truemarks a finding that repairing will not fix and a person has to look at.done(optional, runtime 0.51) says in a sentence what the agent or its guardian already did about it, cut at 300 characters; Caldera's message about the finding shows it (ADR-0094 D2).- At most 50 findings are used,
badfirst. An entry that is not the shape (no key, no text) is dropped, never the whole report.
The field being present is what says "this report is complete". Caldera keeps a finding
open while the agent reports its key and resolves it only on a report that carries
findings and no longer names it. A report without the field resolves nothing: the runtime
leaves the field out when it had no body (an adapter that did not answer, a status file that
is missing), so an agent's hiccup never sends a wave of "resolved" and then "new". A reporter
that has checked everything and found nothing sends "findings": []. A list that reached the
cap of 50 resolves nothing either, because it may have been cut.
Caldera keeps each occurrence with its history: opened, resolved, muted (who, until when) and the runs of repairs. A key that comes back is a new occurrence.
In the answer: announced and muted
{ "commands": [], "interval": 30,
"announced": [{ "key": "service:telegram", "channel": "telegram" }],
"muted": [{ "key": "stage:stuck", "until": 1791100000 }] }
Only in the answer to a report that carried findings. announced lists the open findings
Caldera announced and over which channel (email, telegram, digest; more may be added),
muted the open findings a person muted and until when (Unix seconds). Caldera announces a
finding that needs a person once when it opens and once when it is resolved, never per
report, to the members who turned a channel on; one that needs nobody goes into their daily
digest (digest, ADR-0094). An agent may leave out its own message for a key only if Caldera announced it
over a channel the recipient actually uses, and keeps quiet about a muted key until its end.
Until it knows that, an agent keeps all of its own messages, and for findings about Caldera's
own instance it keeps them anyway: Caldera cannot say that it is down
(see Findings and repairs).
Repairs: actions, action_runs and the command action
The manifest declares repairs (actions, see The manifest); the runtime reports
them with what is left of their limit, and the runs it made:
{
"actions": [
{ "name": "restart-bot", "label": "Restart the chat bot", "auto_on": ["service:telegram"], "limit": 3, "used": 1 }
],
"action_runs": [
{ "id": "5d1e…", "name": "restart-bot", "at": 1791030100, "trigger": "auto",
"outcome": "ok", "finding": "service:telegram" }
]
}
limitis the runs allowed in any 24 hours (a sliding window, not the calendar day) andusedthe runs counted in it, so the page can say how many are left.triggeriscommand(a person pressed it in Caldera),auto(the runtime's ownauto_on) oroffline(caldera actionon the machine);outcomeisok,refused(the agent said no),failed, orexhausted(the limit stopped it before it ran). Anidis the runtime's; the same id overwrites, so a report sent twice stores a run once. At most 50 runs per report.- The command
action,{"type": "action", "payload": {"name": "<name>"}}: the payload is the name and nothing else, and the name must be one the agent declared. A reporter or runtime refuses a payload with any other key, and Caldera stores nothing else, so a button in Caldera can never push data into an agent's code. - The limit is the foundation's, counted by the runtime on the machine: at most three runs
per action in any 24 hours (a manifest may only lower it), the same for every agent. Past it
the runtime does not run the action and reports the finding
action:<name>:exhausted(bad,needs_session: true). An agent's refusal (exit code 1) is a normal answer and counts. - Automatic repair is local.
auto_onnames finding keys that may start the action. The runtime decides from the agent's own findings, under the same limit and with at least ten minutes between two automatic starts, so it also works with Caldera unreachable. - Reachable without Caldera:
caldera action <name> --dir <agent>on the machine.
Who may do what: every member above guest sees findings; admins (agents.manage) mute, run
repairs and open a session. A finding that needs a person offers "Talk to the agent" with the
finding as the session's first message.
Additions for figures
Additive: a plain v1 reporter that sends none of it keeps working. A runtime before 0.55 drops the field, as it drops every key it does not know.
In the report: figures
{
"figures": [
{ "key": "board:in-acceptance", "label": "Cards in acceptance", "value": 3, "unit": "cards", "group": "Board" },
{ "key": "cost:week", "label": "Cost this week", "value": 12.4, "kind": "money", "unit": "USD", "group": "Cost" },
{ "key": "stage:built", "label": "Stage built", "value": 1791030000, "kind": "time" }
]
}
What the agent reports about itself, for people to look at. Caldera does not act on a figure: a problem is a finding, a question a message.
keyis stable across reports, at most 120 characters. A second entry of one key is dropped.labelis the text shown, at most 80 characters (longer is cut), in the language the agent writes in.valueis a finite number, or a text of at most 200 characters (longer is cut).kindisnumber(the default for a number),text(the default for a text),money(needsunitas an ISO currency such asUSD),duration(seconds, not negative),time(Unix seconds, not negative) orratio(0 to 1). An unknownkindreads as the value's own; akindthe value does not fit (a text formoney, a ratio of 1.5) drops the entry.unit(kept fornumberandmoney),group(at most 40),url(http(s), a link that is not is left out) andat(Unix seconds the value was measured; left out when it is not a plausible time).- At most 40 entries are used, in the order sent; an entry that is not the shape is dropped, never the whole
report. Both implementations run the same rows (
caldera/schema-cases/figures.json).
A figure is never a secret. Caldera stores figures in the clear and shows them to everyone who may see
the agent. The runtime drops an entry whose label or value contains a value it registered as secret and
adds the finding figures:secret (warn); the credentials of an agent never travel in a figure.
The field being present means "this report is complete". For number, money, duration and ratio
Caldera keeps one point per key per hour (the last value of that hour) for 90 days. A key that a complete
report no longer carries leaves the overview; its history stays until it ages out, so a figure that comes
back finds its line again. A report without the field changes nothing: the runtime leaves it out when it had
no body or the status did not carry the key. A status that carries "figures": [] clears them all.
Version 1 additions for messages and answers
Every addition is optional and additive: a plain v1 reporter that sends and reads none of it keeps working.
In the report: messages
{
"messages": [
{ "id": "card-12", "kind": "question", "text": "Accept card 12?",
"options": [
{ "value": "accept", "label": "Accept" },
{ "value": "back", "label": "Back to the agent", "text": "required" },
{ "value": "later", "label": "Later", "text": "optional" } ],
"ref": { "title": "Card 12", "url": "https://example.test/c/12" }, "expires": 1791999999 },
{ "id": "n-77", "kind": "notice", "text": "Deploy finished.", "ref": { "message": "7f1c..." } }
]
}
What the agent says to people and asks them.
idis the agent's, stable until the message is answered or withdrawn. It and every optionvaluematch^[A-Za-z0-9][A-Za-z0-9._:-]{0,119}$, because they stand on a command line (adapter answer <message> <value>); an entry that does not is dropped.kindisquestionornotice(extensible: an unknown kind reads asnotice). Anoticeis announced once and needs no answer.- A question shows its
optionsas buttons (at most 10,labelcut at 60). An option may ask for a text with it:text: "required"(an approval's "Back to the agent" needs a reason) or"optional"; without the key it takes none.free_text: truealso accepts a typed answer without an option; a question without options takes free text, as it has no other way to be answered. textis plain text, cut at 1500 characters (ADR-0043 D6).refis{title?, url?, message?}: a link (http(s)only) and, in a notice that replies to a person's message,message= theidof that message (the command's id).expiresis Unix seconds; past it the question is not offered any more.- At most 20 messages. An entry that is not the shape is dropped, never the whole report.
Present means complete, as for findings: a message is open while the agent reports its id on
a report that carries messages, and withdrawn by the first such report that no longer names
it. A report without the field withdraws nothing (an adapter that did not answer), and so does
a list that reached 20, which may have been cut. A reporter that checked and has nothing sends
"messages": []. Caldera keeps each occurrence as history: asked, answered by whom, with what.
An id that comes back is a new occurrence.
The commands answer and message
{ "type": "answer", "payload": { "message": "card-12", "value": "back", "text": "tests are red" } }
{ "type": "message", "payload": { "text": "why is card 3 stuck?" } }
{ "type": "message", "payload": { "text": "listen", "audio": { "id": "<uuid>", "mime": "audio/ogg", "seconds": 7 } } }
answer{message, value?, text?}.valuemust be one of the question's options;textonly where the option allows it (nonempty where it saysrequired) or, with novalue, where the question takes free text; at most 2000 characters, plain text. The rules are one function (one function, run by Caldera when a person answers and again by the runtime): Caldera applies them when a person answers, and the runtime again before it passes the answer on. One answer at a time: while an answer waits or was taken, a second is refused; one the agent refused leaves the question open. The agent has the last word: an answer to a question it no longer asks is refused with a reason (the ack'sok: false).message{text?, audio?}, at least one. A person's short message (D3). The agent answers withnoticemessages whoseref.messageis the command'sid. While a conversation is open (a person wrote or answered in the last three minutes) Caldera answers reports withinterval: 5; the runtime accepts 5 to 300.messageneedsmessageincontrols(amendment of 2026-10-10). Caldera refuses to write to an agent whose last report does not name it, withmessages_not_offered, before a command is made: from the page, the API and Telegram (the bot answers with a sentence). The runtime refuses the command again when its manifest does not name it, in both modes, before anything is fetched, written to the inbox or passed to the adapter. Answers are not gated: an agent that asks must take answers. An existing agent addsmessageto itscontrolsto keep receiving messages; this needs runtime 0.36 or later, because a 0.35 runtime refuses the unknown control and the manifest with it.- Only an admin (
agents.manage) answers and writes; members read. An agent whose messages go through its own channel (a per-agent setting, ADR-0047 D5) gets no such commands and Caldera sends none of its messages.
The guardian's questions: guardian and the command guardian
(ADR-0108 D3, runtime 0.57.) A measure the guardian proposes outside the self-healing table is a question
of the runtime's own, sent among the agent's messages with an id guardian-<symptom>-<time>, the options
yes, no and always ("Ja", "Nein", "Immer erlauben") and an expires four hours on. It is answered like
any question (the command answer), and the runtime takes the answer itself: the agent never sees it. "Ja"
runs the measure once, "Nein" does nothing and the symptom is not asked about for 24 hours, "Immer erlauben"
runs it and from then on allows that operation for that kind of symptom without asking.
{ "guardian": { "permissions": [{ "operation": "agent-restart", "symptom": "stuck.short", "since": 1793952000, "title": "Agent neu starten?" }] } }
{ "type": "guardian", "payload": { "revoke": { "operation": "agent-restart", "symptom": "stuck.short" } } }
guardianin the report: what is allowed without asking, in every report of a runtime that guards its agent, whatever the agent's status says. Caldera keeps the last list and shows it on the agent's Setup tab. Lenient: an entry whose names are not lowercase words ([a-z0-9][a-z0-9._-]{0,59}) is dropped, at most 50.guardianthe command:{revoke: {operation, symptom}}takes one back; the next time, that measure asks again. Caldera refuses a permission the agent did not report (guardian_permission_unknown). The machine holds the list, so a permission holds, and is taken back by the runtime, without Caldera too. It is a file in the agent'sdata/like the agent's other state: it keeps a measure from running unasked by mistake, not from the agent's own user.
The agent's public key: ssh
(ADR-0098 amendment 2026-11-09, runtime 0.59.) An agent whose bundle brings server/operations.sh makes an
ssh-ed25519 key on its own volume at its first report and reports the public half, so that Caldera can put
it into the kit it builds for a server:
{ "ssh": { "publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI... caldera-agent" } }
Lenient: anything that is not one ssh-ed25519 <base64> [comment] line (a private key above all) drops the
field, not the report. The private half is never sent. Caldera shows the key on the agent's page and builds
the command "Add a server" from it (POST /api/v1/workspaces/<id>/agents/<id>/server-kit, a session of an
admin only), which serves a one-time script at GET /kit/<token>. The body may carry options, the install options the
blueprint's serverkit declares, by flag (a path, a list of paths, or true for a switch); a flag it does not
declare is refused with server_kit_option_unknown, a value that is not an absolute path from letters, digits
and @._/- with server_kit_option_invalid.
Voice messages: GET /api/agent/v1/audio/:id
A voice message from a person is not transcribed by Caldera. The command carries only
{id, mime, seconds}; the runtime fetches the file with the agent's token. The response is
the audio with its Content-Type.
- Fetched once. The row is deleted by the fetch, and any audio older than a day is gone
whether or not it was asked for. A second fetch, another agent's id and an id that never
existed all answer the same
404. - At most 2 MB and 600 seconds; types
audio/ogg,audio/mpeg,audio/mp4,audio/aac,audio/webm,audio/wav. - The runtime hands the file over (adapter verb
message --audio-file, or a file in the inbox in process mode). An agent that cannot use it refuses with a reason.
In the answer: documentation
documentation: {product, collection?, page?} (a product name and ids) is the one place an admin gave
the agent to write in; null says "none"; a missing key says "nothing known", so an older server
never clears an area. It is in the answer of every report of an agent that has a binding for the
knowledge product. The runtime replaces the CALDERA_DOCS_PRODUCT, CALDERA_DOCS_COLLECTION and
CALDERA_DOCS_PAGE lines of agent.env and nothing else, and only with a product name and ids. An agent
whose bot may write in more than one place, or is a member, is told null.
In the answer: bindings
bindings is a record of CALDERA_BINDING_<PRODUCT>_URL, _WORKSPACE and _TOKEN names to text: the
access an admin granted from the agent's page after install, whose key exists nowhere else. It is only
present while such a key waits, and in every answer until the agent's next report shows the product in its
binding health (Binding <product>, not bad); then Caldera forgets the key. The runtime replaces exactly
those lines of agent.env (atomically, mode 0600, other lines untouched), only with names of that shape and
one-line values (an address must be http or https), clears the cached health of the product and restarts the
agent's process when something changed, because bindings are read at start. Repeating the same lines writes
nothing and restarts nothing. A paused agent stays stopped and reads them when it is resumed. A runtime that
does not know the field ignores it; the agent's page names the runtime version that takes it (0.39).
In the answer: bindings_withdrawn
A list of products whose binding the agent still checks (Binding <product> in its health) but Caldera
withdrew: the agent does not hold it any more, and its bot's token for that product was revoked with none
left working. It is only present while the report shows such a check. A product whose bot token still works is never named, since the runtime deletes what is named: lines nobody
granted through Caldera are touched only when the token behind them is dead anyway.
The runtime takes the CALDERA_BINDING_<PRODUCT>_URL, _WORKSPACE and _TOKEN lines of those products out
of agent.env (atomically, mode 0600), leaves every other line alone (another product, a data source still
granted, the board), forgets the product's cached health and restarts the agent's process when something was
removed. An optional binding of the manifest without any line is not checked at all. Caldera drops the check
of a withdrawn binding from the stored report, so no screen counts it, also for a runtime that does not know
the field (0.56).
In the answer: claude
Either { "access": "<id>", "kind": "subscription" | "api", "key": "<key>" }, the Claude access an admin
assigned to the agent, or { "access": null }, the assignment taken away. It is only present while the
agent's report does not match the assignment. The runtime writes CALDERA_CLAUDE_ACCESS and the key's
line for its kind (CLAUDE_CODE_OAUTH_TOKEN for subscription, ANTHROPIC_API_KEY for api) into
agent.env (atomically, mode 0600), drops the other kind's line, and restarts the agent's process when
something changed. Only a value of the right shape is taken; anything else leaves the file alone. null
removes only a key Caldera handed over (the file has CALDERA_CLAUDE_ACCESS), never one set by hand. The
key is hidden in the runtime's logs. The agent keeps the key when Caldera cannot be reached. A runtime
that does not know the field ignores it; the agent's page names the version that takes it (0.39).
In the answer: connections
Every connection an admin assigned to the agent, each with its id, its service (notion, favro,
telegram, gchat), the fingerprint of its values and the lines it is handed over under in env: the
secret names the drivers read (NOTION_TOKEN; FAVRO_EMAIL, FAVRO_TOKEN; TELEGRAM_BOT_TOKEN,
TELEGRAM_CHAT_ID; GCHAT_WEBHOOK_URL). It is only present while the agent's report does not name
exactly these connections. An empty list takes every connection away.
The runtime writes the lines into agent.env (atomically, mode 0600) and notes in the line
CALDERA_CONNECTIONS which names it wrote for which connection. A connection no longer listed loses only
its own names. A name someone set by hand is never overwritten or removed; the connection then shows as
overridden. Only an entry of the right shape is taken; anything else is skipped. The values are hidden in
the runtime's logs. When something changed, the runtime restarts the agent's process; a paused agent stays
stopped. The agent keeps its connections when Caldera cannot be reached. A runtime that does not know the
field ignores it; the agent's page names the version that takes it (0.40).
In the answer: connectors
Every connector an admin assigned to the agent (ADR-0090 D3): its id, kind (mcp, http, internet),
name, role (source or target), purpose in the admin's words, the ticked tools, for the internet
its domains (or null) and limits (searches, pages per run), for an MCP server or an HTTP API its
url and, with a sign-in, header and secret, and a fingerprint of the whole entry. It is only
present while the agent's report does not name exactly these connectors with these fingerprints. An empty
list takes every connector away.
The runtime keeps the entries in .caldera/connectors.json (atomically, mode 0600) and gives the agent's
process its path in CALDERA_CONNECTORS_FILE; nothing of it enters agent.env or the model's environment.
A secret is hidden in the runtime's logs. The agent's process is not restarted: it reads the file when a
run uses a connector. A runtime that does not know the field ignores it; the agent's page names the version
that takes it (0.51).
In the answer: telegram
telegram: {chat_id, thread_id} (the group's id as text, the topic's number): where this agent's
topic is in the workspace's Telegram group, only while a group is linked and the topic exists.
The runtime writes it to notify.json, so an agent's own one-way alarm (D5) lands in the right
topic with the bot token kept on its machine.