Roles and collections
Covers: what an agent is for (the roles build and operate), why an agent that writes
code should not hold production access, how an operations agent deploys only after a person
said yes, and how the collection an agent lives in decides who sees and steers it. For: people who run agents and
people who write them.
Two roles, separated by rights
A manifest can say what the agent is for with role:
role |
What the agent does | What it should hold |
|---|---|---|
build |
Writes code. Works in a repository, on branches and merge requests, and on a stage. Documents its work. | Access to the repository and the stage. No production credentials. |
operate |
Watches servers, reports findings, repairs within the limits of Findings and repairs, and carries out deployments that a person agreed to. | Access to the servers it looks after. It writes no code. |
[build, operate] |
Both. A stated exception for an agent that does both today, not a default. | Whatever both need. |
role is optional. An agent whose manifest names none shows no role. Caldera shows the role on
the agent's card and on its page; it does not enforce it. What an agent can reach is what it was
given: the secrets you type at install, and the bots and data sources you grant. The role is how
you and your colleagues see at a glance what an agent is meant to be able to do.
Why keep them apart: an agent that writes code and makes a mistake, or is led astray by what it reads, cannot reach production if it was never given the way there. Building can run anywhere, even in a container stack; operating runs near the servers it looks after. Building goes card by card, operating watches around the clock. One operations agent can look after several projects on the same hosting.
role: build # or: operate, or: [build, operate]
The hint at install
When you install a blueprint that says build and not operate, and that asks for a secret whose
name looks like production access, the install dialog shows a warning. It is a hint and not a
block: Caldera cannot see what a secret is for, and you may have a good reason.
A secret's name is split at each _, and it counts when one of the parts is exactly one of:
SSH, DEPLOY, PROD, PRODUCTION, SERVER, COOLIFY, KUBE, KUBECONFIG, K8S, AWS,
GCP, AZURE, TERRAFORM, PLESK. So SSH_KEY, DEPLOY_TOKEN, PROD_DB_PASSWORD and
AWS_SECRET_ACCESS_KEY count, and GIT_TOKEN and PRODUCT_ID do not. A blueprint that names both
roles, or only operate, or none, is never warned about.
Deploying is a question that a person answers
An operations agent does not deploy on its own. It prepares the deployment (what goes out, the checks it ran, the way back) and asks through Caldera. The question reads like "Release v0.36.0 auf Produktion ausrollen?", has the options Yes and No, carries a link to what goes out, and has an end: past it nobody can answer, so an old question cannot be answered days later.
- After a Yes the agent carries out the deployment. It reports the result as a notice.
- After a No, or when the question runs out unanswered, it does nothing and says so.
- A failure is a finding with a repair: the way back.
- Every deployment is a new question. A Yes answers that one question and carries over to nothing else.
Caldera holds no deployment logic and sends no deployment command. The agent decides and acts; the question and the answer are a conversation (see Talking to agents), and you can give the answer on the agent's page or over Telegram.
The catalog's ops-agent is a working template of this. It asks when something writes
data/deploy-request.json, runs deploy.sh only on a Yes before the end, and offers the repair
Roll back the failed deployment, which runs rollback.sh. Both scripts are placeholders that
fail until you replace them with your own commands.
Collections: where an agent lives
Every agent lives in exactly one collection of its workspace. The collection is where the agent belongs, not what it may read: its data sources and its board can lie in other collections. The collection also decides who may do what with the agent. There are no rights per agent. What a person may do is their role in the agent's collection (read, comment, edit or full), computed the same way as for every other content of the workspace.
| Role in the collection | What it allows with the agent |
|---|---|
read |
See the agent, its runs, findings, figures, settings, messages and command history. |
comment |
Also answer the agent's questions and approve its measures. |
edit |
Also steer it: commands, settings, data sources, board, version and automatic update. |
full |
Also install, delete and move the agent, show or rotate its token, read its logs, open its workbench. |
Without at least read the agent does not exist for that person: not in the overview, not in the
statistics by name, not through a link. A link to it answers "not found", the same as for an
agent that was never there. A person who may see an agent but not do something gets a short refusal
that names the role needed.
- The personal collection. Every member has one collection of their own that always exists. It is private, its owner is its only member, it cannot be deleted and nobody else can be added. The collections list shows it as Personal. This is where a personal assistant lives, and it is the default place for a new agent. To share an agent, move it to another collection.
- Installing asks for the collection (field Collection). The default follows the collection of
the board you chose, otherwise your personal collection. Installing needs
fullin the chosen collection. When the board or a data source lies in another collection than the agent, the dialog says so in one line: people who may see the agent may not see its sources. - Moving an agent to another collection needs
fullin both. Its data sources and its board do not move with it. - The overview groups the agents by collection and shows only collections in which you see at least one agent. Each heading opens the collection's page: its agents with their roles, the open questions and open findings of those agents (each with a link to the agent's page), and their spend over the last 24 hours and the last 7 days, at list price as the agents reported it.
- Questions reach the people with at least
commentin the agent's collection, on the channels each of them turned on. A personal agent's questions reach only its owner. A shared channel (a team Telegram group, a Google Chat space) carries an agent only when every member of the workspaces behind that channel may read its collection; in practice that means open collections. Any other question goes to the people directly. Findings, notices and digests follow the same rule withread. - Deleting a collection deletes its agents too, after a confirmation that names how many. A deleted agent's token stops working at once; the machine it ran on keeps running until someone removes it.
- Statistics cover the agents you may read. A workspace admin also sees one extra line, Agents in private collections, with their total runs, cost and hours and no names, so a decision about limits stays possible without opening anyone's personal collection.
- Access through a token or MCP acts as the person who owns it, so it reaches exactly the agents that person reaches. An agent's own token always reaches that agent's own record.
What stays with the workspace role (admin or owner), because it belongs to no single agent:
activating Caldera, the workspace's own blueprints and their publishing approvals, team connections and
channels, and the central Claude access.
Not decided yet
- Data sources shared by a group of agents, instead of set for each agent.
- A quota or a budget per collection.