Product Architecture

Five calm tools that turn fragmented AI chats into working memory.

Every feature runs natively on macOS in Rust + Tauri v2, keeping your context fast, inspectable, and off third-party clouds.

01 · Local-to-Cloud Redaction

Mask secrets automatically before anything enters a browser tab

Moving debugging context from Codex or Claude Code to ChatGPT or DeepSeek triggers on-device redaction for API keys, bearer tokens, private key blocks, emails, and phone numbers.

  • Mandatory preview modal on first cross-boundary handoff (or always-on)
  • Shows exact redaction count and sanitized text before copy/inject
  • Never mutates your original local transcript on disk
02 · Offline MCP Handoff

Let local coding Agents pull exact history with zero copy-paste

Brainmi ships a native Rust brainmi-mcp stdio binary. Connect Codex, Claude Code, Cursor, Antigravity, WorkBuddy, or DeepSeek Harness in one confirmed click.

  • Preview exact config path before writing JSON or TOML
  • Automatic timestamped backup + one-click Undo rollback
  • Works 100% offline with millisecond SQLite lookups
03 · On-Demand Local CLI Memory Cards

Distill noisy 80-message threads into crisp structured cards

Invoke your already-installed local Claude Code or Codex CLI on demand to synthesize Goal, Decisions, Constraints, and Open Questions — without entering another API key.

  • Zero extra subscription or Brainmi cloud LLM relay
  • Automatic staleness detection when a conversation grows
  • Compact Markdown ready for instant MCP or web handoff
04 · A → B → C Cross-Agent Task Threads

Link brainstorming, implementation, and review into one lineage

When you hand off from ChatGPT (A) to Claude Code (B) to Codex (C), Brainmi tracks the chain automatically so you can inspect the full reasoning path weeks later.

  • Timeline view connecting local and web conversations
  • Pin, favorite, tag, and add personal notes to any thread
  • Full-text search across every connected source
05 · Read/Write Decoupled 12-Agent Engine

Honest boundaries for every Agent adapter

Some Agents expose structured local transcripts; others only allow clean browser handoff. Brainmi explicitly labels Index+Handoff vs Push-Only so nothing breaks silently.

  • 6 local coding Agents with read-only external snapshot safety
  • 4 cloud web Agents with capture + redacted handoff injection
  • 2 push-only web Agents (Grok & Doubao) with clean one-click handoff

12-Agent Capability Matrix

Verified read/write boundaries shipped in Brainmi v0.2.

AgentLocationCapabilityHandoff ChannelHow Brainmi Integrates
OpenAI CodexLocalIndex + HandoffmcpReads local sessions & pulls context via offline MCP
Claude CodeLocalIndex + HandoffmcpIndexes JSONL transcripts & connects via brainmi-mcp
CursorLocalIndex + HandoffmcpRead-only SQLite snapshot + dual-path safe MCP setup
AntigravityLocalIndex + HandoffmcpDual-source read-only reader + cross-agent MCP handoff
WorkBuddyLocalIndex + HandoffmcpLocal SQLite snapshot reader + stdio MCP integration
DeepSeek HarnessLocalIndex + HandoffmcpLocal transcript indexing + offline MCP context pull
ChatGPT WebCloud WebIndex + Handoffweb_extensionSyncs web conversations & injects redacted local handoffs
Claude WebCloud WebIndex + Handoffweb_extensionCaptures Claude web chats & receives redacted handoffs
Gemini WebCloud WebIndex + Handoffweb_extensionCaptures Gemini threads & feeds local coding Agents
DeepSeek WebCloud WebIndex + Handoffweb_extensionWeb capture + safe redacted handoff from local terminals
Grok WebCloud WebPush-Onlyweb_extensionPush-only redacted handoff via Chrome extension or clipboard
Doubao (豆包)Cloud WebPush-Onlyweb_extensionPush-only redacted handoff without touching external storage