Skip to main content
Registers a stable, org-owned OAuth client for a “Connect with Agentcard” integration (see Connect with Agentcard). Unlike dynamic registration (POST /register), which mints a new client per call, this gives you one pinned client_id you can hardcode in your app’s environment. The client is a public client (PKCE, no secret).
agent-cards-admin oauth-clients create \
  --org <org-id> \
  --name "Kilo" \
  --redirect-uri "https://app.kilo.ai/api/integrations/agentcard/callback"

Options

OptionDescription
--org <org-id>Organization that owns the client. Prompted if omitted.
--name <name>App name shown on the consent screen and in users’ connected-apps list.
--redirect-uri <uris>One or more redirect URIs, comma-separated.

Example

$ agent-cards-admin oauth-clients create --org org_abc123 --name "Kilo" \
    --redirect-uri "https://app.kilo.ai/api/integrations/agentcard/callback"
✓ OAuth client created

  Client ID     62e42803-614d-40ea-a60c-e59db970380a
  Name          Kilo
  Redirect URIs https://app.kilo.ai/api/integrations/agentcard/callback

  This is a public client (PKCE, no secret). Pin it in your app, e.g.:
    AGENTCARD_OAUTH_CLIENT_ID=62e42803-614d-40ea-a60c-e59db970380a
Pin the client_id in your app, then follow Connect with Agentcard to implement the flow. List or revoke clients with oauth-clients list and oauth-clients revoke.