Auditable Engineering Guarantees

Security you can verify on your own machine.

Brainmi is designed so you never have to trust a remote SaaS database with your private codebase or AI debugging history.

Single Local SQLite Database

Every indexed conversation, Memory Card, task thread, and user tag is stored locally in one standard SQLite database under macOS Application Support.

~/Library/Application Support/Brainmi/brainmi.db

Symlink-Safe & Read-Only External Reads

Local transcript readers use openat + O_NOFOLLOW safeguards against symlink traversal. External SQLite files (Cursor, Antigravity) are read via temporary snapshots with zero writes back to third-party stores.

openat(O_NOFOLLOW) · Read-only SQLite snapshot

Deterministic Cross-Boundary Redaction

Before local context moves to any cloud web AI, Brainmi scans and masks OpenAI/Anthropic keys, GitHub/AWS tokens, Bearer JWTs, private key markers, emails, and phone numbers locally.

On-device masking + mandatory preview confirmation

Confirmed, Reversible MCP Edits

Brainmi never silently edits your dotfiles or IDE configs. Every MCP setup displays the exact file path, requires explicit user confirmation, and writes a timestamped backup for one-click Undo.

Atomic config write + .bak rollback

Exact Network Boundary Table

What talks to the internet — and what never leaves your Mac.

ComponentNetwork ScopePurpose
Brainmi macOS Desktop (Free mode)100% offline (0 telemetry, no login)Local SQLite indexing, search, redaction, and permanently bound 2+2 Free slots
Brainmi macOS Desktop (Pro account)HTTPS to brainmi.ai only for sign-in & subscription checkVerifies Pro entitlement online (zero chat content or source code ever leaves your Mac)
brainmi-mcp (stdio MCP server)100% local stdio pipe (no sockets)Serves local context & Memory Cards to Codex, Claude Code, Cursor, etc.
brainmi-nmh (Native Messaging Host)100% local Chrome Native MessagingBridges approved web AI tabs to your local Brainmi SQLite database
brainmi.ai website (optional Pro billing)HTTPS (only when you visit or buy Pro)Unified account login, Creem checkout, and connected Mac session management