Keys and agent keys

An agent key (at_agent_...) is a key made for an AI agent. It is in test mode by default: it sends nothing, bills nothing, and the code is always 000000.

Kind Prefix Sends real SMS Billed
Test at_test_ Never Never
Live at_live_ Yes 10c an SMS
Agent at_agent_ Only if the owner granted it Only for real SMS, up to its daily cap

Getting a key

The account owner creates test keys and agent keys, and revokes any key, in the dashboard under API keys. Live keys are issued by Authtext on request for now. A key is shown once. An API key cannot create another key.

Letting an agent send real messages

A human decides this, never the agent. The account owner turns live sending on for the agent key in the dashboard under API keys, and sets a daily cap: the most live sends that key may make in one UTC day (up to 1000). The owner can change the cap or turn it off again at any time, and the key goes back to test mode at once. Until then a request with "live": true is refused with live_scope_required, and past the cap with daily_cap_reached.

Scopes

Naming the caller

Send the optional Authtext-Client header (for example claude-code/2.1) to name the tool making the call. It is stored against each verification. The MCP server does this for you.

This page as markdown, for an AI agent: /docs/agent-keys.md