Docs / Reference
The agent file
One agent: how it runs, who it acts as and what it is granted.
Print its JSON Schema with mirror schema agent. mirror validate checks a project's files and reports each problem with file and line.
Top level
| Field | Type | Needed | What it is |
|---|---|---|---|
acts_as |
ActsAs | No | |
build |
text | No | Folder with a Dockerfile, relative to the agent file; built into image |
env |
map | No | |
grants |
map | No | |
image |
text | No | Container image; hosted and browser modes |
mode |
hosted or browser or remote |
Yes | |
model |
text | No | The model route in mirror.yaml it calls; omitted when none |
name |
text | Yes | |
production_arch |
amd64 or arm64 |
No | |
program |
text | No | The agent program it is, from the catalogue (mirror agent programs) |
reduced_guarantees |
accepted |
No | Remote agents: the operator accepted that leaks are detected, not blocked, and that the agent's model and platform are outside the record |
status |
draft |
No | Set while onboarding is unfinished |
step |
whole number | No | Onboarding step reached, for drafts |
via |
public or local |
No | Remote agents: public (a vendor platform, through your reverse proxy) or local (an app on this computer, through mirror world connect) |
wake |
Wake | No |
ActsAs
| Field | Type | Needed | What it is |
|---|---|---|---|
person |
text | No | |
role |
text | No |
Wake
| Field | Type | Needed | What it is |
|---|---|---|---|
command |
list of text | No | |
type |
command or poll |
Yes |
This page is written from the program itself when the site is built.