Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.goantiai.com/llms.txt

Use this file to discover all available pages before exploring further.

An agent is a registered identity for your AI workload — like a user account, but for a machine.

From the dashboard

  1. Go to Agents → New Agent
  2. Enter a name (e.g. payment-processor), description, and tags
  3. Click Create Agent
  4. Copy the Client Secret — shown once only
Store the Client Secret in your secrets manager or .env immediately. If you lose it, rotate credentials from the agent’s Settings tab.

From the API

curl -X POST https://api.antiailabs.com/api/v1/agents \
  -H "Authorization: Bearer YOUR_CLERK_JWT" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "payment-processor",
    "description": "Handles Stripe payment processing",
    "tags": ["production", "stripe"]
  }'

Credential types

Client Secret (recommended) — used with the OAuth 2.1 token endpoint. Rotatable without downtime using the overlap window. API Keys — long-lived keys for agents that can’t use OAuth flows. Up to 10 active keys per agent, default expiry 90 days.

Agent status

StatusMeaning
ActiveAgent can request tokens normally
SuspendedTokens revoked; reversible
RevokedPermanent — all credentials gone
Use Suspend to temporarily pause an agent during an incident. Use Revoke only when permanently decommissioning it.