For you to read. For your AI to use.

Knows the backstory.
Quotes the source.

Keep meeting, writing, listening to podcasts, and chatting with AI. Second Brain compiles both your experiences and external inputs into one wiki: switch cleanly across four lenses (All, Mine, Learned, By person), with every sentence footnoted to verbatim words — ready for Claude Code, Codex, and your Personal Agent over MCP.

See the benchmark GitHub

Works with Claude Code, Codex, Antigravity — plus Personal Agents (Claude Duet, Grok Bot, Muse, ChatGPT) over remote MCP

Memory Architecture

Currently uses a two-layer setup: object wiki pages + L1 verbatim lookup, read-only MCP by default with remote cloud agent support. Still undecided on whether to pull team shared vaults up to Q3.

Two-layer design

After switching to two layers, multi-hop accuracy rose from 71% to 89% while injecting only 1,800 tokens on average⁠⁠, and drilling into raw sources for exact names or numbers keeps P95 latency around 1.2s⁠⁠.

Team sharing

Lin Mo argues against multi-user collaboration before the single-user loop is airtight, as it would only amplify noise⁠⁠. Team shared vault stays on hold [To verify].

Evolution

  1. Initial launch: stuffed full chat logs straight into long context⁠
  2. Switched to chunked vector RAG, cutting per-query cost by 68%⁠
  3. Moved to wiki pages + verbatim L1 lookup; multi-hop hit 89%⁠

Example · Fictional project Hover a footnote to see the line it came from. Tap a footnote to see the line it came from.

  • 88.9

    on LoCoMo, a public long-term-memory benchmark. Handing the model the entire record scores 89.9: a statistical tie⁠

  • 1,724

    source footnotes in the author’s own vault, used every day. Each one opens the original words⁠

  • 0 / 32

    made-up answers across 4 questions the material can’t answer, each asked 8 times⁠

01 Ask it

Every answer comes with its sources.

Your AI reads the wiki over MCP. If a detail never made it onto a page, it goes back to the originals and searches for the exact wording. If it isn’t in your material at all, it says so. The example below is fictional. Try another question.

Claude Code · example second-brain connected · read-only

You How many times did the memory architecture change, and why?

  1. brain_search query="memory architecture" 3 hits: Kestrel · Memory Architecture (Evolution, Two-layer design), Kestrel (Key decisions)
  2. brain_read "Kestrel · Memory Architecture" section="Evolution" 3 dated entries, each footnoted to raw quotes

Twice since launch:

  • 2026-04-10 started by stuffing full logs into long context⁠⁠;
  • 2026-06-18 moved to chunked vector RAG, cutting per-query cost by 68%⁠⁠;
  • 2026-09-05 switched to wiki pages + verbatim L1 lookup, lifting multi-hop accuracy to 89%⁠⁠.

Whether to pull team sharing into Q3 is still open.

Claude Code · example second-brain connected · read-only

You Where do I stand on team shared vaults?

  1. brain_search query="team sharing" origin="L5" 2 hits — both in your own words
  2. brain_search query="team sharing" 1 other view found: Shen Che

From your own words alone, two points:

  • Hold off on multi-user collaboration until the single-user loop is solid⁠⁠;
  • Open remote MCP for personal cloud agents for a month before revisiting team demand⁠⁠.

Shen Che favors pulling team sharing into Q3⁠⁠. That is Shen Che's view, not yours.

Claude Code · example second-brain connected · read-only

You Who proposed switching to the two-layer setup in the review?

  1. brain_search query="two layers proposed" Kestrel · Memory Architecture records the decision, not who suggested it
  2. brain_search query="two layers" origin="L1" 1 raw hit: 2026-09-05 Architecture Review Transcript line 138, with surrounding lines

Shen Che proposed it in the 2026-09-05 architecture review⁠⁠. The wiki records the decision; the proposer is on raw line 138.

Claude Code · example second-brain connected · read-only

You What is competitor Nebula's retrieval latency?

  1. brain_search query="Nebula latency" 0 hits
  2. brain_search query="Nebula" origin="L1" 0 raw hits

Nebula's latency isn't in your sources, so I don't know.

02 Life of a source

Example · Fictional project

The writer, the checker, and the editor are three different roles

Run organization right inside the app with a local engine, or hand it to your scheduled agent. It can only propose; code rejects misquotes; only you can adopt.

  1. 01 Sources

    Work as usual

    Your own experiences (meetings, notes, AI chats) and external inputs (podcasts, articles, books) sit in read-only source folders on your Mac. Raw files are never edited; from AI chats, only your own words are kept.

    A folder on your Mac Read-only
    • arch-review-transcript.md 212 lines NEW
    • user-interviews-summary.md 48 lines NEW
    • multi-device-sync-notes.md 163 lines NEW
    • Chat with AI · 09-16 Your words only
    1. 139 Lin Mo you Up 18 points on multi-hop and cuts token spend in half.
    2. 140 Shen Che What about latency when falling back to raw files?
    3. 141 Eval Team Drilling down into raw sources for exact details stays around 1.2s at P95.
    4. 142 Lin Mo you After two weeks of stress tests, two-layer hit 89% on multi-hop at 1,800 tokens average — let's ship it.

    File fingerprints detect what is new. Zero model calls at this step.

  2. 02 Intake 22:00

    The agent reads the whole file and drafts one section

    Triggered via the built-in local engine or a nightly schedule, the agent reads new sources in full, drafts updates or proposes new objects and maps, and cites exact line numbers. Small talk is skipped.

    Intake · 22:00 Agent drafting
    1. Found 3 new files; starting with meetings where you spoke
    2. Read arch-review-transcript.md (212 lines)
    3. Drafting Kestrel · Memory Architecture › Two-layer design

    Proposed edits

    • Multi-hop accuracy rose from 71% to 89% at 1,800 tokens average ← Line 142
    • Drilling down into raw sources stays around 1.2s at P95 ← Line 141
    • Evolution +1: 2026-09-05 Moved to wiki pages + verbatim L1 lookup ← Line 142

    Skipped: first 40 lines were audio checks and small talk

  3. 03 Code check

    One wrong word in a quote, and it bounces

    Every quote must match the source verbatim. Your own views must cite your own words; guest claims from podcasts or articles stay attributed to them, with relayed quotes separated from direct speech. Failing drafts bounce back.

    Programmatic check
    • Other sections on the page untouched
    • Your own view cites your own words
    • No relative dates like 'yesterday' or 'next week'
    • No passwords or API keys
    • Quoted text matches raw line verbatim

    Bounced: quote #2 differs from line 141 by one word

    Quoted
    Drilling down into raw sources for exact details stays under 1.2s at P95.
    Source
    Drilling down into raw sources for exact details stays around 1.2s at P95.

    Agent fixes and resubmits Passed → Review queue

  4. 04 Review

    You only judge two things

    Is it accurate, and is it worth keeping? New objects, map updates, and page edits land in one calm queue: adopt, tweak a word, park, or reject with a reason so the agent learns your bar.

    Review · Kestrel · 2 edits

    Kestrel · Eval Suite › Failure analysis

    Multi-hop accuracy dropped because users write short prompts.

    Check strength Source says 'probably', draft states it as fact.

    user-interviews-summary.md line 31 · Shen Che Chunking probably drops cross-meeting context, which makes multi-hop miss.

    Tweak Shen Che suspects cross-meeting misses stem from chunking dropping context.

    You check Accurate?Worth keeping?

  5. 05 Wiki

    The page updates; every prior version stays

    Footnotes renumber cleanly, Evolution logs the shift, and the Today view summarizes recent changes. Every revision is preserved for diff and restore. If a raw file moves or edits later, links stay traceable.

    Kestrel · Memory Architecture v3 → v4 · Every version kept

    Memory Architecture

    Two-layer design

    After switching to two layers, multi-hop accuracy rose from 71% to 89% while injecting only 1,800 tokens on average⁠⁠, and drilling into raw sources for exact names or numbers keeps P95 latency around 1.2s⁠⁠.

    Evolution
    1. Initial launch: stuffed full chat logs straight into long context⁠
    2. Switched to chunked vector RAG, cutting per-query cost by 68%⁠
    3. Moved to wiki pages + verbatim L1 lookup; multi-hop hit 89%⁠ NEW
  6. 06 For every AI

    Coding agents and your Personal Agent connect over MCP

    Read-only by default, with per-client opt-in to propose and 3-tier visibility scopes (All / Learned only / No self views) — if any footnote in a paragraph is out of scope, the whole paragraph is withheld. Works for local tools and Personal Agents (Claude Duet, Grok Bot, Muse, ChatGPT).

    # Local and cloud agents read your Second Brain via standard MCP
    brain_list_objectsList all objects
    brain_search "memory architecture"Search wiki sections
    brain_search "team sharing" origin="L5"Only your own words
    brain_search "two layers" origin="L1"Exact raw line with context
    brain_read "Kestrel · Memory Architecture"Full page with verbatim footnotes
    brain_daily_briefCalled daily by your Personal Agent for changes & pending reviews
    

03 Source and page

Example · Fictional project

From a messy transcript to a page you can read

Drag the divider. Every footnote is tied to one line in the source, and a program checks the quote word for word.

Source arch-review-transcript.md · 212 lines

  1. 003 Shen Che Hey, can you see my shared screen?
  2. 004 Lin Mo you Yep, slightly laggy on your end
  3. 005 Shen Che Hang on, switching headphones... okay
  4. 136 Shen Che So, are the two-week stress test numbers in?
  5. 137 Eval Team Pure vector chunks hit 71% multi-hop; two-layer reached 89%.
  6. 138 Shen Che I'd switch straight to two layers: wiki pages for context, raw files for exact details.
  7. 139 Lin Mo you Up 18 points on multi-hop and cuts token spend in half.
  8. 140 Shen Che What about latency when falling back to raw files?
  9. 141 Eval Team Drilling down into raw sources for exact details stays around 1.2s at P95.
  10. 142 Lin Mo you After two weeks of stress tests, two-layer hit 89% on multi-hop at 1,800 tokens average — let's ship it.
  11. 143 Shen Che Should we pull team sharing into Q3 as well?
  12. 144 Lin Mo you Hold off on team sharing — adding multi-user before the single-user loop is solid just amplifies noise.
  13. 145 Shen Che Sounds good, I'll merge the two-layer flag by Friday.

Page Kestrel · Memory Architecture

Two-layer design

Multi-hop accuracy rose from 71% to 89% at 1,800 tokens average⁠⁠, while drilling into raw sources keeps P95 latency around 1.2s⁠⁠.

Team sharing

Lin Mo argues against multi-user collaboration before the single-user loop is solid⁠⁠. Team shared vault stays on hold [To verify].

Evolution

2026-09-05 — Moved to wiki pages + verbatim L1 lookup⁠⁠.

Source Chat with AI · 2026-09-16

  1. 007 Lin Mo you Group last week's interview retrieval pain points by frequency
  2. 008 AI Sure. The 12 user interviews fall into three buckets... AI replies aren’t material
  3. 009 Lin Mo you Open remote MCP for personal cloud agents first, run it a month, then revisit team demand.
  4. 010 AI Got it. Here is how scoped keys and read-only defaults can work... AI replies aren’t material
  5. 011 Lin Mo you The ngrok token is sk-••••••••, go ahead and test it Contains a key: dropped entirely
  6. 012 AI On it. AI replies aren’t material
  7. 013 Lin Mo you Once personal retention holds steady after a month, we kick off team sharing.

Page Kestrel · Cloud Access

Rollout

Lin Mo plans to open remote MCP for personal cloud agents for a month before revisiting team demand⁠⁠, kicking off team sharing once personal retention holds steady⁠⁠.

Source v1-launch-review.md · 2026-04-10

  1. 015 3. Memory layer
  2. 016 Shen Che Should vector search ship in v1?
  3. 017 Eval Team Early volume is small enough to fit straight in context.
  4. 018 Lin Mo you Don't build retrieval for v1; stuff full history into the context window to close the loop first.
  5. 019 Shen Che Let's wait for the first billing cycle before deciding on vector search.
  6. 020 4. Launch date
  7. 021 Lin Mo you Ship beta on April 10, no slips.

Page Kestrel · Memory Architecture

Launch decision

Shipped v1 by stuffing full history into long context⁠⁠, deferring vector search until the first billing cycle⁠⁠.

04 Connect

Your Personal Agent already knows the full context

Run organization with the built-in local engine or schedules; connect local coding tools and cloud Personal Agents (Claude Duet, Grok Bot, Muse, ChatGPT) with revocable keys and 3-tier scopes (All / Learned only / No self views). Let your Personal Agent deliver your daily brief.

Antigravity

Local engine / Schedule

Running

  • 22:00 Intake
  • 23:30 Maintain
  1. brain-agent run start --harness antigravity --task intake
  2. brain-agent status → 3 new sources
  3. brain-agent read --file arch-review-transcript.md → 212 lines
  4. brain-agent propose --input memory-arch.json
  5. ✕ Bounced: quote #2 differs from line 141 by one word
  6. brain-agent propose --input memory-arch.json
  7. ✓ Queued for review: Kestrel · Memory Architecture › Two-layer design
  8. brain-agent run finish → 3 files · 5 edits · 1 skipped
  9. brain-agent run start --harness antigravity --task maintain
  10. brain-agent todo → 4 items: 3 shifted sources, 1 broken link
  11. brain-agent checked --item 1 → Quote moved to line 151, footnote updated
  12. brain-agent run finish → 4 checked · 2 queued

Claude Code

Local MCP · Can propose

Connected

  1. How many times did the memory architecture change, and why?
  2. brain_search query="memory architecture" → 3 hits
  3. brain_read "Kestrel · Memory Architecture" section="Evolution" → 3 entries, footnoted
  4. Twice: vector RAG to cut cost, then two-layer wiki + L1 lookup to hit 89% multi-hop. Team sharing is still open.
  5. Who proposed the two-layer setup in the review?
  6. brain_search query="two layers" origin="L1" → 1 raw hit: line 138
  7. Shen Che proposed it on raw line 138.

Personal Agent

Claude Duet / Grok Bot / Muse · Remote MCP

Online

  1. Daily 09:00 · Send my Second Brain brief
  2. brain_daily_brief → 2 Evolution updates · 3 pending reviews
  3. Kestrel · Memory Architecture moved to two layers yesterday, and 3 edits await your review.
  4. Before drafting the Q3 roadmap, check my stance on team sharing
  5. brain_search query="team sharing" origin="L5" → 2 hits, own words
  6. You want the single-user loop solid first, so leave multi-user out of Q3.

Works with local MCP (Claude Code, Codex, Antigravity) and cloud Personal Agents (Claude Duet, Grok Bot, Muse, ChatGPT, and more). The logs are examples, with arguments trimmed. The command and tool names are real.

05 Benchmark · LoCoMo

On par with giving the model everything

LoCoMo is the public benchmark that long-term memory systems report: 10 long conversations between two people. We use categories 1–4, 1,540 questions. We started from an empty vault, fed the conversations in night by night, compiled them with the same Handbook we use every day, and then had an AI answer the questions.

88.9±1.6

Second Brain

Reads the wiki; goes back to sources when needed

A tie

89.9±1.5

The entire record, handed to the model

The reference baseline. Only possible when the record is short

  • Same answering model: Haiku 5.5
  • Same answering method, same judge
  • 1,540 questions, 1 run

Question by question, the difference is not significant⁠⁠. Handing a model the entire record only works when the record is short. A real vault is far longer and won’t fit in one prompt.

Against other memory systems

Every team uses a different answering model, judge, and prompt, so raw scores can’t be compared directly. Here each system’s score is divided by the full-context baseline from the same paper, with the same answering method. 1.00 means as accurate as handing the model the entire record⁠⁠.

LoCoMo score relative to the full-context baseline: Second Brain 0.99 (2026 · measured here); Mem0 (graph) 0.94 (2025 · self-reported); Mem0 0.92 (2025 · self-reported); Zep 0.91 (2025 · measured by Mem0); Best RAG 0.84 (2025 · measured by Mem0); LangMem 0.80 (2025 · measured by Mem0); ChatGPT memory 0.73 (2025 · measured by Mem0); A-Mem 0.66 (2025 · measured by Mem0)

By the Mem0 paper’s measurements, every 2025 system scored below the full-context baseline in the same paper. Second Brain keeps the originals and searches them for the exact wording when a detail matters. Zep disputes Mem0’s method and reports 75.1 from its own rerun. In 2026 several systems self-reported 89.6 to 94.7 with stronger models, but without a full-context baseline in the same paper they can’t be placed on this chart.

  • 57.7 → 81.9

    For an AI that can reach Second Brain only over MCP and can’t read files. Version 0.5.1 lets it search the sources for the exact wording: 425 answers gained, 52 lost⁠

  • 92.0

    Second Brain’s score after removing the 99 LoCoMo questions whose answer key is itself wrong. Full context: 93.5⁠

  • $1.60

    roughly what it costs to compile one long conversation ($15.71 for all ten). Run in parallel, all ten finish in about 11 minutes⁠

Full method, every number, and the limits

06 What’s different

Not a list of memories. A wiki you can read.

  • Sources stay untouched

    Sources are read-only: never edited, never deleted. If one is later changed or moved, the footnote still resolves and is flagged “source changed.”

  • Every sentence has a source

    Each sentence carries a footnote: date, document, line, and the original words. A program checks the quote word for word. If it doesn’t match, it doesn’t get in.

  • You make the call

    The agent can only propose, and a program checks. Adopting is yours alone.

  • It knows who said what

    Separates your own experiences from external inputs like podcasts and articles. Claims about your views must cite your own words, and relayed quotes stay distinct from direct quotes.

  • It remembers how things changed

    Changed minds go into Evolution; renamed concepts update the map; the Today view and your Personal Agent daily brief summarize recent shifts.

  • Your data lives on your computer

    Everything lives in a plain folder on your Mac. Messages with secrets are dropped. Agent keys support 3-tier scope isolation (All / Learned only / No self views) and can be revoked anytime.

How it differs from typical AI memory

How it differs from typical AI memory
Extraction-style AI memory (ChatGPT memory, Mem0, and the like) Second Brain
What it stores Short facts extracted from conversations Pages compiled per subject, with the originals kept
Sources Usually no original words A footnote on every sentence, checked word for word
When a position changes Usually only the latest is kept Evolution records how it changed; every version is kept
Who decides what’s remembered The model The agent can only propose. It counts once you adopt it
Reading it A list of memories A wiki you can read from start to finish
Who can use it Mostly tied to one product Any AI that speaks MCP
Where the data lives Mostly on the vendor’s servers A folder on your computer
LoCoMo (vs. full context) 0.66–0.94 (the 2025 systems)⁠ 0.99, a tie with full context⁠

Ask your second brain

Or pick an example question

See the benchmark