Claros was an oracle. This one tells you what to send next.

MIT licensedSelf-hostedNo AI key needed

Open-source lifecycle email that writes itself.

Describe a flow in plain language. Claros compiles it once, drafts the email with your own AI key, and sends nothing until you approve it. Runs on your own server with Postgres or in your own Cloudflare account with D1.

git clone https://github.com/claroshq/claros.git && cd claros
docker compose run --rm install
docker compose up

About 5 minutes with cached images. No AI key required to start; the prebuilt library flow sends your first real email with fixed templates.

On Cloudflare instead: npx @claroshq/claros deploy. Both install options ↓

The Claros dashboard Home page, showing the first-run checklist.

The real dashboard, running locally in under five minutes.

Claros grew out of lifecycle email work at Elevate Studio, built first for their own products and later for clients. We started with Mautic, outgrew the maintenance, and refused the platforms that tax your contact count. So we wrote the engine we wanted: prompt-defined flows, deterministic execution, our own AI key, and human approval before anything sends.
Read the full story →

Compile

Describe the journey. The compiler builds the plan.

Write a flow in plain English: "When a user signs up, send a welcome email immediately. If they have not activated after two days, send a getting-started guide. Stop when they activate." Claros sends the prompt to your configured LLM exactly once and stores the resulting plan. From then on, the engine executes that plan with SQL.

The flow editor shows the plan as a timeline: what starts it, each email with its wait, what ends it early. Per email, write the copy yourself in a code editor with a live preview, or give the AI an instruction and let it draft for each contact. Plans can start from events, lifecycle transitions, segments or contact dates ("three days before trial_ends_at"), fetch context from your own API at render time, and use a choose step.

Read how compilation works →
The flow editor: a welcome flow as a timeline on the left, the selected email's instruction for the AI on the right.

A prompt becomes a plan you can read, and edit, before it runs.

Approve

Every AI-drafted message waits in the queue.

The Brain decides whether to send, drafts the email, and scores it for value. Then the message lands in Approvals, not the outbox, rendered exactly as the recipient will see it. Approve, reject, edit or regenerate, or switch the flow to auto-send once you trust it.

Before a draft gets that far, deterministic guardrails check it: only the links you declared, phrases you forbid rejected, one call to action when you ask for it, and a daily token budget per product.

See the approval queue →
The approvals inbox with an AI-drafted email open, rendered in the product's template.

No AI-drafted email sends until a human says yes, unless you explicitly choose auto-approve.

Templates

Vibe-code your email template.

Start from one of seven built-in templates, narrow or wide, and open it in the template studio. Say "center the logo" or "make the header band dark navy" and the preview updates once the change lands. No drag-and-drop builder, no table markup by hand.

The assistant knows how Outlook, Gmail, Apple Mail and Yahoo render HTML. Ask for a CSS background photo or a flexbox row and it tells you what would break in which client, then offers a version that works everywhere. Any flow can send in its own template.

Read about email templates →
The template studio: an email template preview on the left and the chat that edits it on the right.

Every template keeps the unsubscribe footer, and client checks run on every change without the LLM.

Audience

See who to email next, not just what happened.

Contacts are bucketed by tenure and recency into a 4x4 grid. Each cell is an audience: start a flow from it, see who is in it, watch the trend. No SQL, no segment builder, no list import. The grid adapts to your product's natural rhythm.

Read about lifecycle states →
The lifecycle retention grid showing contacts grouped by tenure and recency.

A 4x4 grid of tenure versus recency; every cell is an audience you can email.

Products

Every product you run, one instance.

Each product gets its own contacts, flows, topics and consent, transports and routing, brand, API keys and team, with nothing shared between them. A person keeps one login across products. Instance admins create, rename and archive products, and each product can send its unsubscribe links from its own host. One install to upgrade and back up, however many products you run.

Read the products guide →

Infrastructure

Postgres or Cloudflare D1. Same engine.

On Docker: one image plus Postgres 16 with pgvector, the only dependency. pg-boss for jobs, advisory locks for deduplication, pgvector for knowledge-base search. No Redis. No Kafka. No message broker. On Cloudflare: one Worker on D1, with Queues for jobs and a Cron Trigger for periodic work. Both run the same HTTP API and engine.

  • Ingest events through a Segment-compatible API or a 2 KB browser snippet served by your own instance.
  • Send through your own Resend or SMTP account (including the Amazon SES SMTP endpoint), or Cloudflare Email Service for transactional mail only. Several transports per product, routed by topic.
  • Topics with per-topic consent, and transactional mail that keeps flowing when someone unsubscribes from marketing.
  • RFC 8058 one-click unsubscribe built in for lifecycle and marketing mail, a CAN-SPAM postal footer, and a suppression list enforced before every send.
  • Manage it as code: one JSON config file applied with claros apply, scoped admin keys, signed webhooks, and alerts with a Health page.
  • Import knowledge base entries and your earlier send history, so caps, cooldowns and history conditions count mail you already sent.
Read the installation guide →

Compare

How Claros compares

Hosted platforms now build flows from a prompt too. Claros does it on your own server and your own LLM key, with the source open and no per-contact bill. It is email only.

ClarosCustomer.ioKlaviyoLoopsMauticDittofeed
SourceOpen (MIT)ClosedClosedClosedOpen (GPLv3)Open (MIT)
Where it runsYour server (Postgres) or your Cloudflare account (D1)HostedHostedHostedSelf-hosted, or managed from €247.50/monthSelf-hosted (cloud closed October 2026)
Price basisFree; you pay for your infrastructure and sendsPer profile, from $100/monthPer active profile, from $20/monthPer subscribed contact, from $49/monthFree to self-hostFree to self-host
Flow from a descriptionYes, compiled once into a plan that runs without the LLMYes, AI Agent (beta)Composer agent drafts audience, content and sendsThrough external agents (MCP)NoOn the roadmap
AI modelYour own key, any OpenAI-compatible providerPlatform AI, with AI creditsPlatform AI (Composer)Your agent, through MCPNone in coreNone yet
Email designTemplate studio: describe the change, mail-client checks on every editDrag-and-drop and code editor, AI draftsEmail templates, Remix AI photo editorWriting-first editor, themes, MJML importDrag-and-drop builderLow-code and code editors
ChannelsEmailEmail, SMS, push, in-app, WhatsApp, moreEmail, SMS, RCS, WhatsApp, app pushEmailEmail, SMS, notificationsEmail, SMS, push, webhooks

From each vendor's public English pages, retrieved November 26 and 27, 2026. Sources, and the cases where each tool is the better fit, are on the comparison pages.

Self-host with Postgres or Cloudflare D1.

Two install options run the same HTTP API and engine. Pick one. Either way, the install prints a one-time claim URL: open it, enter your email, and you are the owner.

Docker + Postgres

One Docker image. Postgres 16 with pgvector is the only dependency; the compose stack bundles it, or point it at your own.

git clone https://github.com/claroshq/claros.git
cd claros
docker compose run --rm install
docker compose up

Upgrade with git pull, docker compose build, docker compose up; migrations run on boot.

Installation guide →

Cloudflare Workers + D1

One Worker on D1 in your own Cloudflare account. The CLI creates the database, queues, secrets and Worker for you.

npx @claroshq/claros deploy \
  --domain claros.example.com

Replace claros.example.com with your host. Upgrade with npx @claroshq/claros upgrade.

Cloudflare install guide →

No LLM key is needed to start. The prebuilt library flow sends your first real email with fixed templates.

Docker: about 5 minutes with cached images. Cloudflare: needs a Cloudflare account and a wrangler login.

Frequently asked questions

What is Claros?

Claros is an open-source lifecycle email engine. It ingests events about your users, maintains a lifecycle state for each contact, and sends email through automations called flows.

Can I run it without an AI key?

Yes. Ingestion, contacts, lifecycle tracking, the prebuilt library flow, fixed-content flows, approvals, suppression, and analytics all work without an LLM provider. You only need a key for prompt-defined flows, AI-drafted copy, the choose step, or the template studio. The built-in email templates work without one. Knowledge-base embeddings are optional and have their own provider (OpenAI or any OpenAI-compatible endpoint); without one, the knowledge base is searched by word matching.

How is this different from other lifecycle email tools?

Claros is open source and runs on your own server or Cloudflare account, with your own LLM key and your own email transport, and it has no per-contact bill. Instead of drawing a journey on a canvas, you describe it and the engine compiles it once into a deterministic plan; the LLM never decides timing, targeting or sending. AI drafts wait for approval by default, and templates are edited by describing the change. It is email only. The comparison pages go tool by tool.

Can I change how the emails look?

Yes. Each product has a default email template and any flow can use its own: seven are built in, four narrow and three wide, and any of them can be copied and changed in the template studio by describing the change in plain words. The assistant only edits the template, warns when a change would break Outlook, Gmail, Apple Mail or Yahoo and proposes a version that works, and every template keeps the unsubscribe link and postal address. The studio uses your own LLM provider.

What do I need to self-host?

One of two things. A server that can run Docker Compose: the default stack bundles Postgres 16 with pgvector, and for production you can point it at your own Postgres. Or a Cloudflare account: npx @claroshq/claros deploy creates the Worker, D1 database, queues and secrets in it. Both run the same HTTP API and engine.

Can one install serve several products?

Yes. One instance can serve several products, each with its own contacts, flows, settings, API keys and team. Instance admins create, rename and archive products, and a person needs only one login across them.

Is it really open source?

Yes. The source is released under the MIT license and developed in the open on GitHub. Issues come first; pull requests are welcome and run the check workflow. Merges are rare, and a small core team sets the direction.

Stop wiring lifecycle email by hand.

Install Claros on your own server or your own Cloudflare account and send your first real email.