The manifest
caldera.agent.yaml sits at the root of a bundle. This page describes it
field by field. The manifest is strict: an unknown field is an error with its
name in it (a typo such as secret: for secrets: would otherwise install an
agent without the credential it needs).
The JSON Schema
caldera.agent.schema.json is the early
warning for an editor. Caldera's own validation, including the rules that compare
fields with each other, is the authority.
For what a blueprint is and how it is published and installed, see Blueprints.
Fields
| Field | Required | What | Rules |
|---|---|---|---|
name |
yes | The blueprint's name. | ^[a-z][a-z0-9-]{0,62}$. Must equal the blueprint's name in the workspace. |
version |
yes | This version. | Semantic version without build metadata: 1.2.3 or 1.2.3-rc.1. |
description |
yes | One paragraph for people. | 1 to 500 characters. |
runtime |
yes | How the agent runs. | type: process with command (argument list, 1 to 50 items) and optional workdir; or type: compose with file and optional workdir; or type: adapter with command, optional workdir (a bundle path or an absolute path) and timeout_seconds (1 to 120). Never a shell string. |
instructions |
no | The files that make the agent what it is (CLAUDE.md, .claude/, prompts). |
Up to 50 paths; each must exist in the bundle. |
about |
no | A Markdown file in the bundle that tells people how the agent works, in a page or less. See about. | One path to a .md file; must exist. Needs runtime 0.39 or later. |
mcp |
no | An ordinary .mcp.json. |
One path; must exist. Credentials in it are ${NAME} placeholders. |
settings |
no | schema (up to 80 fields; 50 before runtime 0.42) and defaults. |
See settings. |
secrets |
no | Third-party credentials the agent needs, by name and purpose only. | Up to 50. See secrets. |
bindings |
no | Access to the suite's other products, through bots. | Up to 10, one per product. See bindings. |
data_sources |
no | The types of data source the agent works with. | board, knowledge, channel, mailbox, repository, files, each once, each with its settings declared; an entry may say optional: true (runtime 0.53 or later). Not with an adapter runtime. See data_sources. Needs runtime 0.40 or later. |
serverkit |
no | The install options of the agent's server kit, which "Add a server" offers as fields. | {options: [...]}, 1 to 10 of {flag, type, label, help?, l10n?, max?, limit?}. See serverkit. Needs runtime 0.59.8 or later. |
databases |
no | The databases the agent keeps in its knowledge source: the runtime checks them, Caldera creates what they lack. | 1 to 5 of {key, setting, title, l10n?, fields}. See databases. Needs runtime 0.60.0 or later. |
state |
no | Paths that hold the agent's state and survive every update. | Up to 50; not inside each other. Created, not shipped. |
health |
no | The command that says whether the agent works. | command (argument list) and timeout_seconds (1 to 600, default 60 in the runtime). |
status |
no | The file the agent writes its report to. | One path. See the runtime. |
controls |
no | The buttons Caldera may show. | Any of pause, resume, run_now, burn, session, message, workbench; default pause and resume. workbench lets an admin open the workbench, a Claude Code session in Caldera with wide rights on the agent's machine (ADR-0085, runtime 0.49 or later); it is off unless named, and off for each agent until an admin turns it on. session lets an admin open a Claude Code session on the agent's machine; it is off unless named. message says the agent takes messages and answers them (adapter verb message, or the inbox in process mode); without it nobody can write to the agent. Needs runtime 0.36 or later. |
session |
no | How to start that session instead of the runtime's default. | {command: [argv…]}, only together with session in controls. The runtime appends <claude> remote-control --name … --permission-mode default to the arguments, so the command is a wrapper that ends in exec "$@". See the runtime. |
transcription |
no | Have the runtime turn voice messages into text on the agent's machine. | {backend: http | cli, url?, model?, language?}, only with message in controls. See transcription. |
actions |
no | Repairs the agent offers, by name. | Up to 20 of {name, label, help?, auto_on?, l10n?, command?}. A process agent names a command (argv) for each; an adapter agent has none (the runtime calls adapter action <name>); compose has no actions. See actions. |
actions_limit |
no | A lower limit of runs per action in 24 hours. | 1 to 3, only with actions. The foundation's limit is 3; a manifest may only lower it. |
logs |
no | The only logs Caldera may ask for. | Up to 50 of {name, path}; names unique; path relative to the working directory. |
container |
no | The agent as a container stack: a setup script, a prebuilt image, other services. | Only with a process runtime. See container. |
account |
no | false switches the Claude account hint off. |
A boolean; on by default. See the account hint. |
role |
no | What the agent is for: build, operate, or both as a list. |
build, operate, or a list of one or two of them, each named once. Shown on the agent's card and page, not enforced. A build blueprint that asks for secrets that look like production access gets a warning at install. See Roles and collections. |
audience |
no | Whom the agent serves: person (the default) or team. |
A team's agent is never given a connector that is only one person's, and its card and page say it is a team's. Needs runtime 0.51 or later. |
Paths
Every path in a manifest is later joined onto a directory on somebody's machine, so paths are the security surface. A path is valid when it is:
- relative, with forward slashes, at most 200 characters;
- free of
..,.and empty segments, backslashes, NUL bytes, a leading/and a drive letter; - not under
.caldera/(the runtime's own directory).
A trailing slash means the directory (data/, .claude/). The runtime checks
again against the real file system after resolving.
runtime
runtime:
type: process
command: [python3, agent.py] # argv: no shell, no quoting, nothing to inject into
workdir: . # optional, relative to the version directory
least: 0.40.0 # optional: the runtime this blueprint needs at least
least names the runtime a blueprint needs. A runtime older than that refuses the manifest with what to
do ("update the runtime first"), and Caldera refuses to move an agent onto such a version while it runs an
older runtime. Since runtime 0.40.0 the runtime brings the standards every blueprint shares: the board
commands and drivers, the knowledge sources, the chat channels and the mailbox, and the board contract.
A blueprint imports them as boards, sources, channels and mailboxes without carrying them, and
then names least: 0.40.0. A run calls their commands through the runtime: python3 caldera.pyz board …
and python3 caldera.pyz source …. A blueprint that still carries its own copy keeps using it.
Since runtime 0.50.0 the mail core is part of it too, as mail: sorting a mailbox, the model run that
reads text and answers JSON, drafts, the link guard, the audit record, the instruction pages, the orders in
its channel and the free chat. A mail agent keeps its channel, who may give it orders and its page
templates, and names least: 0.50.0.
compose names a compose file in the bundle. It is untried; see
the runtime.
adapter is for an agent that keeps its own processes (a timer, a bot, a pause
file other things also set):
runtime:
type: adapter
command: [.venv/bin/python, caldera/adapter.py] # argv, run as the runtime's user
workdir: /home/agent/my-agent # the agent's own checkout; or a path inside the bundle
timeout_seconds: 25 # optional: replaces the per-verb timeouts
The runtime then starts nothing, stops nothing and reads no file of the agent: it
reports what adapter status prints and passes commands on to the adapter, which
has the last word. A manifest with this runtime may not name status, logs,
state, secrets, bindings, instructions or mcp. The whole interface is on
Adapter mode and its contract.
settings
The form Caldera shows. The fields have exactly the shape the protocol reports, so what the blueprint declares is what Caldera shows.
settings:
schema:
- key: max_budget_usd # ^[a-z][a-z0-9_]{0,63}$
label: Highest cost of one run # 1 to 80 characters
type: number
min: 1
max: 30
step: 1
unit: USD
group: Work
help: Stops a run that would cost more than this.
defaults:
max_budget_usd: 5
A list setting is a table. This one asks for rows of host, port and switch:
settings:
schema:
- key: servers
label: Servers
type: list
max: 20 # at most 20 rows
columns:
- { key: host, label: Host, type: text }
- { key: port, label: Port, type: number, min: 1, max: 65535, step: 1 }
- { key: web, label: Web, type: bool }
defaults:
servers:
- { host: db.example.org, port: 22, web: false }
type |
Value | Bounds |
|---|---|---|
percent |
a number from 0 to 1 | min/max narrow it; default range 0 to 1 |
number |
a number | min and max are required |
bool |
true or false | none |
datetime |
whole Unix seconds | min/max optional |
text |
a string of at most 300 characters, no NUL | none |
markdown |
Markdown of at most 8,000 characters, no NUL | none; edited in a text area |
select |
one of options (value, label) |
options required, up to 50 |
list |
a list of rows | columns required (1 to 12 fields of the six types above, never list); min/max bound the rows, default max 50 |
page |
the id of a page | stored like text; optional access |
collection |
the id of a collection | stored like text; optional access |
board |
the id of a board | stored like text; optional access |
column |
the name of a column of a board | stored like text; of required |
model |
a Claude model by its alias, such as sonnet |
optional options narrow Caldera's list |
stepis counted frommin.- A
listvalue is an array of rows. Each row is an object with exactly the keys of thecolumns, and every cell is a value its column accepts and is never empty. A list travels whole: asetsends every row. Caldera edits it as a table (add a row, remove a row). A list does not nest in a list. - A column may carry a
default: what Caldera's forms propose for that cell in a new row (the settings tab's "add a row" and the "Add a server" dialog). It is a value the column accepts, checked like any other value, and a proposal only: the agent never reads it, and a row is stored with whatever the person confirmed. A column without one starts empty (a number at itsmin, a yes/no at no), and a select starts unchosen, so nobody saves an option they did not look at. Needs runtime 0.59.6 or later; declareruntime.least: 0.59.6. - Places (
page,collection,board,column): the value is an id (a column: its name), checked liketext. Caldera shows a picker instead of a text field: the places the admin may see, searched by title, and for acolumnthe columns of the board the form holds. Acolumnnames its board setting inof(the key of aboardfield of the same schema);ofis an error on any other type. - A place field may declare
access: readoraccess: write. When the picked place is in a product the agent has a bot for, saving the setting also gives the bot that access there. The admin must holdfullon the place, as for the data sources, or the whole save is refused and nothing changes.writeon a page or a collection of the knowledge product makes it the documentation area (an agent has one write place there); on a board it gives write access to that board. The field shows whether the bot has the access. A place that was picked earlier keeps its access when the setting names another place; the Setup tab's access in the suite removes it. - Needs runtime 0.39 or later. An older runtime does not know these types and refuses the manifest, so the agent keeps its old version. The runtime's own check names the release.
- A
markdownfield holds text of several lines, such as an agent's added instruction (added_instructionin the catalog's blueprints, added last to the system prompt of every model run). It cannot be a column of alist. Needs runtime 0.40 or later; declareruntime.least: 0.40.0. - A
modelfield offers the Claude models Caldera knows (Haiku, Sonnet, Opus, Fable, each the newest version), so a blueprint keeps no list of its own and a new model needs no new version.optionswith some of these aliases narrow the choice to them. The value is passed to Claude Code as--model. It cannot be a column of alist. Needs runtime 0.54 or later; declareruntime.least: 0.54.0. - A default must fit its field; a default for an undeclared key is an error.
- A key with no default is optional: it may be unset, and a
setcommand may clear it. A key with a default cannot be cleared. - Keys are unique.
minmay not exceedmax. - Caldera shows
unitcut to 20,helpto 300 andgroupto 60 characters. l10ngives a field (and a column of a list) its text per language:l10n: {de: {label: ..., help: ..., options: {<value>: <label>}, group: ...}}. Caldera shows the language of its interface and falls back to the field's own text.whenshows a field only while other settings hold one of the named values, such aswhen: {merge_when: [abnahme, erledigt]}. Each key names another declared setting. A hidden field keeps its value.advanced: trueputs a field behind "More settings". The settings tab also leaves out the settings the data Setup tab's connectors set.suggeston atextfield offers the names the agent's board has, read from the board the Setup tab's connectors chose:suggest: {kind: column},{kind: lane, multiple: true}(a list separated by commas) or{kind: field, field_type: checkbox}(field_typeischeckbox,numberorselect, and only withfield). The value stays text: a name the board lacks can still be typed, and the field says so.l10n,when,advancedandsuggestneed runtime 0.46 or later; declareruntime.least: 0.46.0.- Every
setis checked against these bounds in the runtime, all or nothing. Caldera checks first only to tell a person at once; the runtime decides.
A page, a board and its column, each with the access the agent needs:
settings:
schema:
- { key: area, label: Documentation page, type: page, access: write }
- { key: plan, label: Board, type: board, access: read }
- { key: stage, label: Column for new cards, type: column, of: plan }
secrets
secrets:
- name: ANTHROPIC_API_KEY # ^[A-Z][A-Z0-9_]{0,63}$, may not start with CALDERA_
purpose: Runs Claude Code, if the machine is not already signed in to Claude
optional: true
A manifest never carries a value. caldera init asks for each required secret on the
machine (optional ones only with --ask-optional) (or reads CALDERA_SECRET_<NAME>) and writes it to
.caldera/secrets.env (mode 600). Secrets never pass through Caldera; they
are in the agent's environment under that name. Caldera holding third-party
credentials is not built.
bindings
bindings:
- product: "<product id>" # one product of the suite, see below
role: member # member | guest, never more
scopes: [content:read, content:write] # 1 to 4 of content:read, content:write, admin:read, admin:write
product is the id of the product the agent needs access to. The valid values
are "basalt", "lithic", "tecto" and "caldera", exactly as the schema file
lists them.
One binding per product, because the token is handed over as one set of environment variables per product. See Bindings and bots.
optional: true makes the install create the binding's bot only when the product is activated in the
workspace, and leave the binding out otherwise instead of refusing.
data_sources
data_sources: [board, knowledge] # each once
# or, where a type may stay empty (runtime 0.53 or later):
data_sources:
- board
- type: knowledge
optional: true
A type names where the agent's page offers one choice between the suite's own product and a connection of a compatible service (see Connect external services). Each type is stored in settings the manifest must declare, which the runtime's standard library already reads:
| Type | Settings | Services |
|---|---|---|
board |
board_tool, board_id |
the suite's board product, Favro |
knowledge |
source_tool, source_root |
the suite's document product, Notion |
channel |
channel_tool |
Telegram, Google Chat |
mailbox |
mail_account |
none: the mailbox is signed in on the machine |
repository |
repository_url |
GitHub (runtime 0.46 or later) |
files |
files_tool, files_root, files_drop |
none: a drive signed in on the machine through gog (runtime 0.50 or later) |
A type whose settings are missing is an error. Declare runtime.least: 0.40.0.
A type is required unless its entry says optional: true, the word a secret and a binding use: the agent's
page lists a required type that is not set as a problem under Setup, an optional one as a category that may
stay empty. The entry form needs runtime.least: 0.53.0.
connectors
connectors:
use: [chat, context] # one or both, each once
That the agent can use the connectors an admin assigns to it (ADR-0090 D7): chat offers them as tools in
a conversation, context lets the agent's code look things up before a draft or a run. A connector does
nothing until it is assigned (see Connect external services).
Declare runtime.least: 0.51.0.
serverkit
serverkit:
options:
- flag: --watch
type: paths # path | paths | switch
label: Watched folders
help: One folder per line; a limit in GB may follow a colon (/srv/files:500).
max: 5 # paths only: at most this many entries (default 10, up to 20)
limit: true # paths only: an entry may end in :<whole GB>
l10n:
de: { label: Überwachte Ordner, help: Ein Ordner pro Zeile. }
- flag: --backup
type: path
label: Backup mark
- flag: --maintenance
type: switch
label: Maintenance mode
The flags of the blueprint's install.sh (the ones its server/options.sh lists) that the dialog Add a
server asks for besides the list row and the repairs (ADR-0098 amendment 2026-11-10). Caldera shows one
field per option and passes what was filled in to install.sh in the one-time command, as arguments of their
own, each in single quotes.
flagis--and lower-case words joined by-, once per option.--key,--allow,--removeand--helpbelong to the kit and cannot be declared.type:pathis one absolute path,pathsis a list of them (one per line in the dialog, passed joined by commas),switchis the flag alone, without a value.- A value is checked when the command is made, again when it is fetched, and once more when the script is
built: absolute paths only, made of letters, digits and
@ . _ / -, no.., no empty or.segment (//,/./, a trailing/), at least one letter, digit or@ _ -, at most 200 characters per path and 4,000 characters in all for one option. A space, a quote,$, a backtick,;,|,&, a line break or a relative path is refused with the reasonserver_kit_option_invalid.pathstakes at mostmaxentries (default 10); withlimit: truean entry may end in a colon and whole GB (/srv/files:500). An empty field is left out of the command. - Your
options.shstill checks each value on the server; this is the check on Caldera's side, so a path cannot carry more than a path. - Whoever may add a server for the agent (
fullin its collection) may set the options; nobody else sees them.
Needs runtime 0.59.8 or later; declare runtime.least: 0.59.8.
databases
A table the agent keeps one row per thing in (a customer, a website), in its knowledge source: the suite or Notion (ADR-0111). Declare it, and the agent gets three things without code of its own:
databases:
- key: sites
setting: sites_database # a text setting of this manifest; it holds the database's id
title: Websites
l10n: { de: { title: Websites } }
fields:
- { name: Domain, type: text }
- { name: Aktiv, type: checkbox }
- { name: Art, type: select, options: [WordPress, TYPO3] }
- The check. The runtime reads each database's fields every fifteen minutes, and at once after a settings change, and reports a health item "Datenbank Websites": complete, or what is missing ("Feld 'Webroot' fehlt", "Feld 'Aktiv' ist Text statt Ja/Nein", a missing option). It reads the source's root page too ("Quelle"). Extra fields and options are fine.
- Create and complete. The agent's setup tab lists each database with one button: "Anlegen" makes it with every field (in the suite in the source root, else the agent's collection; in Notion under the source root page) and writes its id into the setting; "Ergänzen" adds missing fields and options. In the suite a new field is a workspace admin's; a field of the same name and kind the workspace has is bound instead. A field of another kind is never changed.
- The rows.
caldera.pyz source rows <database>and thesourcespackage read and write them by field name (Knowledge sources).
The kinds are those both tools share: text, number, checkbox, select, multi_select, date,
url; a select names its options. The manifest declares the source settings (source_tool and the
rest) too. Nothing is made until a person presses: the declaration alone changes nothing.
Needs runtime 0.60.0 or later; declare runtime.least: 0.60.0.
state
state: [data/]
An update replaces instructions and code and never touches state paths. They
live in <dir>/state and are linked into every version. A file the bundle ships
at a state path is a seed, copied only if nothing is there yet.
about
about: ABOUT.md
The file that says how the agent works, written for the people who run it and not for the model:
what the agent is for, what it does and when, what it never does, what it needs from you (answers,
approvals) and how you notice that something is wrong. It is plain Markdown text, a page or less, in
the language of the people who read it. Keep it apart from instructions, which are for the model.
Caldera shows it on the agent's overview, folded at the end, and on the blueprint's page. The text comes from the bundle, so it is the text of the version that runs: on the agent's page the version the agent reports as applied (before it reports one, the version it was installed from), on the blueprint's page the newest published version.
Limits: at most 8000 characters of UTF-8 text. Caldera refuses an upload whose file is longer or is not
UTF-8, and one that names a file the bundle does not hold. Caldera draws the text itself and never as
HTML: headings, lists, bold, italic, code and links to http and https addresses are shown; anything
else stays plain text. Needs runtime 0.39 or later: an older runtime does not know the key and
refuses the manifest, so Caldera does not offer a version with about to an agent whose runtime is
older. Update the runtime first.
actions
actions:
- name: restart-bot
label: Restart the chat bot
help: Restarts the service that talks to the chat. Safe at any time.
auto_on: [service:chat-bot]
# process agents only: the command that does it (argv, never a shell string)
# command: [python3, repair.py, restart-bot]
actions_limit: 2
Named repairs (Findings and repairs). name is lowercase letters, digits,
- and _ (at most 40 characters) and is all that ever travels from Caldera to the agent.
auto_on lists finding keys that may start the action by themselves, decided by the runtime on
the machine; a key beginning with action: is refused (the limit's own finding cannot start the
repair it reports). The runtime runs at most 3 runs per action in any 24 hours, actions_limit
lowers that, and past the limit it reports the finding action:<name>:exhausted.
l10n gives the action's label and help per language, as a setting's (l10n: {de: {label: ..., help: ...}}); Caldera shows the language of its interface. Needs runtime 0.50 or later.
container
container:
image: ghcr.io/acme/php-agent:1 # optional: a prebuilt image based on the base image
setup: setup.sh # optional: a script of the bundle, run once per version
services:
- name: db # ^[a-z][a-z0-9-]{0,30}$, not "agent"
image: mariadb:11
env:
MARIADB_ROOT_PASSWORD: test # text, one line, at most 500 characters
MARIADB_DATABASE: app
volume: /var/lib/mysql # where a NAMED volume is mounted inside the service
when: # optional: runs only while the setting holds one of the values
stack_db: ['true']
How an agent runs as a container stack is on Install as a container stack. The section only describes that stack; a host install ignores it.
imageis a prebuilt image based on the base imageghcr.io/speedxy/caldera-agent, for a toolchain that takes long to install. Without it the stack uses the base image at the version of your Caldera.setupis a path in the bundle. The runtime runs it withbashonce per blueprint version in the container, as the agent's user, in the version's directory, and keeps a marker on a volume. Put what the project needs into$HOME.servicesare the other containers the work needs, up to 10: aname, animage,env(plain text, visible in the stack, so no secrets) and onevolume. The agent reaches a service by its name (db:3306).whenmakes a service optional (ADR-0099 D7): the same shape as a setting'swhen, naming declared settings. Caldera writes such a service into the stack file with a compose profile of its name; the stack starts it once its environment variableCOMPOSE_PROFILESnames it (see Install as a container stack). A service whosewhenholds for the blueprint's defaults runs from the start. Needs runtime 0.52 or later.
A service has these five fields and nothing else. No ports to the host, no host
paths, no privileged mode, no capabilities, no devices, no host network, no Docker
socket, no command: each of them is an unknown field, and Caldera refuses the manifest
at upload and the runtime at install, with the field's name in the message. The section
is only for a process runtime.
transcription
controls: [pause, resume, message]
transcription:
backend: http
url: http://whisper:9000 # a speech-to-text webservice, found by its service name
language: de # optional: a language code, or auto
Opt-in. The agent's runtime transcribes a voice message on the agent's machine and hands the text to the agent, marked as a transcript, beside the audio; Caldera never transcribes (see Talking to agents).
backend: httpis a whisper ASR webservice.urlis required and ishttp://host:portonly: the host must be a loopback address, a private address (10/8, 172.16/12, 192.168/16, fc00::/7) or a bare service name without dots, so the audio stays on the machine or in the agent's stack. Any other address is refused at upload and at install, with the reason.modelis not allowed (the service chooses it).backend: cliruns whisper.cpp'swhisper-cliafterffmpeg(both must be installed on the machine).modelis required: the path of a model file, relative to the agent's working directory or absolute.urlis not allowed.languageis a code such asde, orauto(the default). The settingstranscription_languageandtranscription_model, if you declare them insettings, change it without a new version.- A declared setting
transcription_url(anhttpblock only) leaves the address to its owner: empty is off, and only an address the block itself would allow is used. Runtime 0.50 or later. - Needs a runtime newer than 0.36: a 0.36 runtime refuses the unknown field.
The container stack shows a service for it.
health
health:
command: [python3, -m, health, claude]
timeout_seconds: 30
Run after an update, in the new version's working directory, with the agent's
environment. Exit 0 means it works. Write it so that it needs the new version to
have run, by comparing a heartbeat with CALDERA_AGENT_STARTED. The standard library's
health does exactly that from data/status.json (--status <path> for another file) and
checks that the commands named after it are installed; it needs runtime 0.51 or later.
A complete example
name: report-agent
version: 1.2.0
description: Writes a weekly report from a repository and keeps a status file.
runtime:
type: process
command: [python3, agent.py]
instructions: [CLAUDE.md, .claude/]
settings:
schema:
- key: minutes_between_runs
label: Minutes between runs
type: number
min: 5
max: 1440
unit: min
group: Work
- key: model
label: Model
type: select
options:
- { value: sonnet, label: Sonnet }
- { value: opus, label: Opus }
defaults:
minutes_between_runs: 60
secrets:
- name: GIT_TOKEN
purpose: Reads the repository
optional: true
state: [data/]
status: data/status.json
controls: [pause, resume, run_now]
logs:
- { name: agent, path: data/agent.log }
health:
command: [python3, -m, health]
timeout_seconds: 30