tn8r
v0.2.2
Published
Disposable identities for AI agents — email, phone, and virtual cards
Downloads
486
Maintainers
Readme
tn8r
Disposable identities for AI agents — email, phone, and virtual cards.
tn8r gives your AI agents their own email addresses, phone numbers, and virtual payment cards so they can operate in the real world without using your personal identity. When the agent's work is done, kill everything with one command.
Install
# npm
npm install tn8r
# pnpm
pnpm add tn8r
# yarn
yarn add tn8r
# bun
bun add tn8rCLI
# Create an identity with email + phone + card
tn8r create
# Create with only email
tn8r create --no-phone --no-card
# List all identities
tn8r list
# Read messages (email + SMS)
tn8r messages <identity-id>
# Kill an identity (revoke everything)
tn8r kill <identity-id>
# Emergency: kill ALL identities
tn8r kill --all
# View activity log
tn8r log
# Check provider status
tn8r statusTypeScript Library
import { Terminator } from "tn8r";
const t = new Terminator();
// Create an identity
const identity = await t.createIdentity({
resources: ["email", "phone", "card"],
ttlMinutes: 60,
spendLimitCents: 5000,
});
console.log(identity.email); // [email protected]
console.log(identity.phone); // +14155551234
// Read messages
const { emails, sms } = await t.readMessages(identity.id);
// Extract verification code
const code = await t.extractCode(identity.id);
// Get card details (fetched live, never stored)
const card = await t.getCardDetails(identity.id);
// Kill it
await t.killIdentity(identity.id);MCP Server (for AI Agents)
claude mcp add tn8r -- npx @tn8r/mcp-serverBYOK (Bring Your Own Keys)
tn8r uses your own provider accounts. No keys configured? It runs with mock providers by default — perfect for development and testing.
# Email (Cloudflare Email Workers)
TERMINATOR_CF_API_TOKEN=
TERMINATOR_CF_ACCOUNT_ID=
TERMINATOR_EMAIL_DOMAIN=
# Phone (Twilio)
TERMINATOR_TWILIO_ACCOUNT_SID=
TERMINATOR_TWILIO_AUTH_TOKEN=
# Cards (Lithic)
TERMINATOR_LITHIC_API_KEY=
TERMINATOR_LITHIC_ENVIRONMENT=sandboxPackages
| Package | Description |
|---------|-------------|
| tn8r | Umbrella — CLI + library in one install |
| @tn8r/core | Core library with provider adapters |
| @tn8r/cli | Standalone CLI |
| @tn8r/mcp-server | MCP server for AI agents |
License
MIT
