opensequence

Open source sequences, as code.

OpenSequence is the self-hosted engine behind multi-step outreach. Your product enrolls a contact; it sends the emails and texts from a real person, places the AI agent calls, hands out the call tasks and LinkedIn steps, and stops when they reply.

Candidate intro v1 · livePublish
Enrolled
Intro emailsend · Max's mailbox
Wait 3 daysweekdays · 09:00 to 17:00
Follow-upreply in thread
Replied
Exitreason: reply
No reply
Call taskfor Max · due 1d
Add a step 100%

One engine for sales, recruiting, onboarding and renewals. No per-seat bill.

Seat-based sequencers list at $79 to $175 per user each month; for 15 people that is $14,200 to $31,500 a year. OpenSequence is Apache-2.0 and runs on one container and a Postgres, for 5 senders or 500.

Build with agents

MCPllms.txt

01Use cases

Every sequence your product sends, on one engine

Whoever writes to people one at a time, over days, across channels, runs the same loop: send, wait, follow up, hand a task to a human, stop on a reply. OpenSequence runs that loop for any team.

  • Sales prospecting

    Outbound from each rep's own mailbox, with call tasks and LinkedIn steps, inside the CRM your reps already use.

    • email
    • wait 2bd
    • call task
    • linkedin
    • exit on reply
    Read the guide: Sales prospecting
  • Recruiting

    Candidate outreach from the recruiter's inbox that stops the moment someone answers, with every event sent back to your ATS.

    • email
    • wait 3bd
    • follow-up in thread
    • linkedin
    • exit on reply
    Read the guide: Recruiting
  • Customer onboarding

    Personal check-ins from the account owner after a signup or a kickoff, branching on what the customer did in your product.

    • email
    • wait 2d
    • if attrs.activated
    • call task
    Read the guide: Customer onboarding
  • Renewals and expansion

    Account manager sequences ahead of a renewal date, with a call task when the email goes unanswered.

    • email
    • wait for reply 5d
    • call task
    • sms
    Read the guide: Renewals and expansion
  • Partnerships, investors, press

    Founder-led outreach to partners, investors or journalists, sent one at a time from a real inbox under a daily cap.

    • email
    • wait 4bd
    • follow-up in thread
    • exit on reply
  • Event and demo follow-up

    Follow up with every booth scan, webinar attendee or demo no-show, at 09:00 in each person's own time zone.

    • email
    • wait 1bd
    • sms
    • ai call
    • exit on meeting
  • SaaS platforms

    Ship sequences as a feature of your own product. One deployment holds a project per customer, each with its own keys and data.

    • project per tenant
    • your UI
    • webhooks
    Read the guide: SaaS platforms
  • AI agents

    Let an agent pick who to contact and what to say. The engine owns timing, sending, replies and stops, through MCP with a scoped key.

    • mcp
    • enroll scope
    • journey
    • analytics
    Read the guide: AI agents

02How it works

A sequence engine you call from your code

Create a sequence, enroll a contact, add steps, get webhooks. Each one is a single call to the REST API or the TypeScript SDK.

Choose an example

03Why own it

Why own the engine

Price is the obvious reason. Here are the others.

  • Headless by design

    OpenSequence has no UI of its own. People run sequences from the CRM, ATS or app they already use.

  • Data in your Postgres

    Contacts, messages and replies live in your own Postgres, in the region you choose. No vendor stores your contacts.

  • Your deliverability

    Mail leaves each sender's own mailbox, not a shared sending pool. Another company's bad list cannot hurt your domain's reputation.

  • Sequences as code

    A sequence is versioned JSON. Diff it, review it in a pull request and test it against mock providers in CI.

  • Agent-native

    The MCP server ships with the engine. An agent with an enroll key can enroll contacts and read journeys, but cannot edit sequences, senders or settings.

  • No black boxes

    The engine writes every decision to a ledger, with the branch it took and the facts it read. One GET returns the whole journey.

  • Multi-tenant

    One deployment holds a project per customer, each with its own keys. Add sequences to your own SaaS without building the engine.

  • Extensible

    Channels, node types and providers register by name. Add WhatsApp or your own dialer without forking the engine.

You can vibe-code a sequence. Not a sequence engine.

The first version takes a weekend. The next two years go to edge cases, and you find each one in production.

If you build it yourself

  1. Day 1

    A cron job and a loop send the first email. It works, and everyone moves on.

  2. Week 3

    A worker restarts mid-send. Forty prospects get the same email twice.

  3. Month 2

    The code matches replies by subject line, so people who answered still get the follow-up.

  4. Month 6

    Texts arrive at 11 pm in the contact's time zone. Opt-outs climb, and you are the one on call.

04Nine problems

What you would have to solve

Hover or tap a card to see how OpenSequence solves it

05Compare

How OpenSequence compares

It is the sequencing engine on its own: no contact database, no inbox warm-up, no UI. Here is what that means next to the tools teams usually reach for.

OpenSequence compared with seat-based sequencers, lifecycle email platforms, workflow automation tools and building a sequencer yourself.
OpenSequenceSeat-based sequencersOutreach, Salesloft, Apollo, lemlistLifecycle email platformsCustomer.io, Braze, IterableWorkflow automationn8n, Zapier, MakeBuild it yourselfA cron job and a queue
Price modelFree, Apache-2.0Per seat, per monthPer profile or volumePer run or self-hostedEngineer time
Runs on your infrastructureYesNoNoSomeYes
Sends from each person's own mailboxYesYesNo, a shared sending domainYou wire itYou build it
Stops on reply, bounce and opt-outBuilt inBuilt inNot for 1:1 repliesYou build itYou build it
Tasks for humans: calls, LinkedInBuilt inBuilt inNoNoYou build it
Lives inside your productAPI and webhooks, no UIIts own UIIts own UIIts own canvasYes
One deployment, many customersA project per tenantNoNoNoYou build it

06FAQ

Questions about OpenSequence

What people ask before the quickstart.

What is a sequence?
A sequence is a series of personal messages and tasks sent to one person over days or weeks, such as an email, a wait, a threaded follow-up, then a call task, that stops on its own when the person replies, books a meeting or opts out. Sales teams call it a cadence. Recruiters, customer success and founders run the same pattern.
Is OpenSequence only for sales?
No. The engine runs any one-to-one, multi-step outreach: sales prospecting, candidate outreach, onboarding check-ins, renewal reminders, partner and investor outreach, and event follow-up. A step can send an email or a text, place a phone call through an AI agent, or create a task for a person, such as a call or a LinkedIn connection request. Conditions branch on any attribute your product stores on the contact.
Is it a newsletter or marketing email tool?
No. OpenSequence sends one-to-one messages from a real person's mailbox, under a daily cap, and stops when someone answers. It is built for conversations, not broadcasts. For newsletters and product email to people who signed up, use a lifecycle email platform next to it.
Is this a free alternative to Outreach, Apollo or lemlist?
It is the sequencing part of those tools, as an open source engine you run. It covers multi-step email, SMS, call and LinkedIn sequences, replies and exits, webhooks and analytics. All of it sits behind an API, so your own product is the UI. There is no per-seat price: you pay for the Postgres and the container it runs on. It is not a contact database or an inbox warm-up service.
How do I add sequences to my app?
Run the Docker image next to a Postgres, then npm install @opensequence/sdk in your backend. Upsert contacts and senders by your own ids, publish a sequence, enroll people and handle the signed webhooks. The integration checklist in the docs lists every call in order. From Python, Go or any other language, call the REST API or generate a client from the OpenAPI file.
Can I configure everything through the API?
Yes. Projects, keys, senders, channels, contacts, sequences and versions, enrollments, tasks, webhooks, settings and analytics are all endpoints, 79 operations in the OpenAPI file. The TypeScript SDK and the MCP server call the same API, and the oseq CLI runs the same use cases.
How do AI agents use it?
Connect the MCP server with an API key. Claude Code, Cursor and any MCP client get tools to list sequences, upsert contacts, preview and enroll, read a journey and pull analytics. Give agents a key with the enroll scope, and they cannot edit sequences, senders or settings.
Does it send email itself?
Yes, through each sender's own mailbox over SMTP, and it reads replies over IMAP. Gmail, Google Workspace, Outlook and Microsoft 365 work, and so does any other SMTP provider. It sets its own Message-ID, adds List-Unsubscribe, replies in thread when asked, and never exceeds the channel's daily limit. There is no shared sending pool.
Can an AI agent make the phone calls?
Yes. A call step asks an Allo Outbound agent to phone the contact, on the same number SMS steps use, from the rep's own Allo line. The step carries an objective and a brief, templated with contact variables like any other step, and the agent can text the contact, book a meeting or transfer to a person during the call. Allo places the call between 08:00 and 21:00 in the contact's time zone and tries up to 3 times when nobody answers. The sequence waits for the result and branches on it: reached, transferred, not interested, wrong number, or not reached after voicemail, no answer or busy. A do-not-call answer suppresses the contact. The step needs the contact's outreach consent and a phone number. Call tasks for a human rep work as before.
What do I need to run it?
You need the Docker image (Node 22), Postgres 14 or newer, and Redis only if you want it as the queue. Migrations run at boot. One process serves the API and runs the workers, and you can split the roles when you scale.

07Get started

Own the engine behind every sequence you send.

Install the SDK, start the image and follow the quickstart. Mock providers are on in development, so nothing leaves your machine until you connect a real account.