Register an agent
Registering an agent is what lets policy reason about it by name. See Agents for the model.
- Validate the agent manifest (owner, scope, surfaces, environments).
- Submit it to create a pending agent.
- Approve it (reviewer) — then it can operate per policy.
Validate the agent
Section titled “Validate the agent”Validate an agent manifest
- Open Govern → Agents → Register.
- Provide the agent's owner, scope, surfaces, and environments, then Validate.
curl -X POST "$GATEWAY/v1/registry/validate-manifest" \
-H "authorization: Bearer $TOKEN" \
-H "content-type: application/json" \
--data @agent.jsonvalidateRegistryManifest in the API reference →gatewayctl validate-agent agent.yamlEvery gatewayctl verb accepts --format text|json.
Submit the agent
Section titled “Submit the agent”Submit the agent for approval
- After a clean validation, click Register.
- The agent appears in Govern → Agents awaiting approval.
curl -X POST "$GATEWAY/v1/agents" \
-H "authorization: Bearer $TOKEN" \
-H "content-type: application/json" \
--data @agent.jsoncreateAgent in the API reference →gatewayctl register-agent agent.yaml --format jsonEvery gatewayctl verb accepts --format text|json.
Type set in Geist, Source Serif 4, and Departure Mono.