A personal CRM that is a folder of Markdown files in git, built for one person and for AI agents.
pip install hermitcrm==0.6.0 Copy PIP instructions
Alpha software. Hermit CRM is incomplete, it changes without notice, and it has bugs nobody has found yet. It is free and comes with no warranty of any kind — nobody is on the hook if it loses your data. Keep your own backups, and check that they restore. Read DISCLAIMER.md before you put real work in it.
Your CRM is a folder of Markdown files in git. Every company, contact and conversation is a small text file you can read, grep, edit and diff; every change the app makes is a commit, so the previous version of a file stays in git log and most mistakes are one git revert away. A local web app gives you a pipeline board, a calendar of next steps, message drafts and reports, and because the data is plain files with a small CLI, AI agents (Claude Code, Codex and others) can read and update your pipeline as easily as you can. Hermit CRM is built for one person: a founder, a freelancer, someone doing their own sales.
A modest, factual comparison (checked September 2026; corrections welcome):
If you need a team CRM, use one of the others. If you want your pipeline in files you own, Hermit CRM is for you.
With an AI assistant. Unpack the download, open the folder in Claude Code, Codex, Cursor or another AI coding tool, and send it one message:
Read INSTALL.md and set up Hermit CRM for me.
It checks the machine, installs the command, makes your data folder, asks your name and sending addresses, and starts the app. It will not ask you for an app password or a calendar URL: those you type into the Settings page yourself, so they stay on your machine. INSTALL.md is the script it follows.
Hermit CRM runs on macOS. Linux works but is less tested.
By hand. You need Python 3.11 or newer and git:
git clone https://github.com/Hermit-CRM/hermit-crm.git && cd hermit-crm python3 -m venv .venv && source .venv/bin/activate pip install . hermitcrm init ~/crm # a new data folder; asks 3 questions hermitcrm --data ~/crm serve # http://127.0.0.1:8765 hermitcrm --data ~/crm schedule install --serve # daily sync, web app always on On Debian and Ubuntu, python3 -m venv needs the python3-venv package, and Ubuntu 22.04's Python (3.10) is too old; uv (uv tool install . from the clone) brings its own Python and avoids both.
A download is hermitcrm- .tar.gz and unpacks to hermitcrm- /, with a .sha256 beside it. Check it before you unpack:
shasum -a 256 -c hermitcrm- .tar.gz.sha256 # macOS sha256sum -c hermitcrm- .tar.gz.sha256 # Linux Hermit CRM is also on PyPI: uv tool install hermitcrm (or pipx install hermitcrm) replaces the first three lines and gives you a hermitcrm command that works without activating the virtualenv.
hermitcrm init asks three questions: you (your name and sending addresses), BCC capture (the tracking address and its app password) and an online copy (an optional private git remote; local backups start with schedule install or Settings > Backup). Skip any of them; rerun with hermitcrm setup or open the Settings page (/settings) in the web app. Add --demo for eight fictional companies, --no-setup to skip the questions. Instead of --data you can set HERMITCRM_DATA=~/crm or run commands from inside the folder.
hermitcrm doctor checks the whole installation in one go. Every page of the web app has a Help link; hermitcrm help [topic] prints the same pages.
Want to see a worked account first? The empty home page offers Look at a sample account (or run hermitcrm sample add): one made-up company with its people, messages, a deal on the pipeline and tasks, plus a pinned dashboard and a paused routine to show what you can build. A bar on every page says it is there; Remove it deletes it again in one commit (hermitcrm sample remove), and never touches your own companies.
With the app running at http://127.0.0.1:8765, click New company, type a name and a country, and save. Or do the same from the terminal:
hermitcrm --data ~/crm add company "Acme BV" --country NL --website acme.example.com # company acme created: companies/acme/company.md Either way one file now exists, and it is the whole record:
~/crm/companies/acme/company.md --- name: Acme BV slug: acme website: https://acme.example.com country: NL source: other stage: prospect stage_changed: 2026-09-17 ... and one commit records it, company: acme created. Open the company page and add a contact, then log the first email:
hermitcrm --data ~/crm add contact acme "Jane Roe" --title CTO --email jane@example.com hermitcrm --data ~/crm add interaction acme --channel email --direction out \ --contact jane-roe --subject "Intro" --body "Hi Jane, ..." The contact becomes companies/acme/contacts/jane-roe.md, the mail becomes a file under companies/acme/interactions/, and Acme moves from prospect to engaged because you have now spoken to them. Three files, three commits, git log for the history. hermitcrm show acme prints the lot.
That is the entire data model: a folder per company, a file per contact and a file per conversation. Everything below is convenience on top of it.
hermitcrm init writes config.toml with every key commented out at its default. Uncomment what you want to change.
Secrets never go in config.toml; see Secrets.
Drafts come from the package's neutral default_messages.toml. Put a messages.toml in your data folder to override any part of it; it is deep-merged, so a two-line file is enough:
[languages.en] signoff = "Best,\n{owner_first_name}" MESSAGING.md in your data folder explains the angles, slots and languages.
hermitcrm [--data DIR] --data, then $HERMITCRM_DATA, then the current directory hermitcrm --version hermitcrm init DIR [--demo] [--no-setup] create a data folder (git repo, config, agent rules) hermitcrm setup the setup questions again (you, BCC, backup, calendar) hermitcrm help [TOPIC] how a feature works (the web app's /help pages) hermitcrm doctor [--online] check Python, git, config, secrets, schedule, backup, updates hermitcrm schedule install [--at HH:MM] [--serve] daily sync --apply (launchd, systemd; schtasks is printed) hermitcrm schedule remove|status hermitcrm serve [--port N] [--host A] the web app (default 127.0.0.1; --host 0.0.0.0 reaches your phone) hermitcrm show [--bodies N | --all] hermitcrm digest [--days 7] recent interactions, oldest first hermitcrm followups [--reply-after N] [--nudge-after N] threads you owe a reply, and ones you are waiting on hermitcrm brief [--days 7] each upcoming meeting with the record behind it hermitcrm mcp serve this folder to AI clients over MCP (stdio) hermitcrm report [--days N | --from D --to D] [--md] hermitcrm check validate every file (exit 1 on problems) hermitcrm rebuild regenerate PIPELINE.md and commit hermitcrm add company NAME [--country NL] [--website URL] [--stage S] [--next-step TEXT] [--set FIELD=VALUE ...] hermitcrm add contact SLUG NAME [--title T] [--email E] [--phone P] [--role R] hermitcrm add interaction SLUG --channel email|linkedin|call|meeting --direction in|out [--contact CSLUG] [--subject S] [--date D] [--body TEXT|-] hermitcrm import FILE [--mode companies|contacts] [--map HEADER=FIELD] [--apply] hermitcrm fetch [--url URL] [--apply] hermitcrm enrich [--contact SLUG] [--apply] hermitcrm bcc [--apply] [--eml FILE ...] hermitcrm calendar [--apply] [--ics FILE ...] hermitcrm sync [--apply] bcc, then calendar hermitcrm backfill-history [--apply] stage_history from git hermitcrm migrate [--dry-run] upgrade the data format (runs automatically) Commands that write take --apply; without it they show what they would do. Every write is one git commit.
Two secrets exist: bcc_password (a Gmail app password) and calendar_ics_url. Hermit CRM looks for each in this order:
bcc_password = "abcd efgh ijkl mnop" calendar_ics_url = "https://calendar.google.com/calendar/ical/.../basic.ics" the system's secret store, with the service from bcc_keychain_service / calendar_keychain_service in config.toml (the keys keep the name "keychain" on every platform): macOS: the Keychain, through security; Linux: the freedesktop Secret Service (GNOME Keyring, KWallet, KeePassXC), through secret-tool from libsecret-tools. By hand: secret-tool store --label='Hermit CRM calendar' service crm-calendar account ics (then paste the URL). It is used only when a D-Bus session is running, so a headless server simply falls back to .secrets.toml; hermitcrm doctor shows a keyring line saying which case applies. Without a secret store a secret lives in the environment or in .secrets.toml, in plain text, readable only by your user account and never committed. Full-disk encryption protects it when the machine is off. A Linux keyring is locked while you are logged out, so if the daily import runs then (systemd lingering), keep the app password in .secrets.toml.
The easy way: Settings → BCC capture in the web app (/settings#bcc) or hermitcrm setup. It suggests you+crm@gmail.com for Gmail, picks the IMAP server for Gmail, Outlook/Hotmail/Live and iCloud, stores the app password in .secrets.toml or the system keyring (macOS Keychain, Linux Secret Service), tests the connection with a dry run and shows the Gmail filter to add:
Matches: to:(you+crm@gmail.com) → Skip the Inbox, Mark as read, Apply label Hermit CRM For Gmail, turn on 2-step verification and create an app password at https://myaccount.google.com/apppasswords; your normal password is rejected.
By hand: set bcc_address, my_addresses and optionally bcc_ignore_domains in config.toml and store bcc_password as a secret (see Secrets). Then BCC that address on mail you send, or forward a thread to it, and run hermitcrm bcc (dry run) and hermitcrm bcc --apply. Mail that matches no contact or company waits on Home under To file (/#to-file). hermitcrm schedule install runs it daily.
uv tool install hermitcrm@latest # or: pipx install --force hermitcrm Both also move an install made from a download or a clone over to PyPI; uv tool upgrade and pipx upgrade stay with the folder it came from and find nothing new there. The update notice names the command that fits your install. Restart the app afterwards: launchctl kickstart -k gui/$(id -u)/io.hermitcrm.serve on a Mac, systemctl --user restart hermitcrm-serve on Linux, or stop and start hermitcrm serve yourself.
The web app checks at most once a day (no identifiers sent; turn it off with update_check = false or HERMITCRM_NO_UPDATE_CHECK=1) and shows a notice in the nav when a newer version exists. It asks PyPI unless update_url points elsewhere; any URL answering {"version": "0.4.0"} works, so a static file on a download page needs no package index. A check that 404s or cannot reach the network says so -- it never reports "is the latest" for a question it failed to ask. When a release changes the data format, the next command migrates your folder automatically, in one git commit named migrate: data format N → M (...), so git revert undoes it. See what would change first with hermitcrm migrate --dry-run. A folder written by a newer Hermit CRM is refused until you upgrade.
~/crm/ ├── config.toml settings (all optional) ├── messages.toml optional draft wording, merged over the defaults ├── .secrets.toml optional secrets (gitignored, chmod 600) ├── .hermitcrm-format data format version (committed) ├── PIPELINE.md generated summary, never edit by hand ├── CLAUDE.md / AGENTS.md rules for AI agents working in this folder ├── .claude/settings.json git commands Claude Code may not run here ├── MESSAGING.md your outreach playbook ├── inbox/ BCC and calendar items waiting for a decision └── companies/ / ├── company.md front matter: stage, next step, scores, history... ├── contacts/ .md └── interactions/ - - - .md Every file is Markdown with YAML front matter in a fixed key order, so two writes of the same data are identical and diffs show only real changes. Keys Hermit CRM does not know are kept, after the known ones.
Hermit CRM runs on your machine and sends nothing anywhere. There is no account, no server, no telemetry. The author never receives, stores or processes your data, and under the GDPR you are the data controller for everything you put in.
The other side of that: the data is yours to look after. A commit per write and a copy of the folder every few minutes are a convenience, not a guarantee. Do your own backups, and restore one now and then to check it works. If you connect a mail account, a calendar or an AI tool, you supply the keys and you answer for those providers' terms.
DISCLAIMER.md sets this out in full: no warranty, no liability, no support, and what the trademark does not cover.
Every write is a commit, so rolling back is plain git, run in the data folder:
git log -- companies/ # the history of one company git checkout -- # restore one file to an older version git revert # undo one commit, keeping history hermitcrm rebuild # then regenerate PIPELINE.md Pushing to a remote after each write is on by default (push_enabled) and simply does nothing until you add one with git remote add origin .
hermitcrm init writes CLAUDE.md and AGENTS.md (the same text) into the data folder: read PIPELINE.md first, use hermitcrm show / digest / report instead of opening many files, run hermitcrm check and hermitcrm rebuild after hand edits, never rewrite interaction bodies, and hermitcrm help for how a feature works. To write, an agent uses hermitcrm add company|contact| interaction, which validates the fields and commits, rather than composing YAML by hand. Open the folder in Claude Code, Codex or any agent and ask for a pipeline review or a follow-up draft.
Claude Code is blocked from the git commands that destroy history (git reset --hard, commit --amend, rebase, push --force, git clean -f, rm -rf .git, ...): every data folder has a .claude/settings.json deny list that holds in every permission mode, bypass included. It matches command patterns, so it is a seat belt, not a lock; the 5-minute backup (hermitcrm help backups) keeps every version even when something gets past it.
For a client with no shell, hermitcrm mcp serves the folder over MCP. In Claude Desktop, Settings → Developer → Edit Config:
{ "mcpServers": { "hermitcrm": { "command": "hermitcrm", "args": ["--data", "/Users/you/crm", "mcp"] } } } It exposes ten read tools (list_pipeline, search_companies, show_company, digest, report, followups, brief, adjust_help, adjust_read, bulk_preview) and seven writes (add_company, add_contact, add_interaction, adjust_write, adjust_config, bulk_apply, undo). Each write is one git commit, like a save in the web app; adjust_write checks a file before it keeps it, and bulk_apply only runs after a bulk_preview. hermitcrm help ai-agents has the details.
See CONTRIBUTING.md and docs/ARCHITECTURE.md. Commits need a DCO sign-off (git commit -s). Security reports go to the address in SECURITY.md, which promises a reading and not a fix.
Hermit CRM is free and open source, and stays that way. If it earns its place in your week, you can support its development with a tip on Ko-fi. Nothing in the app depends on it.
The licence covers the code. It does not license the "Hermit CRM" name or the hermit logo (section 6): fork it, rename it. There is no warranty and no liability; sections 7 and 8 say so in legal wording and DISCLAIMER.md says so in plain words.
Built by Gijs Bos. A personal project shared as it is, not a product and not a service.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.




