Skip to main content
The agent-cards-admin CLI is the primary tool for managing your AgentCard account. It handles organization setup, API key management, and card operations.

Installation

npm install -g agent-cards-admin

Authentication

Most commands require you to be logged in. Run agent-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

GroupDescriptionAuth
login / logoutAuthenticate with AgentCard
orgsCreate and manage organizationsLogin
keysCreate, list, set, revoke, and rotate API keysLogin
membersAdd, list, and remove org membersLogin
cardsCreate, list, inspect, and close virtual cardsAPI key
cardholdersCreate, list, and inspect cardholdersAPI key

Global options

-V, --version   Show version number
-h, --help      Show help for any command
Use --help on any subcommand for details:
agent-cards-admin cards create --help