Why I built Mandala

The operating system for safe AI. Unbreakable rules. Sovereign. Distributed. Open source.

One place for your data, your rules and everything that reaches the outside world. It runs on your machines, your devices talk to each other directly, and one law stands in front of every action, by you or by AI.

Coming really soon Install on your server GitHub

Sign in with the AI plan you already have.

A looping demo of the Mandala workspace. The accomplice notices that dark matter runs out on Saturday and offers to reorder. After a yes, it drafts the purchase order beside the chat. The company’s own rule says an order over $5,000 needs a second approver. You approve, then Prof. Farnsworth approves, and the order is sent to the supplier.

Why

AI can’t be safe on a pile of apps.

An agent is as safe as the weakest tool it can reach. Today every tool is a separate door with its own permissions, its own log and no shared rule. Approvals bolted onto each one don’t add up, because the gaps are between them.

Mandala closes the gaps by removing them. Your mail, chats, documents, records and projects live in one system, under one set of rules, with one signed history. The AI works inside it, and there is no outside to slip through.

A guard on every toolOne law over everything
What other assistants give youWhat Mandala gives you
Each tool decides what the AI may touchYour rules decide what is true for your business
Logs per tool, in their formatsOne signed record: who, for whom, under which rule
The gaps are between the toolsThere are no gaps
Proof

Watch it get refused.

Accomplice · 09:04
Paying Tyrell Corporation $7,240 for invoice #2041.
Stopped

A payment over $5,000 needs a second approver. I’ve asked Leela.

Waiting for LeelaApproved by Leelarule · Second approver for large payments

Approved · signed. It pays, and Tyrell’s receipt lands in the same record.

Rule · PaymentsIn force
A payment over $5,000 needs a second approver.
whena payment is over $5,000
thena second person must approve it
andthey can’t be the one who asked
foreveryone, people and AI alike
Written by Hermes, in triplicate · approved by Leela · 3 Mar 2026
The line of the contract that stopped it state.approvals >= 2 or state.amount <= 5000

Your rules are checked before anything happens, for people and AI alike. A rule is written in plain words, compiled, and proved consistent by a solver before it’s installed. When it stops something, it says which rule and why, and asks the right person. Nothing to clean up afterwards.

The AI can’t be talked out of it. Not by you in a hurry, and not by a clever email.

One request, start to end

Talk. See it. Approve.

  1. 1

    You ask, in your own words, from any device. Type it or say it.

  2. 2

    It drafts, beside the chat, while you watch. Change anything.

  3. 3

    The rules check it. Over the limit? The right person is asked.

  4. 4

    You approve, with one tap or one word.

  5. 5

    It’s recorded: who did what, for whom, under which rule, signed.

Try
Reply to Mark at Lumon. Thursday works, but we need the floor plan by Tuesday.
On it. Drafting now.
To: Mark S.draftsent
Re: Waffle iron delivery

Hi Mark, Thursday works for us. Could you send a floor plan by Tuesday? Our crew got lost in your hallways last time.

Ask Mom’s Friendly Robot Co. for the dark matter invoice by Friday.
On it. Drafting now.
To: Mom’s Friendly Robot Co.draftsent
Re: PO-0417, dark matter

Hello, could you send the invoice for PO-0417 by Friday? We need it before the Moon run leaves. Thank you.

Tell Fry the Moon run leaves Thursday.
On it. Drafting now.
To: Frydraftsent
Re: Moon run

Hi Fry, the Moon run leaves Thursday morning. Please have the crates checked by Wednesday night.

sent 10:42 · signed by Hermes

Your accomplice, your way

Give it a name, a personality, a voice and a look. Decide how close it stands: an assistant that does what you ask and stays out of the way, a colleague that thinks ahead, or an accomplice that knows your week and checks in on you. It can grow later without forgetting you.

File Tyrell’s invoice.
Done. Invoice #2041 is filed.

Does what you ask, briefly. Stays out of the way.

Filed. Tyrell usually invoices again on the 15th, so I’ve added it to next month’s forecast.

Thinks ahead, flags problems, suggests the next step.

Filed. You’ve stamped 412 forms since Monday. Want me to move Friday’s 8am to the afternoon?

Knows your week, your people and your priorities. Checks in on you, too.

Name · yours to choose
Personality
Brief and exactWarm, direct, a little dryKnows your week, checks in
Voice
Soft and unhurried
Speaks
English, Spanish
Look
Grow your business by talking

Describe a process. Approve it. It runs.

Say how a thing should work. Your accomplice drafts the stages, the rules and the screens, tries them on a scratch copy, and shows you what it would accept and refuse. You sign it off. From then on everyone, people and AI, works inside it.

Hermes
When a delivery comes in, check the cargo. Anything over 200 crates, Leela confirms first. Then pack it, stamp it, and send the customer a tracking link.
Drafted by your accomplice · Deliveries
stagesNew → Cargo checked → Confirming → Packed → Delivered
rulea crate can’t be packed until its cargo is checked
ruleorders over 200 crates need Leela to confirm
rulethe customer gets a tracking link when it lands
2 screens · Deliveries board, Delivery record
Deliveries
5 stages · 3 rules · 2 screens
signed by Hermes, for Planet Express · 10:14 · stamped
Live
Deliveries is running. First one’s in: Lumon, 240 waffle irons “for the Perpetuity Wing”. I’ve asked Leela to confirm it.
The board was built from that conversation.
Deliveries3 rules in force
New1
DL-1183Buy n Large150 crates
Cargo checked0
Confirming3
DL-1182Lumon Industries240 cratesWaiting for Leela
DL-1181Los Pollos80 crates
DL-1179Moon Colony310 cratesWaiting for Leela
Packed1
DL-1176Dunder Mifflin120 crates
Delivered1
DL-1174Slurm Co.60 crates
Orders over 200 crates need Leela to confirm.
state.status == Confirmed or state.crates <= 200

Nothing ships to the Moon without a second person. Said once, in those words. Now nobody, human or AI, can get around it.

What you’d use it for

Say it. It handles it. You stay in charge.

Life

Work

Business

Planet Express, with made-up example data.

What does my week need?

Reading your mail, calendar and notes…

  1. 1
    A form due WednesdayCustoms form · Calendar, notes
  2. 2
    A reply you promisedMark at Lumon · Mail
  3. 3
    A bill nobody’s looked atMom’s Friendly Robot Co. · Mail

It reads your mail, calendar and notes and comes back with the three things that matter: a form due Wednesday, a reply you promised, a bill nobody’s looked at. Not a summary of everything. The short list.

Reply to Mark. Thursday works, but we need the floor plan by Tuesday.
To: Mark S.draftsent
Re: Waffle iron delivery

Hi Mark, Thursday works for us. Could you send a floor plan by Tuesday? Our crew got lost in your hallways last time.

Sent 10:42 · signed by you

The draft appears beside the chat as it’s written. You change a word, say yes, and it goes out, signed by you.

Where did the money go in October?
October statement39 of 42 lines filed

Three I couldn’t place:

  • Bender’s Bar & Grill$42.10Filed
  • Slurm Co.$18.40Filed
  • Cash at Mom’s$60.00Filed

It imports the statement, files 39 lines of 42, and asks you about the three it couldn’t place. Your budgets live on your machine, not in a bank’s app.

Find me a cheaper policy with the same cover.

Reading your current policy…

Searching and comparing…

Your policyFleet cover$412 a month
Worth switching toOption ASame cover · $371 a month
Worth switching toOption BSame cover · $384 a month

You switched. It showed you two; it never switches for you.

It reads your current one, searches, compares, and shows you the two worth switching to. It doesn’t switch. You do.

Put mangoes on the list.
Your phoneoffline
  • Milk
  • Mangoes
  • Goat
Someone at homeonline
  • Milk
  • Mangoes
  • Goat

On every device you own, offline or not. Someone at home adds goat; both show up.

How’s my sleep been since the move?
Hours slept, last 14 nightsStays on this machine
The move

Shorter for the first week after the move, back to normal since.

Your health data, brought in from your phone, answered without leaving the house.

Plan my day, realistically.
Today
8:0012:30Route review
9:30Call Mark
11:00Stamp forms
Late
Dark matter reorder
Next
Moon run, Thursday

Moved Route review to 12:30. I bumped nothing else.

Today, what’s late, what’s next, beside your calendar. It moves the 8 am if you ask, and tells you what it bumped.

Set up a tracking link for every delivery.
Deliveries · drafted5 stages · 3 rules · 2 screens
NewCargo checkedConfirmingPackedDelivered

The customer gets a tracking link when it lands.

Running. The first tracking link goes to Lumon when the delivery lands.

Describe the process once. It drafts the stages, the rules and the screens. You approve, and from then on it just happens.

Who approved the Lumon run?
Moon run for Lumon · 120 cratessigned

Leela approved it at 9:41, under rule 5 of Ship.

signer
Leela
for
Planet Express
rule
Nothing ships to the Moon without a second person
contract
com.planetexpress.delivery v3.0.0

One click. Signed. With the rule it was approved under.

Watch the fuel price and reorder up to 10% more.
Fuel worker · until 30 Octlimit 10%

Price up 6%. Reordered 6% more.

Price up 14%. Above 10%, so I’m asking you.

Done, with your approval, signed.

Skipped. Nothing was bought.

A worker that does exactly that, nothing more, until the date you set. Above 10%, it asks.

Fit this week’s deliveries onto three ships, Moon runs first.
Ship 1Moon · LumonBuy n Large
Ship 2Moon · Moon ColonyLos Pollos
Ship 3Dunder MifflinSlurm Co.
  • Nothing unconfirmed
  • Nothing over capacity

Scheduled. Every rule still holds.

Every rule still holds: nothing unconfirmed, nothing over capacity. It finds the best schedule that satisfies all of them, shows you the plan, and waits for your yes.

Pay Tyrell’s invoice.
  • Found invoice #2041, $7,240
  • Checked it against the order
  • Stopped: over $5,000 needs a second approver
Leela’s phoneApprove payment of $7,240 to Tyrell Corporation? Approved · signed
  • Paid
  • Tyrell’s receipt landed in the same record

It finds #2041, checks it against the order, and stops: over $5,000 needs a second approver. Leela gets a tap on her phone. Then it pays, and the supplier’s receipt lands in the same record.

Send Duff a quote for 120 crates.
Planet ExpressQuote for 120 cratessigned
Duff’s MandalaQuote receivedsignature checked Accepted · signed by Duff

The acceptance came back the same way. No portal, no PDF.

The quote goes straight to their Mandala, signed. Their acceptance comes back the same way. No portal, no PDF in an email thread.

Run October payroll.
Payslip · Hermes Conrad · Octoberrules in force on 31 Oct
Base paypayroll v4.2
Overtimepayroll v4.2
Tax withheldtax v2026.3
Social contributionstax v2026.3
Net paypayroll v4.2

The contract version is on every line.

Each payslip computed under this month’s rules, for your country, with the contract version on every line.

Nothing ships to the Moon without a second person.
Rule · ShipIn force
Nothing ships to the Moon without a second person.
whenthe destination is the Moon
thena second person must confirm it
Refused. Nothing goes to the Moon until a second person confirms it. I’ve asked Leela.

Said once, in those words. It becomes a rule, and nobody, human or AI, can get around it.

It grows by rules. Invoices, payroll, tax, scheduling: each is a contract in a shared library, versioned and dated, that your business inherits and extends. When the law changes, the rule changes on the day it takes effect, and every record still knows which version decided it.

The workspace

Everything in one place, made to be fast.

The accomplice’s page of the Mandala workspace (here called Nibbler), with made-up example data
The Communications page of the Mandala workspace, with made-up example data
The Knowledge page of the Mandala workspace, with made-up example data
The Library page of the Mandala workspace, with made-up example data
The Projects page of the Mandala workspace, with made-up example data
The Plan page of the Mandala workspace, with made-up example data
The Dashboards page of the Mandala workspace, with made-up example data
The Analytics page of the Mandala workspace, with made-up example data
The Data page of the Mandala workspace, with made-up example data
The Computer page of the Mandala workspace, with made-up example data
The Activity page of the Mandala workspace, with made-up example data
The Initiatives page of the Mandala workspace, with made-up example data

The real app, run on example data. Click its sidebar to look around.

Write.

Plain Markdown that knows what it is: typed, linked, queried, with tasks and an agenda from a line of text. Real-time with your team, in files you keep.

Talk.

Mail, Telegram and WhatsApp in one inbox. Your accomplice sorts, drafts and waits for your yes.

Run.

Projects with stages, owners and approvals. AI workers take the routine, dispatched across your own devices, under the same rules as everyone else.

See.

Records, dashboards and every action, signed, in order.

Nothing spins.

Connects to

GmailGoogle CalendarGoogle DriveWhatsAppTelegramGitHubMeta AdsInstagramPostHogApple HealthAny MCP server

Already have an assistant?

If it lives in a company’s cloud

  • It remembers what they let it remember, acts within rules you’ve never read, and stays yours for exactly as long as you keep paying.
  • One terms-of-service update and it’s a different product.

Here, it runs on your machine.

  • It knows your mail, your week and your people because they’re here, not because a company keeps a copy.
  • It asks before it sends, pays or posts, and everything it does is written down where you can read it.
  • Give it a name, a voice and a personality.
  • Cancel anything you like; what you’ve built stays.

Bring your history with you.

  • Export your chats from wherever you’ve been talking and drop them in.
  • Mandala reads them, and your accomplice knows you from the first conversation: your projects, your people, how you like things done.
  • The export stays on your disk, like everything else.

A Mac app, your first name and Face ID. Sign in with the AI plan you already have.

Coming really soon

If you run it yourself

  • You already have a capable agent and a shell it can use.
  • What you don’t have is a rule that says a payment over $5,000 needs a second person, a record of who approved what, or any guarantee that a clever email can’t talk it into something.
  • A sandbox decides what it may touch. Nothing decides what’s true for your business.

You don’t have to switch.

  • Run Mandala beside it.
  • Your agent keeps its skills, its channels and its memory.
  • Your Markdown memory imports as it is.
  • When you want the workspace too, it’s already there.
Sovereign

Sovereign means yours.

On your machines.

Web, desktop, mobile, a server at home or a VPS, and a relay you host yourself. There is no hosted Mandala and no account with us.

Your model.

ChatGPT, Claude, Grok or a local one. Choose which AI sees what. Run locally and nothing leaves home.

Devices linked directly.

Encrypted, no cloud between them. Works offline, merges when they meet.

Keys kept at home.

Passwords and API keys encrypted on your disk. Revoke any of them any time.

Nothing can be taken back.

Cancel anything, uninstall anything: your rules, your records and your history export in a readable form, signatures included.

Web appIn a browser, served by your homeAvailable
Desktop appMac now; Windows and Linux comingAvailable
MobileiPhone now; iPad and Android comingAvailable
ServerHome server or VPSAvailable
RelayYours, so devices find each other directlyAvailable
WorkerRuns agent work, compute and CI for your homesComing
Distributed

Your business, connected to others. No platform in the middle.

Two businesses exchange signed orders, invoices and receipts directly, Mandala to Mandala. Each side checks what arrives against its own rules. Both keep the same record. If there’s ever a question, the answer is already written down.

Every invoice on the network inherits from the same base contract, so any business can trade with any other, and each can still add its own fields and rules.

TCTyrell CorporationDr. Tyrell’s Mandala · Los Angelessent invoice #2041
Invoice #204114 Oct
From Tyrell Corporation to Planet Express
Owl, artificial, 1
$5,800
Delivery, New New York
$664
Sales tax
$776
Total
$7,240
signed by Tyrell Corporationreceived by Planet Express
PEPlanet ExpressHermes’s Mandala · New New Yorksent order PE-0388

Checked against Planet Express’s own rules: accepted, and both sides keep the same record.

Refused: the signature does not match. It never gets in.

A bad signature never gets in. Whom you trust, and with what, is decided by your own records only.

Under the hood

One engine. No glue.

For builders.

The standard library. Every business runs on std: invoices, orders, payables, deliveries, identities, delegation. Your contracts inherit from it and extend it, and stay compatible with everyone else’s. Contracts are versioned and carry effectivity dates, so a change in the law takes effect on the day it says.

~2.6Mdurable rows per second
2.3 µsmedian query
~9 msfrom a new fact to a queryable answer

Measured on one Apple Silicon machine. Benchmarks and method on GitHub.

Rust, with a C++ storage engine linked into the same program. One executable, one data directory, no database server, no queue, no cache.

Who it’s for, and choosing honestly

Owner-run businesses.

Rules nobody can skip, a signed record, an accomplice for the routine.

Developers.

Write the contract. Get the storage, the checks, the history and the API.

Individuals.

Your notes, mail, money and plans in one place you own.

Choose honestly.

Choose a hosted assistant if you want nothing to run, and you’re comfortable with your data in a company’s cloud.

Choose a self-hosted agent if you want it in your chat apps today, on any platform, with a large library of skills.

Choose Mandala if the AI will touch money, orders, customers, or anything you have to answer for. Or if you want the workspace as well as the AI, on your own machine.

They’re not exclusive. Mandala runs coding sessions with Claude Code and Codex, uses any MCP server, and sits beside the agent you already run.

What it costs

Free. Better with a little help.

Free.

The whole program, on your machines, with your own model and your own Google sign-in. Nothing held back. Nothing you build can be taken back by not paying.

$4 a month.

Google sign-in that just works, your name for others to find you (@you instead of a device code), and faster sorting through Jev, a model built for typed decisions. Everything works without it. It’s better with it.

The conversation always runs on the AI plan you already have, or a local model. The subscription never sees your data: it holds a sign-in client, a name and a routing key, nothing else.

Open source. Contracts you write are yours. The standard library is free to copy and change.

One law. Every action. Your machines.

Coming really soon Install on your server GitHub

No account with us. No hosted service. Open source.