
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@agentkeys-io/cli
Advanced tools
CLI for AgentKeys — manage credentials, agents, and proxy tokens from the terminal
The official CLI for AgentKeys — manage your AI credentials and agents from the terminal.
Global install (recommended):
npm install -g @agentkeys-io/cli
Without installing:
npx @agentkeys-io/cli <command>
Get an API key — Create an account at app.agentkeys.io, then go to Settings → API Keys to generate a key (ak_ws_...).
Set up the CLI:
agentkeys init
This saves your API key to ~/.agentkeys/config.json and verifies connectivity.
Check your workspace:
agentkeys status
agentkeys initInteractive setup wizard. Prompts for your API key and saves config.
agentkeys init
agentkeys loginSet or update your API key.
agentkeys login
# or non-interactively:
agentkeys login --key ak_ws_your_key_here
agentkeys statusShow workspace info: name, plan, credential count, agent count, monthly requests.
agentkeys status
agentkeys credentialsagentkeys credentials list
# alias:
agentkeys creds ls
Displays a table: ID, Name, Type, Provider, Status, Last Used.
agentkeys credentials add
Prompts for: name, type (API_KEY, OAUTH, SESSION, etc.), provider, value.
agentkeys credentials remove <id>
# Skip confirmation:
agentkeys credentials remove <id> --yes
agentkeys agentsagentkeys agents list
# alias:
agentkeys agents ls
agentkeys agents create
Prompts for: name, description.
agentkeys agents remove <id>
# Skip confirmation:
agentkeys agents remove <id> --yes
agentkeys proxy <proxy-token> <url>Make a test HTTP request through the AgentKeys proxy using a proxy token.
agentkeys proxy pt_abc123 https://api.resend.com/emails
# Show response body:
agentkeys proxy pt_abc123 https://api.resend.com/emails --body
# Use custom proxy base URL:
agentkeys proxy pt_abc123 https://api.resend.com/emails --proxy-url https://proxy.agentkeys.io
Stored at ~/.agentkeys/config.json:
{
"apiKey": "ak_ws_...",
"baseUrl": "https://app.agentkeys.io"
}
The file is created with 600 permissions (owner-read-only). The directory is 700.
The CLI communicates with the AgentKeys REST API at https://app.agentkeys.io/api/v1/:
| Endpoint | Description |
|---|---|
GET /api/v1/workspace/status | Workspace info + stats |
GET /api/v1/credentials | List credentials |
POST /api/v1/credentials | Create credential |
DELETE /api/v1/credentials/:id | Delete credential |
GET /api/v1/agents | List agents |
POST /api/v1/agents | Create agent |
DELETE /api/v1/agents/:id | Delete agent |
All requests use Authorization: Bearer <apiKey>.
# Run from monorepo root:
npx tsx packages/cli/src/index.ts --help
# Build:
cd packages/cli && npm run build
# Run built version:
node packages/cli/dist/index.js --help
MIT — AgentKeys
FAQs
CLI for AgentKeys — manage credentials, agents, and proxy tokens from the terminal
We found that @agentkeys-io/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.