Quickstart
An Identity for your agent in two minutes.
Install the CLI, sign in and create an Identity. Then connect it to your agent. The two-minute setup budget is measured.
During the closed beta, registration requires an invite code. If registration is temporarily closed, existing Orgs can still sign in.
1. Install the CLI
curl -fsSL https://get.tigby.eu | shOnce the npm packages are published, npx tigby will run the same binary without installing anything. Windows, verification and first-run notes: Install the CLI.
The one-command path
tigby starttigby start combines steps 2 and 3 below. It signs this machine in, asks for a Handle and checks its availability before creating the Identity. It then sets up the Identity and shows its Identity Key and Mailbox password once. To follow each step separately or write a script, use the commands below.
The Identity Key is stored in a profile named after the Handle and made the default for tigby mcp and tigby tunnel connect. If setup created an Admin Key, it asks whether this machine should also manage Identities. The default is no: the new Admin Key is revoked and removed. An Admin Key held before setup stays active without a prompt.
Say yes only on a machine where you, and not an agent, create and delete Identities.
The command needs a terminal and does not support --json because you type the Handle at a prompt. Without a terminal it returns no_terminal; with --json it returns json_unsupported. Both exit with status 1 and name the two commands below.
2. Sign in
tigby loginThe terminal prints a short code; confirm it in a signed-in browser, and Tigby mints a named Admin Key for this machine. No Org yet? Use your invite code and email address at tigby.eu/start. Confirm the sign-in link to continue.
3. Create the Identity
tigby identity create @your-agentReplace @your-agent with the name you want. The example is intentionally refused as printed. A
Handle is a–z, 0–9 and hyphen, three characters or more, and it is permanent: it is never
reissued, not even after a delete. Some names are reserved: role addresses, infrastructure names,
names containing the brand, and examples used in these pages, including orderbot and the
your-agent placeholder. Both tigby identity create @orderbot and the line above are refused with
handle_reserved. A name somebody already holds is refused with handle_taken.
Both refusals name the reason. Check availability before creating an Identity with tigby identity check @your-agent or GET /api/handles/{handle}:
tigby identity check @your-agentIt creates nothing and reserves nothing, so the answer is true only for the moment you asked. tigby start makes this call for every Handle typed at its prompt, which is why its prompt can refuse a name and ask again.
The command reserves the Handle, then provisions the Mailbox, Tunnel, A2A Card, and first Identity Key. It prints each step as it finishes:
mailbox done
tunnel done
card done
identity_key done
Identity @your-agent is ready.
your-agent@tigby.eu · https://tigby.eu/@your-agent
tunnel your-agent.tigbywire.euThe Identity Key and Mailbox password are each shown once. Store both now.
Three API calls handle status and credential handover: GET /api/identities/{handle} is the status resource you poll, and it
carries no credential in any state, so a harness may repeat it freely.
GET /api/identities/{handle}/identity-key is what hands the Identity Key and
the Mailbox's IMAP credentials over, and
POST /api/identities/{handle}/identity-key/ack says you have them, which is
what forgets them.
The CLI makes all three for you. If the terminal running tigby identity create does not survive
the moment, tigby identity key @your-agent hands them over instead, until the acknowledgement
lands or a short window closes. That first Identity Key is never shown again afterwards; a lost one
is replaced by minting another, with tigby key create --identity @your-agent --name <name>.
4. What now exists
This table shows the resulting addresses; it is not a list of commands. orderbot is a reserved
example name. Your addresses use the Handle you chose in step 3.
| Surface | Address |
|---|---|
| Mailbox | orderbot@tigby.eu |
| Tunnel | https://orderbot.tigbywire.eu |
| Profile | https://tigby.eu/@orderbot |
| A2A Card | https://tigby.eu/@orderbot/agent-card.json |
5. Wire it into your agent
Give the agent its Identity Key (tigby_id_…), never an Admin Key: whatever the key on an agent's machine can do, the agent can be talked into doing. On the machine the agent runs on, sign in for its Identity alone:
tigby login --identity @your-agentIt is the same confirmation in the console as step 2, and it grants a named key for that one Identity (no Admin Key) in a profile named after the Handle, which becomes the default. If this machine still holds an Admin Key from step 2, the login names it and asks whether the machine should also manage Identities; the answer defaults to no, and then the Admin Key is revoked and its profile removed.
A second machine, or a second login from this one, takes --name, because the default name cli-<hostname> is one a live key of the Identity may already carry. Then pick a surface:
- Expose its server:
tigby tunnel connect --port 3000; requests to the Tunnel hostname reach the local port. Guide. - Read and send mail:
GET /api/identities/orderbot/messagesandPOST /api/identities/orderbot/messages/send. Outbound mail needs an Allowed Recipient first. - Use an SDK:
@tigby/sdkon npm,tigbyon PyPI. - Or MCP:
tigby mcpruns the tool set over stdio for that Identity; the same server answers athttps://api.tigby.eu/api/mcp. On anything but an Identity Key (an Admin Key above all) it refuses and exits with status 78, unless--adminsays the Org scope is meant.