Register
dome agents register
Register a new agent in the current workspace. Pass fields with per-field flags or load the full definition from a JSON/YAML file with --file.
Populating
--pool, --model, or --tool triggers generation of an agent-scope kind='generated' rule bundle and auto-derives the corresponding capabilities (llm:invoke, mcp:call, mcp:discover). Leaving all three --actas-allowed-* lists empty means “any verified identity is acceptable”; populating any one restricts the agent via a forbid-unless rule.
Pool, model, tool, and --actas-allowed-* flags populate the agent’s generated rule bundle. Update operations that change any of these fields require rules.deploy in addition to agent.register.
* Provide either --name (per-field mode) or --file. The two modes cannot be combined.
Register from a file
Use--file to register from a single JSON or YAML document. The file shape mirrors the RegisterAgentRequest proto — the same schema the SDKs and Terraform provider consume — so a typo in a field name fails fast rather than silently dropping. The workspace is always taken from the active context; a workspace_id in the file is ignored.
agent.yaml
List
dome agents list
List agents in the current workspace.
Get
dome agents get [name-or-id]
Get details for a specific agent. Pass --gateway <id> to select an accessible Gateway and include its complete protocol endpoints. Without the flag, the command returns agent metadata only.
Output
Update
dome agents update [name-or-id]
Update an agent’s capabilities, metadata, or act-as config.
The
--pool, --model, --tool, and --actas-allowed-* flags use PUT semantics: whatever you send IS the new state, including an empty value meaning “clear”. To update only one field, get the agent first and pass the current values back.
Changing any of these four-pillar fields (or --actas-method / --actas-required) regenerates the agent’s kind='generated' rule bundle and therefore requires the rules.deploy permission in addition to agent.register. Identity-only updates (name, metadata, capabilities) pass through on agent.register alone.
Changing any pool, model, tool, or --actas-allowed-* field regenerates the agent’s rule bundle and requires rules.deploy in addition to agent.register. Identity-only updates (name, metadata, capabilities) require only agent.register.
Suspend
dome agents suspend [name-or-id]
Suspend an agent temporarily.
Reactivate
dome agents reactivate [name-or-id]
Reactivate a suspended agent.
Revoke
dome agents revoke [name-or-id]
Permanently revoke an agent. Always cascades to all descendants.
Delete
dome agents delete [name-or-id]
Permanently hard-delete a revoked agent and all its data. Requires the agent to be in a revoked state.
Assign-policy
dome agents assign-policy [name-or-id] [files...]
Deploy Cedar rules scoped to a specific agent.
Get-policies
dome agents get-policies [name-or-id]
Get Cedar rules assigned to an agent.
Agent API Keys
Create-key
dome agents create-key [name-or-id]
Create an agent authentication key. Prints the token and the selected Gateway’s complete endpoints once.
Output
gatewayId and gatewayEndpoints.
List-keys
dome agents list-keys [name-or-id]
List API keys for an agent.
Rotate-key
dome agents rotate-key [name-or-id] [key-name]
Rotate an agent’s API key — revokes the old secret and issues a new one. Use --gateway <id> to select the Gateway when the agent can access more than one. Output includes gatewayId and gatewayEndpoints.
Revoke-key
dome agents revoke-key [name-or-id] [key-name]
Revoke an agent’s API key permanently.