Skip to content
Second Brain Link

All downloads

How it works

Export. Build. Ask.

Your exports go in. A private brain comes out — plain Markdown your AI can read, built on your machine with zero network calls. This page is the whole mechanism, shown on the two demo brains.

27 sourceszero network calls in the buildmatched by nameplain MarkdownMIT

Export · Build · Ask

Three steps. No terminal.

Every AI brain ships empty. This is the step that fills it — from data you already hold, on a machine you already control.

  1. 01 · Export

    Ask each platform for your data

    Every platform that matters must hand you a machine-readable copy, free — GDPR Article 20, the EU Digital Markets Act, CCPA. How, for each of the 27

  2. 02 · Build

    Drop the zips in and press Build

    Studio runs the brain builder on your machine: detect, match, build. Zero network calls; nothing uploaded. Or ask Claude Code or Codex through the Agent Skill.

  3. 03 · Ask

    Then ask — or give it a goal

    Explore the graph, ask a plain question and get an answer with receipts, or hand an agent a job.

what the platforms give you
data/
├── linkedin/
│   ├── Connections.csv
│   ├── Positions.csv
│   └── messages.csv         # never parsed
├── facebook-export.zip
├── instagram-export.zip
└── takeout.zip

✕ four formats, zero links, the same person three times
what your AI gets — john-brain/, as it ships
_memory/
_notes/
00-me/
10-people/
15-organizations/
20-reputation/
30-voice/
35-shopping/
40-career/
45-jobs/
47-travel/
50-mirror/
60-learning/
80-search/
85-places/
90-synthesis/
95-goals/
96-agents/
_HEALTH.md
_SUMMARY.md
CLAUDE.md
Dashboard.md
graph.json
Home.md
✓ one graph — typed, linked, one note per person

The build

Every platform kept a piece. Here they meet.

The transform is deterministic, not generative: the same archive builds the same brain every time, and you can read the code that decides. AI is used only on the residue — files no mapping recognises.

Second Brain Studio — Ontology — Architecture on the John Carter demo brain (dark)
Ontology › Architecture the exports at the base, the kinds of notes in the middle, answers and agents on top
  1. DetectEvery file it recognises is catalogued on your machine — CSV, JSON, Takeout. When a format drifts it writes its own mapping; nothing it can’t place is dropped.
  2. MatchThe same person on three platforms becomes one note — by name, deliberately strictly.
  3. BuildEvery entity becomes a typed Markdown note with resolved links, rooted on 00-me or 00-org.
  4. OpenIn Studio or Obsidian — or point Claude Code at it and give it a goal.
john-brain/_BUILD_REPORT.md — the demo brain's own report
# Build report

Built: 2026-10-03

Subject: person · Emitters: obsidian

Sources: amazon, facebook, github, google, instagram, linkedin, reddit, spotify, strava, tiktok, whatsapp, x

## Log
- [amazon] purchase: 64 from Retail.OrderHistory.1.csv
- [amazon] purchase: 18 from Digital Items.csv
- [amazon] purchase: 2 from Subscriptions.csv

The ontology

What your brain is made of.

An ontology is just the list of kinds of things in your brain and how they connect: people, companies, posts, places, purchases — each a type of note — and labelled links like works at. Studio derives it from your notes, deterministically; no AI decides a type.

  • 1Me
  • 438Person
  • 56Company
  • 134Post
  • 1Event
  • 138Place
  • 84Purchase
  • 2Market view
  • 1Career

Resolved means found in two or more exports and matched by name — so the friend who is also a connection and a follower is one note. From the John demo brain: 329 of 438 people.

Second Brain Studio — Ontology — Data model on the John Carter demo brain (light)
Ontology › Data model the same counts, in Studio

Identity

Split brain → one you.

LinkedIn: 437 people · 34 posts · GitHub: 142 people · 10 repos · Facebook: 138 friends · 40 check-ins · Instagram: 127 followers · 21 posts. Built into one brain they become one you: 438 people, 329 of them Resolved across two or more exports, matched by name.

Facebook“Hedy Toth” → 10-people/Hedy Toth.md
Instagram“Hedy Toth” → 10-people/Hedy Toth.md
LinkedIn“Hedy Toth” → 10-people/Hedy Toth.md
Strava“Hedy Toth” → 10-people/Hedy Toth.md

One person, several exports, no email or phone stored.

In the demo, Hedy Toth appears in 4 exports — Facebook, Instagram, LinkedIn, Strava. Every other tool keeps those as 4 separate records. Here they are one note — built on your machine, without an email address or a phone number ever reaching disk.

name-onlyMatching is on the normalised name only, and precision-biased on purpose: variant spellings and initials stay separate rather than being guessed together, and no AI decides a merge. The flip side: two different people with one name share a note. Between two brains, conflicting profile links block a merge. Better matching is roadmap, not shipped.

10-people/Hedy Toth.md — frontmatter
---
type: person
title: Hedy Toth
sources:
  - facebook
  - instagram
  - linkedin
  - strava
status: cold
company: "[[Acme Robotics]]"
role: facebook friend
strength: 2
last_contact: 2025-09-19
connected_on: 2024-11-21
---

Agent-ready

Not notes. Structured data your agent can reason over.

Typed frontmatter, resolved wikilinks, real Obsidian Properties. An agent doesn’t have to guess what a note means — and when it answers, it cites the notes it stood on.

Real Obsidian Properties

Typed frontmatter on every note — person, organization, place, deal — with ISO dates and enums, not free text. A note merged from several exports lists them in sources.

Wikilinks are edges

Every [[link]] resolves to a real note, and graph.json carries the typed, weighted edges — so an agent walks the graph the way you click through it.

A layered brain

00-me → 10-people → 40-career → 85-places → 90-synthesis; a company brain gets company-named layers (40-pipeline, 65-documents). Stable paths a script can rely on.

An in-brain CLAUDE.md

Each brain ships with a guide for Claude Code (an AGENTS.md for Codex): the read order, the privacy rules, how to keep its memory.

Receipts, not vibes

Same model. One of them has a brain.

Ask a plain question. A bare model has nothing to count. Point the same model at the brain and the answer comes with the chart, the folder it counted and the exports behind it.

A model on its own

How many of the people I know does more than one platform know?

I don’t have access to your accounts, so I can’t tell who appears on more than one of them. If you paste your connection and follower lists, I can compare them for you.

The same model, over John’s brain
Second Brain Studio — a chart answer with its Receipts footer on the John Carter demo brain (light)

Counted, never estimated

A chart is drawn only from numbers counted in the brain. A chart that cannot say what it was counted from is not drawn.

Every bar has a receipt

The Receipts row names the folder it counted and the exports behind it; Show the count opens the numbers.

Ask your own

Open Studio in your browser and ask the demo brains, or ask Claude Code or Codex over your own.

Runsdeveloper preview

From one step to the line it moves.

Every agent runs the same daily: a goal you set, a dated note opened first, discovery, screening, the shortlist, actions behind your gates, the log — and a weekly review. When it works, Studio already follows its session on your machine. Runtime draws what it sees — nothing is sent anywhere new.

  1. The dated noteThe daily opens reports/<Daily> <date>.md in the agent’s own layer before anything else, and keeps it current — that note is the run’s home, beside the chat and on its line.
  2. StepsEach thing the agent does — a search, a page, a note read, a file written — is written down as a plain sentence the moment it happens, grouped by the daily’s phases.
  3. HelpersWhen it sends helpers off to research in parallel, each one gets its own steps, beside the worker that sent it.
  4. The ledger → pipeline.jsonOne record per item, written by the agent’s own scripts; from it, one file in its folder of your brain — its funnels, their stages, the items in each — and the dashboard and KPI note. Counted, never typed.
  5. LinesRuntime draws that file as the agent’s production line — from its contract alone before the first run — and stands the worker on the item it is working on, tied as certain, pointed or likely, by the evidence.
  6. The weekly reviewFrom the same ledger: what converted, where the line leaks, which sources produced — and proposals with their rows, asked in your Inbox unless you set them to apply.

this computerThe past is what your chats kept, not a full audit log, and a screenshot lives only as long as the session. The dailies are a developer preview and run while the computer is awake.

Second Brain Studio — Runtime — Worker: one run, step by step, with its story on the John Carter demo brain (light)
Runtime › Worker one run on John’s demo brain: its stations, its two helpers, the page it is reading

Brain recall

The brain fires before the model speaks.

Brain recall starts from your question and follows the links in your brain to the notes that matter — then shows you which ones. It runs on your machine, makes no network calls, and gives the same answer every time.

  1. 01 · SeedYour words find notesMatches on titles and aliases count most, words in a note’s body less. Nothing hidden, nothing inferred.
  2. 02 · SpreadThe signal follows your linksAlong the typed, weighted links the builder made — works_at, member_of, attended — so a note two hops away still surfaces. Computed as Personalized PageRank.
  3. 03 · PackThe strongest notes become the contextThe top notes and the links between them, as plain text you could open and read.
  4. 04 · AnswerThe model answers from the packIt must answer from those notes and cite the ones it used.
the real ranking, on John's demo brain
$ retrieval.py john-brain --top 8 \
    "who could introduce me to an investor?"

0.1895  fundraising                   (goal)
0.1822  Find warm paths to investors  (routine)
0.1170  Priya Nair                    (person)
0.1170  Northwind Capital             (company)
0.0528  Job pipeline                  (dashboard)
0.0406  Home                          (moc)
0.0149  Kiln Ceramics                 (company)
0.0145  Tidewater Marine              (company)
Second Brain Studio — Graph view (web layout) during Brain recall on the John Carter demo brain (dark)
Graph the notes Brain recall read, lit

An honest animation

When Studio lights the graph, every pulse comes from the real run: an edge lights only if it truly connects two notes.

What it is not

No embeddings, no vector store, no model trained on your data. It is graph retrieval over links you can open and read.

The same code everywhere

Studio, the browser, the sbl command and retrieval.py rank a brain identically, so an answer is reproducible.

Next month

An export is a snapshot. Update it in place.

Download a newer one and press Update (or run the build with --refresh): the brain is updated, not rebuilt.

Stable IDs
_GENERATED.json is the manifest: a person or a place keeps its file and its backlinks across updates.
Your edits win
A note you changed is kept; the fresh version lands beside it as <name>.new.md.
Your space is untouched
_notes/ and the agents’ layers keep their own manifests and are never overwritten.
An honest report
_UPDATE_REPORT.md lists added, updated, pruned and kept-because-edited. Running it twice changes nothing.

roadmapHosted, scheduled sync — the always-fresh version — is on the roadmap. The local Update shipped.

Second Brain Studio — Sources — Update or Rebuild on the John Carter demo brain (light)
Sources Update keeps your notes; Rebuild sets them aside and puts them back

Proof, not polish

The brain shows the gap instead of filling it in.

Every build ends with a _HEALTH.md: orphan notes, unresolved links, snapshot age, open conflicts. This is the one that ships with the company demo — unflattering on purpose.

  • It counts what is missing — orphans and stale sources are listed by name, not summarised away.
  • Absence beats invention — an account with no people attached says known_contacts: 0.
  • Why we show ours — a demo that never shows its seams is hiding them.
acme-brain/_HEALTH.md — as it ships
# Brain health

Nodes: 704 · edges: 1417 · cross-source edges: 74

## Snapshot freshness (per source)

Exports are snapshots — sharp on history, blind to this week. The latest record date each source actually carries:

(no dated records found)

## Links

The supply

The law already pried your data loose.

Every platform that matters must hand you a machine-readable copy of your own data, on request, for free. The hard part was never getting it out — it is that what comes back is unusable, so it gets downloaded once and never opened.

GDPR Art. 20 · EU

Required by law

A structured, commonly used, machine-readable export. Not a favour or an API deal that can be revoked — an obligation, enforced with nine-figure fines.

DMA Art. 6(9)

Widening on a schedule we don’t set

The largest platforms must move to continuous, real-time portability. The pipe this depends on is being widened by regulators.

CCPA · your request

Consent is built in

It is your export, requested by you, processed on your machine. No scraping, no terms to break, no access anyone can switch off.

Custody, not promises. Gathering it here doesn’t create the exposure — it ends it. The build makes no network calls, so the question stops being “where does the vendor say this goes?” and becomes “which machine is it on?” The privacy model

Integrations

Rent the model. Own the memory.

A brain is plain Markdown on your disk, so every door is open: browse it in Obsidian, hand it to Claude Code or Codex, chat over it with your own model, write it out for GBrain. Nothing here locks you in — that is the point.

Obsidian · the default home

Open it in Obsidian. It just works.

Typed frontmatter that Obsidian reads as native Properties, every wikilink resolved, a Home note as the map. Dataview and Bases read it as-is; no community plugin is needed. Plugins like Obsidian Copilot or Claudian work on it unchanged, because it is just Markdown.

The Agent Skill · Claude Code & Codex

The brain builder itself, as a skill.

One open-source engine, packaged for Claude Code and OpenAI Codex (the Agent Skills open standard). Install it once and your AI knows how to build, update and use a brain — locally, with zero network calls. It also runs as a plain command line.

Your model · your key · your call

Any model you already pay for. Or none.

Studio’s chat and the Avatar answer with the AI you choose. Keys stay on your machine; calls go straight to the provider; how a call is billed is up to how you signed in.

On this computer
  • Claude Code
  • Codex
  • Ollama
  • LM Studio
  • Any OpenAI-compatible server
With your own key
  • Anthropic
  • OpenAI
  • Google Gemini
  • Google Vertex AI
  • Azure AI Foundry
  • xAI
  • DeepSeek
  • Mistral
  • Groq
  • OpenRouter

The agents run through Claude Code; on Codex they are a narrower, flattened skill with no browser tooling. The hosted browser Studio explores the demo brains only.

Second Brain Studio — AI settings — the providers on the John Carter demo brain (light)
Settings › AI pick the provider and the model; the local ones need no key
GBrain

Fill a GBrain from the archives you own.

GBrain is a brain layer — search, synthesis, team serving. Second Brain Link can write a company brain in the open GBrain repository format (--emit gbrain), so a team starts it full. Not affiliated with the GBrain project; the emitter is built and not yet validated against a running GBrain.

MCP · developer preview

Hand the brain to any MCP client.

A stdio MCP server ships with the engine — no open port, nothing listening on the network. Point Claude Desktop, an IDE or your own agent at it: sbl_ask, sbl_query, sbl_inbox, sbl_routines, sbl_sources, sbl_build — with the same ranking Studio uses.

Do I need Obsidian? No. Obsidian is the nicest way to browse the files, Studio is ours, and Claude Code or Codex read them directly. Any Markdown editor works.

Can I add my own integration? Yes — it is MIT. A new source is usually a JSON mapping, an output is a small Python module beside the Obsidian and GBrain ones, and an agent is a plugin built for Claude Code and Codex from one source. The repository

Start

Your data already exists. It’s time it started working for you.

Free, local and open source. 27 sources in; one brain on your machine out.

Download for MacApple silicon (M1–M4)

Second Brain Studio · Mac (Apple silicon and Intel), Windows and Linux · free · MIT

Just looking? Open Studio in your browser — two demo brains, nothing to install