agent-cards-admin CLI is the primary tool for managing your AgentCard account. It handles organization setup, API key management, and card operations.
Installation
Authentication
Most commands require you to be logged in. Runagent-cards-admin login to authenticate with a magic link sent to your email.
Commands that operate on cards and cardholders require an API key. The CLI stores your keys locally and remembers which one is active. You can set the active key with keys set, or it is automatically set when you create or rotate a key. You can also pass --key on any command to override.
Command groups
| Group | Description | Auth |
|---|---|---|
login / logout | Authenticate with AgentCard | — |
orgs | Create and manage organizations | Login |
keys | Create, list, set, revoke, and rotate API keys | Login |
members | Add, list, and remove org members | Login |
cards | Create, list, inspect, and close virtual cards | API key |
cardholders | Create, list, and inspect cardholders | API key |
Global options
--help on any subcommand for details: