Docs / Governance
Agent registry
Register AI systems, agents, versions, resources and owners.
Management calls use Authorization: Bearer <access token> from POST /v1/auth/login. See Management API.
Register a system and an agent
curl -X POST $RAI_BASE_URL/v1/ai-systems -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"system_key":"orders-ai","name":"Orders AI","risk_tier":"HIGH"}'
curl -X POST $RAI_BASE_URL/v1/ai-systems/$SYSTEM_ID/agents -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"agent_key":"orders-agent","name":"Orders agent"}'Register resources
| Resource | Endpoint |
|---|---|
| Models | POST /v1/registry/models |
| Tools | POST /v1/registry/tools |
| MCP servers | POST /v1/registry/mcp-servers |
| Discover an MCP server's tools | POST /v1/registry/mcp-servers/{id}/discover-tools |
| Data sources | POST /v1/registry/data-sources |
| External services | POST /v1/registry/external-services |
| Spreadsheet import | GET /v1/registry/catalog/import-template, then POST /v1/registry/catalog/import |
consequential_action: true on a tool means every call requires human approval unless a rule denies it. Set it only for tools where that is what you want.
Create a version and declare dependencies
curl -X POST $RAI_BASE_URL/v1/agents/$AGENT_ID/versions -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{"change_summary":"First version"}'
curl -X POST $RAI_BASE_URL/v1/agent-versions/$VERSION_ID/dependencies -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"resource_type":"tool","resource_id":"'$TOOL_ID'","required":true}'resource_type is one of the catalog kinds, such as tool, model or mcp_server. A version with risk tier HIGH or CRITICAL requires approval for each action that no rule has already decided.
Approve for runtime
Send {"status":"UNDER_REVIEW"} and then {"status":"APPROVED"} to each lifecycle endpoint:
POST /v1/ai-systems/{system_id}/lifecyclePOST /v1/agents/{agent_id}/lifecyclePOST /v1/agent-versions/{version_id}/lifecycle