Skip to content
Free plan, no credit card

The API for AI agents: inboxes, phone numbers and browsers.

Obsession replaces five vendors with one API. Every agent gets its own inbox, phone number, messaging, browser and sandbox under one identity, on one key and one bill.

See pricing

Free includes 3 inboxes. Every piece has its own price, all on one bill.

// npm install obsessionimport { Obsession } from "obsession"const obsession = new Obsession({ apiKey: process.env.OBSESSION_API_KEY })// One call: an agent with its own inbox, number and browser, under one identity (26 Nov 2026)const agent = await obsession.personas.create({ inbox: true, phone: "US", browser: true })

Each piece is 1 call. Use one, or all of them.

Use only the email, like any email API for AI agents, and add a number, a browser or a sandbox later on the same key.

  • Email

    Inboxes your agents send and receive from, with threads and attachments.

    Email API for AI agents
    const inbox = await obsession.inboxes.create()await inbox.send({  to: "bookings@larkfield.example",  subject: "A table for 2 on Friday",  text: "Could you fit 2 at 19:30 on Friday?",})// The reply reaches your webhook as email.received
  • Browser

    A cloud browser on a home connection that stays signed in.

    Headless browser for AI agents
    import { chromium } from "playwright"const browser = await obsession.browsers.create({ home: "US" })const session = await chromium.connectOverCDP(browser.cdpUrl)// Logins stay in the browser for the next session
  • Phone

    Numbers that send and receive texts and calls, with your own voice agent or ours.

    Phone number for AI agents
    const number = await obsession.numbers.create({ country: "US" })await number.sms({ to: "+12025550143", text: "Your parcel arrives at 14:00." })// Texts back reach your webhook as sms.received, calls as call.received
  • Sandbox

    A computer to run code in, started only when a task needs it.

    Code sandbox for AI agents
    const sandbox = await obsession.sandboxes.create()await sandbox.run("python report.py")
  • Messaging

    iMessage lines, WhatsApp for support, sales, bookings and notifications, and Slack and Telegram.

    WhatsApp API for AI agents
    // "imessage" | "whatsapp" | "slack" | "telegram"await obsession.messaging.connect({ channel: "imessage" })await obsession.messaging.connect({ channel: "whatsapp" })

Put the pieces under one identity, and your code runs when a message lands.

A persona holds an inbox, a number, its channels, a browser profile and a sandbox when a task needs one.

About 50 ms
From an email, text or call landing to your handler running. No machine starts.
Free while it waits
You pay only for the pieces it uses.
Its events in your event log
Every page, email, text and call, dated, with screenshots. $5 per million events.
How personas work
const persona = await obsession.personas.create({  inbox: true,  phone: "US",  browser: true,})persona.on("email.received", async (email) => {  // Runs on our runtime, about 50 ms after it lands})// Its events in your event log: every page, email, text and call, dated, with screenshotsconst { events } = await obsession.events.list({ persona: persona.id })

Run a blueprint beside the pieces, ours or your own, with nothing to host.

A blueprint is a job that runs beside the pieces and writes its results to your event log.

Ours, ready to run
37 ready jobs across 7 types, from missed call text back to price watch. Pick one, and Obsession runs it.
Your own job
Your own task, on our runtime next to the inbox, browser and sandbox.
One event log
Each result lands as a blueprint.result event and reaches you like any other.
Browse blueprints
// One of ours, ready to runawait obsession.blueprints.run("mystery-shopper", { site: "https://larkfield.example" })// Or your own job, on our runtime beside the piecesawait obsession.blueprints.create({  name: "price-check",  run: async ({ browser, events }) => {    // Your task or computation. Nothing to host  },})// Either way, each result lands in your event log as blueprint.result

Every event is saved in your event log, then reaches you where you listen.

Emails, texts, calls, pages, sandbox runs and blueprint results all arrive in the same shape. Start with the webhook, and add channels as you need them.

  1. One signed webhook

    Subscribe once for every piece and blueprint. Each event is signed.

    Every event name

    email.received
    An email lands in one of your inboxes, with its thread and attachments.
    email.sent
    An email your agent wrote leaves its inbox.
    sms.received
    A text reaches one of your numbers.
    call.received
    Someone calls one of your numbers.
    call.ended
    A call ends, with its length and its transcript.
    message.received
    A message arrives on iMessage, WhatsApp, Slack or Telegram.
    page.visited
    A browser opens a page, kept with its screenshot.
    sandbox.finished
    A sandbox finishes its task, with its output.
    blueprint.result
    A blueprint, ours or your own, brings back a result.
    // Every event from every piece and blueprint, at 1 URLawait obsession.events.subscribe({  url: "https://your-app.example/hooks",  events: ["*"],})// POST https://your-app.example/hooks, signed{  "id": "evt_7Hq2k9",  "type": "email.received",  "created_at": "2026-11-21T10:02:00Z",  "data": {    "inbox": "inb_4k9w2",    "from": "bookings@larkfield.example",    "subject": "Re: A table for 2 on Friday",    "thread": "thr_81fa"  }}
  2. Your event log, by cursor

    Read every event since the last one you saw.

    // Everything after the last event you handled, in orderconst { events, cursor } = await obsession.events.list({ after: lastCursor })for (const event of events) {  await handle(event)}// Keep the cursor, and start from it next timelastCursor = cursor
  3. Your own agent, over MCP

    Events as tools, in Claude Code, Cursor or any MCP client.

    claude mcp add obsession
  4. Your handler, on our runtime

    Your code runs about 50 ms after the event lands. No server to run.

    const persona = await obsession.personas.create({ inbox: true, phone: "US" })persona.on("email.received", async (email) => {  // Runs on our runtime about 50 ms after the email lands})persona.on("sms.received", async (sms) => {  // The same for texts, calls and messages})
  5. A live stream while you build

    Every event, forwarded to your laptop.

    npx obsession listen --forward "http://localhost:3000/hooks"
  6. Zapier, Make and n8n

    Each event starts a Zap, scenario or workflow.

    Trigger: New Obsession eventEvent: blueprint.resultAction: Slack, post a message

If your server is down, events retry for 27 hours, and any event can be replayed.

An MCP server gives your agent inboxes, numbers and browsers as tools.

Your agent gets the same calls as the API, and reads and subscribes to your event log as a tool.

claude mcp add obsession

Claude Code takes 1 line. In Cursor, Codex or any other MCP client, add the same server in its settings.

inboxes.create
Give your agent an inbox of its own.
inbox.send
Send an email from it.
numbers.create
Get a phone number in the US, or any country.
number.sms
Send a text.
messaging.connect
Connect iMessage, WhatsApp, Slack or Telegram.
browsers.create
Open a cloud browser that keeps its logins.
sandbox.run
Run code in a sandbox started for the task.
blueprints.run
Run a blueprint, one of ours or your own.
events.list
Read the events in your event log, for 1 persona or all of them.
events.subscribe
Hear about new events as they land, such as email.received.

Integrations

Every event lands in the tools you already use.

Start from a row or a Zap, and each email, text and call comes back the moment it lands.

  • Clay

    Each row gets its own inbox or number. Replies fill the next columns: what arrived, and when.

    Row → Inbox · Reply · Received at

    Prospect research with Clay
  • Zapier

    Create an inbox or send a text from any Zap. Each new email or text starts the next step.

    email.received → Slack, Sheets or your CRM

  • Make and n8n

    The same events start your Make scenarios and n8n workflows, through the webhook.

    sms.received → your workflow

  • HubSpot

    Each email, text and call lands on the HubSpot record you already have, dated.

    Contact → Timeline · Email received

  • Baserow

    A new row creates an inbox, a number or a persona. Each reply fills the next columns as it arrives.

    Row added → Inbox created → 3 columns filled

  • Supabase

    Every email, text, call and page lands as a row in your own table, ready to query.

    events (persona, kind, received_at, screenshot)

Each piece has its own price, all on one bill.

Pay only for the pieces your agents use. A persona costs nothing while it waits.

  • Email

    Inbox
    $0.50 an inbox a monthFree includes 3 inboxes.
    Emails
    $0.40 per 1,000 emails, sent or received
  • Personas

    Persona
    Free while it waitsYou pay only for the pieces it uses.
    Event log
    $5 per million eventsKept for 30 days on Free and Developer, 90 days on Startup and a year on Scale, and longer on Enterprise.
    Input tokens
    $0.975 per million, on AutoAuto picks the model for each task. Other models are priced at their own rates, and with your own key there is no token charge.
    Cached input tokens
    $0.0975 per million, read from the model’s cache
    Output tokens
    $4.875 per million, on Auto
  • Browser

    Browser
    $0.10 a browser hourIts home connection is included, with no charge per GB.
    Stealth browser
    $0.85 a browser hour, with a full screen
    Home connection
    Included with every browser
  • Phone

    Phone number
    $2 a US or UK number a monthNumbers in other countries are priced by country, shown before you add one.
    Texts
    $0.015 a text, sent or receivedCarrier fees included.
    US texting registration
    $25 once to file each campaign, then $17 a month while it’s activeUS carriers require it, and no plan includes it. We file it for you, and a rejected filing costs $15 to send again.
    Calls
    $0.012 a minute, in or outBring your own voice agent, or connect one.
    A persona’s own voice
    $0.0676 a minute of a call it speaks onOn top of the call minute, when a persona speaks for itself.
  • Sandbox

    Sandbox
    $0.12 an active vCPU hourBilled only while the CPU works, so a sandbox waiting on a task costs almost nothing.
    Sandbox memory
    $0.015 a GiB hour
  • Messaging

    iMessage line
    $170 a line a month
    WhatsApp
    Meta’s fee plus $0.004 a messageMeta prices each message by country and kind; we pass its fee through at cost.
    Slack and Telegram
    Free on every plan
See pricing

The runtime is open source.

The runtime that personas live on is yours to read and run. Obsession Cloud adds the numbers, lines, home connections and browsers, and keeps them running.

Open source: the runtime

Personas that wait for free
Handlers that run when an email, text or call lands
An event log of every page, email, text and call, with screenshots
The same calls over MCP and the API

Obsession Cloud: the pieces, kept running

  • Inboxes, phone numbers and iMessage lines
  • Browsers on home connections, in any country
  • Sandboxes started only when a task needs one

Questions from developers.

Obsession’s API gives AI agents inboxes, phone numbers, messaging, browsers and sandboxes, with one key and one bill. Use one piece, or put them all under one persona that waits for free, and run blueprints beside them. Call it from TypeScript, Python or plain HTTP, or from your agent over MCP.

Both. Install the TypeScript SDK with npm install obsession, or call the same API from Python or plain HTTP. The MCP server gives your agent the same calls as tools.

Yes. Create an inbox in 1 call, send and receive, and get each reply at your webhook. Add other pieces later, on the same key.

Email API for AI agents

Add the MCP server once: claude mcp add obsession in Claude Code, or the same server in your client’s settings. Your agent can then create inboxes, numbers, browsers and sandboxes, and read your event log as a tool.

The pieces under one identity: an inbox, a phone number, messaging channels, a browser profile and a sandbox when a task needs one. It waits on our runtime for free, and your handler runs about 50 ms after a message lands.

How personas work

Yes. Create it with obsession.blueprints.create and it runs on our runtime beside the pieces, with nothing to host. Results land in your event log as blueprint.result events.

Browse blueprints

Yes. Give each one a persona with its own inbox, number and browser from one API. Then run any job on it: your own code, a blueprint, or both. Every event lands in your event log, and one signed webhook carries it to your app.

What an AI employee needs

Every event is saved in your event log, then sent to one signed webhook you subscribe once. If your server is down, events retry for 27 hours, and any event can be replayed. You can also read the log by cursor with obsession.events.list, subscribe your agent over MCP, run a handler on our runtime, or forward events to your laptop with npx obsession listen.

On its own, all on one bill. Inboxes: $0.50 an inbox a month. Phone numbers: $2 a US or UK number a month. Browsers: $0.10 a browser hour. A persona is free while it waits.

See pricing

iMessage, WhatsApp, Slack and Telegram, each on the same identity as its inbox and number.

WhatsApp is for support, sales, bookings and notifications. People who write to your number get answers at once, and messages your agent starts use templates Meta approves.

Yes. Connect yours, or one we run. Calls come in and go out on the same number your agent texts from.

Yes. Each browser keeps its cookies and logins between sessions, so your agent signs in once. It connects through a home connection, so sites load as they do for people at home. Drive it with Playwright or Puppeteer.

Every key has a monthly spend limit you set. Sandboxes start only when a task needs one, and a persona costs nothing while it waits.

Give your agent an inbox in 1 call.

The Free plan includes API and MCP keys, with no credit card. Tell us which piece you need first, and we’ll set it up with you.