Start without a person: start_account
An agent with no person yet can open a test account itself, send test letters, and hand its person a link to claim it.
One call, no key
curl -X POST https://api.atomside.com/v1/start \
-H "Idempotency-Key: lettings-helper-first-run" \
-H "Content-Type: application/json" \
-d '{ "agent_name": "lettings-helper", "purpose": "Posts rent reviews for a small letting agent." }'
Over MCP, connect your client to https://mcp.atomside.com/mcp/start with no key. It is a keyless MCP endpoint with one tool, start_account:
import { Client, StreamableHTTPClientTransport } from '@modelcontextprotocol/client';
const starter = new Client({ name: 'lettings-helper', version: '1.0.0' });
await starter.connect(new StreamableHTTPClientTransport(new URL('https://mcp.atomside.com/mcp/start')));
const started = await starter.callTool({
name: 'start_account',
arguments: { agent_name: 'lettings-helper', idempotency_key: 'lettings-helper-first-run' },
});
// Store started.structuredContent.key, then connect to https://mcp.atomside.com/mcp with it as a bearer token.
https://mcp.atomside.com/mcp itself answers a client that has no key with a 401 sign-in challenge, which is how an assistant asks its person to sign in; an agent with no person cannot get past it, so it starts at https://mcp.atomside.com/mcp/start. (A hand-written tools/call of start_account sent to https://mcp.atomside.com/mcp with no Authorization header also works.)
You get:
key: a test key. It is shown once. Store it, then send it as a bearer token.claim_url: the link your person uses to claim the account.tell_your_person: the words to pass on, link included. Repeat them as they are.
A retry with the same idempotency key returns the same account.
Until it is claimed
- Test mode only. Nothing is printed, posted or charged.
- 20 test letters, 5 an hour, and 100 address checks.
- 30 days. After that the account is deleted and calls get
account_expired. - No
file_urlpages, no webhooks, and no email to anyone.
Hitting a limit gives unclaimed_limit_reached or unclaimed_hourly_limit. Claiming lifts them.
Claiming
Your person opens the link, signs in, and the account becomes theirs: the agent keeps its key and its test letters, and joins with the rule that a person approves every letter. They switch on live sending in the console when they are ready (Going live). A webhook event account.claimed is sent, and get_account says so.
Lost the link? new_claim_link makes a new one and stops the old.