AgentCompliant

Agent registration

Creating agents, statuses, and linking models and templates.

Model

Agents belong to an org and have a slug unique per org. They can originate from templates or custom Studio configuration.

Lifecycle

Typical statuses include draft → deployed; termination and versioning are tracked for audit. Executions reference the agent and record token usage and outcomes.

APIs

Use /v1/agents (list/create) and /v1/agents/:id for reads and updates. Pre-deploy compliance checks may block promotion when Comply flags risk.

typescript
// Pseudocode: create agent
await fetch(`${GATEWAY}/v1/agents`, {
  method: "POST",
  headers: { Authorization: `Bearer ${apiKey}`, "Content-Type": "application/json" },
  body: JSON.stringify({ name: "Support triage", slug: "support-triage" }),
});