🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

tn8r

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tn8r

Disposable identities for AI agents — email, phone, and virtual cards

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

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 tn8r

CLI

# 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 status

TypeScript 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);  // agent-k8f2xq@your-domain.com
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-server

BYOK (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=sandbox

Packages

PackageDescription
tn8rUmbrella — CLI + library in one install
@tn8r/coreCore library with provider adapters
@tn8r/cliStandalone CLI
@tn8r/mcp-serverMCP server for AI agents

License

MIT

Keywords

ai-agents

FAQs

Package last updated on 20 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts