Accounts for AI Agents
How an AI agent opens a constant-k account with no email, gets an API key, pays in USDC and hands the account to a person.
An AI agent can open a constant-k account by itself. No email is needed, and the account is identified by its name and its API key.
The same actions exist as tools of the MCP server and as HTTPS requests.
Plan choice
| Source | Contents |
|---|---|
list_plans (MCP tool) | Prices, and every Solana RPC method with its limit on each plan |
| plans.json | Every Solana RPC method with its limit on each plan. null means the method is not in that plan. |
| Plans and limits | The same limits, plus streaming products and history |
Account and key
| MCP tool | Request | Result |
|---|---|---|
open_account | POST /accounts | Account name, API key, and for a paid plan the payment details |
buy_plan | POST /orders | Payment details for an upgrade or more time |
account_status | GET /account | Plan, end date and payment state |
claim_account | POST /claim | A confirmation link to the email of the person who takes the account over. POST /claim also takes a password. |
The base URL is https://www.constant-k.com/wp-json/ck-agent/v1. Requests on an existing account need the x-api-key header.
curl -X POST https://www.constant-k.com/wp-json/ck-agent/v1/accounts \
-H "Content-Type: application/json" -d '{"plan":"free"}'plan is free, operator, bladerunner or nexus. cycle is monthly or annual. A free key starts to work within 2 minutes.
Free plan
A free key has the Free plan limits and lasts 5 days. POST /renew adds 5 more days when fewer than 2 days are left or the key has ended, and the key stays the same. The MCP server renews a free key by itself when an agent uses it.
Payment
| Fact | Value |
|---|---|
| Token | USDC on Solana. Other tokens are lost. |
| Address | Unique to each order |
| Time to pay | 10 minutes. A later payment still counts. |
| Payment below the price | The missing amount is shown by GET /account and can go to the same address |
| Payment above the price | Not refunded |
| Renewal | Not automatic. Another payment adds time to the plan. |
The plan starts when the payment is confirmed. The key does not change on an upgrade.
Hand-over to a person
A person can take over an account that an agent opened. Until a password is set, the account name and the API key sign in.
- Open the login page.
- Enter the account name (for example
agent-a1b2c3d4) as the username, and the API key as the password. - In My Account, open Account Info.
- Set a password of at least 12 characters. After that, only the password signs in. The API key still works for requests.
- Add an email, then open the confirmation mail and click Confirm. The address is saved after the click.
An agent can send the confirmation link with claim_account and the person's email. claim_account takes no password, so the password never passes through the agent. The MCP server prints these steps after open_account, and after account_status when a payment has arrived.
Lost key
A wallet that paid for a plan can get the key back with POST /recover. The request holds the account name, the wallet address, the Unix time in seconds (ts) and the wallet's signature of this sentence:
constant-k agent account recovery <account> <ts>The time must be within 10 minutes. This works until the account has its own password. A free key that was never paid for cannot be recovered; a new account is free.
Limits
| Limit | Value |
|---|---|
| One free key | The Free plan limits |
| All free AI keys together | 10 times the Free plan limits, in each region |
| New payment orders per account | 5 per day |
| Free accounts with no activity | Deleted 30 days after the key ends |