RaiCentral

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

bash
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

ResourceEndpoint
ModelsPOST /v1/registry/models
ToolsPOST /v1/registry/tools
MCP serversPOST /v1/registry/mcp-servers
Discover an MCP server's toolsPOST /v1/registry/mcp-servers/{id}/discover-tools
Data sourcesPOST /v1/registry/data-sources
External servicesPOST /v1/registry/external-services
Spreadsheet importGET /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

bash
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}/lifecycle
  • POST /v1/agents/{agent_id}/lifecycle
  • POST /v1/agent-versions/{version_id}/lifecycle
A registered system with its governance state, agent and runtime identity · Community Edition console · sample data

/governance/registry/{system}

AI system detail page showing governance state, agents, versions and runtime identities
The resource catalog · Community Edition console · sample data

/governance/registry/catalog

Resource Catalog of models, MCP servers, data sources and services