A free, open-source, self-hostable CRM with an AI sales assistant built in.
The CRM is fully usable with zero AI configuration — add any AI provider API key (Anthropic, OpenAI, Google Gemini, Together AI, or local models via Ollama) and it comes with a sales assistant that works your pipeline for you.
Website: mycakecrm.com · Manual: mycakecrm.com/manual
Status: v0.1. Everything below is built and running on the public demo the screenshots come from. Found a bug, or want something it doesn't do yet? Open an issue.
Three screens your people will actually use, and an assistant that handles the busywork.
- Dashboard. The dashboard opens on a short Today list: the overdue call, the thing that goes out this afternoon. Under it, one pipeline number and the handful of stats that matter.
- Pipeline. Every open deal on one screen, in the stage it is in, with the value, the close date and the last contact on the card. Won and lost stay tucked away until you ask. A filter you keep coming back to becomes a saved view the whole team can use.
- Open a deal. Everything is on one card. Who, how much, how likely, when. The calls and emails so far, and a box to add a note. No tabs, no sub-pages, nothing behind a settings gear.
- Todos: capture it, file it, do it. A GTD-style inbox. Anything on your mind goes in, from your phone through a no-login capture link, and stays there until you have said what kind of action it is. Then it is a next action, and Today shows what is overdue or due.
- Ask Baker. Optional. Add any AI provider key and Baker reads the deal you have open, checks its health and tells you the next step in plain words. It can log the call, put a follow-up draft in your Gmail Drafts, nudge you when a deal goes quiet, and coach from the sales playbooks it has read. Skip the key and the CRM is still the whole CRM.
- Talk to it from your phone. Connect one Telegram bot; each person links their own chat to ask about a deal, log a call or capture a todo. Write confirmations arrive as Approve / Deny buttons.
The CRM (works with no AI at all):
- Contacts, companies, deals, and todos with an activity timeline
- Kanban pipeline with drag-and-drop stages and per-stage value totals
- Filter any list or board by preset or custom from/to date range, and save the whole view — filters, search, sort and layout — as a named view the team can apply
- CSV import, custom fields, lead scoring, analytics dashboard
- Accounts for your whole team: admin/member roles, an owner on every record, and "Mine vs Everyone" filters on the lists, the board and the dashboard
- PostgreSQL storage — the Railway template provisions it automatically; locally
python run.pystarts it via Docker Compose
The assistant (bring any AI API key):
- Chats in a context-aware drawer inside the CRM — it knows which deal or contact you have open
- Full CRM tool access with write confirmations: search, create, update, log activities, move deals
- Talk to your CRM from your phone via Telegram
- Proactive heartbeat: stale-deal nudges, untouched-lead alerts, daily pipeline digest — delivered by push notification or Telegram
- Gmail, read + draft only: drafts client emails into your Drafts folder for you to review and send; scans your inbox (read-only) to log email touches to contact timelines automatically. There is no send capability anywhere in the codebase — by design.
- Memory that persists across conversations
CakeCRM is also a good foundation for simple business workflow software of your own, and its author is already using it that way for a second product. Sales is foundational to a business and CakeCRM can be that foundation. Everything a small internal app needs is here and already proven under daily use:
- One stack, one database. FastAPI, React/Vite and PostgreSQL, with schema owned by plain SQL migrations that apply themselves at startup.
- Accounts and roles out of the box: admin and member, an owner on every record, passwords kept in the database with an operator rescue lever, and two-factor authentication at the API level for a fork to put a screen on.
- A shared collection layer — search, facets, saved views, list and board views, a detail shell — that any record type can adopt in one config object.
- An assistant engine that is a feature, not the product. Register a tool with a
writesflag and it gets write confirmations and multi-provider support for free; which reads the unattended assistant may run stays a list you own. The help library makes the assistant know your product. - A deploy story: one Railway template or
python run.py, and a CI that scans every committed file for what must never leak.
Fork it, rename the nouns, keep the plumbing.
- Click the button and set your
AUTH_PASSWORD— the only input you provide - Railway provisions PostgreSQL and deploys CakeCRM automatically
- Open your CakeCRM URL, log in, and optionally add an AI provider key in-app (the CRM is fully usable without one)
DATABASE_URL is injected by the template's Postgres service; JWT_SECRET and
ENCRYPTION_KEY auto-generate. Both are generated once and kept on the
persistent volume the template mounts at /app/backend/data, so a redeploy does
not sign everyone out and stored credentials stay readable. Setting JWT_SECRET yourself is still the recommended
production posture — a secret you control survives a volume being recreated, and
the Railway template can generate one for you as a variable. Prefer your own
hardware? python run.py runs everything locally, with Postgres via Docker
Compose.
You sign in with an email and a password. On first start CakeCRM creates one
admin account for you: the address is ADMIN_EMAIL (default
admin@cakecrm.local) and the password is AUTH_PASSWORD. Both are printed to the
logs on that first boot, so check them if you are not sure what was used.
Upgrading an install that predates accounts? Nothing is lost. Your existing password keeps working — sign in with it and the bootstrap email above. Your two-factor setup and trusted devices carry over, and every record you already had becomes yours.
Take a backup first. This upgrade changes the two-factor tables, so it is a
one-way door: going back to an older CakeCRM build means restoring a pre-upgrade
pg_dump, not just redeploying the old image.
Add the rest of your team at Settings → Workspace → Team. Two roles:
- Member — the whole CRM: records, pipeline, todos, notes, import, and the assistant.
- Admin — all of that, plus managing users, AI keys, branding, integrations and
the destructive operations (clear-all, sample data, backfills). Two things the
assistant does are admin-only too: using the connected Gmail mailbox (unless the
install shares it — see below) and changing the assistant's own
soul.mdandMEMORY.md, which every seat can still read. That second one holds on both paths — the Memory page refuses the save, and the assistant refuses the rewrite — because those two files are standing instructions replayed in every later conversation. Every other file the assistant keeps is open to every seat.
Ownership is not a permission. Every contact, company, deal and todo can carry an owner, which drives the "Mine" filters and the per-rep numbers — but any member can still see and edit anything. There are no per-record permissions, deliberately.
What is per-seat, and what the team shares. Your chat history with the assistant is
yours alone — owner-only, with no admin override. So are your notifications and your
Telegram link. What the whole team shares is the assistant's memory: the facts it
records and the context files it keeps (soul.md, MEMORY.md, topic notes) are one
shared brain, deliberately — per-seat memory would make the assistant amnesiac for
every new person. System alerts and the AI provider keys are install-wide too.
Say the cost of that plainly: memory is team memory. A fact the assistant records out of your private conversation becomes visible to every seat through the Memory page and through the assistant itself. Don't ask it to remember something your colleagues must not see.
The Gmail connection is install-wide but its access is not: only admin seats can have the assistant search the connected mailbox or draft from it, and a member's assistant is never shown those tools. An admin can switch on "share the connected mailbox with all seats" under Settings → Integrations → Gmail for teams that genuinely work one shared inbox; it is off by default. Per-user Gmail, where everyone connects their own account, isn't built yet. If your team needs it, open an issue and say so — that is what gets it built.
Notifications carry a recipient. Each one is either addressed to a single seat — visible and dismissible only by them, and pushed only to their browsers and their own Telegram chat — or sent to everyone, which is what the daily digest and a nudge about an unowned record do.
Telegram is per-seat. One bot serves the whole workspace: an admin connects it once under Settings → Integrations → Telegram, and then everyone links their own phone from Settings → Personal → Link my Telegram. Your link code is yours alone — it binds Telegram to your account, so anything the assistant changes from your phone is recorded as you, and one chat can only ever speak for one seat.
Upgrading from a version before per-seat Telegram? The old install-wide binding stored a Telegram account id with no way to tell which CakeCRM seat it belonged to, so nothing is guessed: whoever was linked simply links again from Settings → Personal → Link my Telegram. It takes about twenty seconds, and the bot itself does not need to be reconnected.
AUTH_PASSWORD is only the initial password for that first admin. Change it in
the app at Settings → Personal → Change password; the new one is stored (bcrypt-hashed) in
the database, and from then on AUTH_PASSWORD is ignored — editing it later won't
change how you sign in, and won't override your password on the next restart.
If two-factor authentication is on, changing the password also asks for a code.
Forgot a member's password? An admin resets it at Settings → Workspace → Team → Reset password, then tells them the new one. There is no email-link reset, because a self-hosted CakeCRM has no mail server to send one.
Changing your password signs out every other device immediately — the tab you changed it in stays signed in. Any trusted-device status for two-factor auth is cleared too, so other devices re-do 2FA at their next sign-in.
Locked out of the admin account? The operator can rescue it without database access:
- Set
AUTH_PASSWORD_RESETto a new password and restart (on Railway, add the variable — the redeploy is the restart). - Sign in as the admin with that password. The logs will carry a warning that the reset ran.
- Remove
AUTH_PASSWORD_RESETand restart again. While it is set, every restart re-applies it, so a password changed in the app won't survive one.
The lever targets the first admin account, re-activates it if it was deactivated, and turns that account's two-factor authentication off — a password-only reset is no help to someone who also lost their authenticator. Turn 2FA back on from Settings once you are in.
Multi-user, the original headline item, shipped in v0.1: accounts, admin and member roles, an owner on every record, and chat history, notifications and Telegram that belong to each person. What comes next is decided in the open, and these are already on the table:
- Per-person Gmail — each person connects their own mailbox instead of sharing the admin's. Waiting on the first team that asks for it.
- Importers from other CRMs — CSV and vCard work today; mapped imports from the common hosted CRMs are the obvious next door.
- More of the manual and the playbooks — Baker's in-product help library and its sales playbooks grow with the product; a topic per feature is the rule.
- A mobile-first pass — the no-login todo capture is already a PWA; the rest of the CRM on a phone is next.
Want something else? Open an issue. Contributions are welcome, and CONTRIBUTING.md explains how: a sign-off on your commits, not a contract. Security questions, and the promise that the assistant can never send email, are answered in SECURITY.md.
CakeCRM is built from two proven codebases by the same author: the agent platform from Chatty and the CRM feature set battle-tested inside a real bakery's internal operations platform. New features land there first, get daily production use, and flow here through an AI-assisted sync.
AGPL-3.0 — free to use, self-host, and modify. If you host a modified
version as a service, you share your modifications. Contributions are accepted
under the DCO (Signed-off-by).
Open Settings → Workspace → Backups and press Download backup now. CakeCRM makes a
full PostgreSQL custom-format dump and checks it with pg_restore --list before offering
it. This includes attachments, accounts, credentials and conversations. Treat it as sensitive.
Only admins can use this card or download backups. One backup is made at a time; if one is
already running, try again in a minute. Browser downloads buffer the file in memory, so use
the bucket copy for large databases.
Enter the endpoint URL, bucket, region, access key ID, secret key and optional path prefix
for your own S3-compatible storage. The region defaults to us-east-1; for R2 use auto.
Use a bucket or prefix dedicated to this install: CakeCRM prunes its dated backup files
there, keeping the newest number you choose (30 by default, between 1 and 365).
Credentials need permission to list the bucket, write and delete objects, and perform and
abort multipart uploads. Use HTTPS except for local testing.
Press Save destination, then Test connection. The test writes, lists and removes a small temporary object using the saved settings. Leave the secret field blank when editing to keep the saved secret. Saving enables automatic copies: the first is due on the next five-minute check, then about every 24 hours while the app is running. Failures retry hourly. The card shows the last successful upload and its size, plus the last error. Admins see a banner if no upload has succeeded for more than two days. A pruning failure is shown even when the upload itself succeeded.
Remove destination stops future uploads; it does not delete existing files in the bucket. Clearing CRM data keeps backup settings and history. Changing the bucket, endpoint, region or prefix starts a new backup history. Downloads do not count as off-site uploads.
Set a backup passphrase (at least 8 characters) to encrypt downloads and uploads in the
standard age format, with a .dump.age filename. Without one, backups work as plain .dump
files. If you lose this passphrase, your backups cannot be opened. CakeCRM cannot recover it.
Changing or removing it affects future files only; keep older passphrases for older files.
If the install's encryption key changes, re-enter the backup passphrase before making
another encrypted backup; CakeCRM will not silently make a plain backup instead.
Install the standard age command if the backup is encrypted, and PostgreSQL client tools
at least as new as the client that made the dump (the Docker image uses version 18). Restore
into a PostgreSQL server of the same major version or newer. Keep the app stopped while
restoring, then set CakeCRM’s DATABASE_URL to the restored database before starting it. Use the same CakeCRM
version that made the backup, or a newer one so its migrations can run.
For an encrypted file, decrypt first; age prompts for the backup passphrase:
age -d -o backup.dump cakecrm-20261123T010000Z.dump.ageFor a plain file, use its .dump filename below. Set PGHOST, PGPORT, PGUSER and the
other usual PostgreSQL connection options for your fresh server. Create a new empty database
and restore it (replace cakecrmrestored with your database name):
createdb cakecrmrestored
pg_restore --exit-on-error --no-owner --no-privileges -d cakecrmrestored backup.dumpThere is no restore button inside CakeCRM. ENCRYPTION_KEY is an environment variable and
is not in the dump. When it is unset, CakeCRM can keep the key in the OS keychain or in
backend/data/.encryption-key; keep the resolved key somewhere safe alongside the backups.
The backup passphrase is separate from this install key. Restoring with a different
ENCRYPTION_KEY keeps all CRM data, but you must re-enter the AI key, connections, backup
bucket secret and backup passphrase. The branding logo file under backend/data/ is also
outside the dump; keep it separately or upload it again after restoring.