llama.cpp inside the app. On first launch you choose Qwen 3.5 4B, 9B or both: it downloads once, in the background, and runs locally. No Ollama, no LM Studio.
nothing to install
For Markdown notes · free & open source
Second Brain turns your Markdown notes into an interactive 3D neural network: every [[wikilink]] becomes a synapse. A local AI agent searches, reads and edits them, and a built-in MCP server plugs them into the AI tools you already use. Nothing leaves your computer.
How it reads your vault
A Markdown note, sized by how many connections it has.
A [[wikilink]] or Markdown link, resolved by name, path, alias or #heading.
A course or area, from the corso or area frontmatter, or the folder. One colour each.
Notes under MOC/ are maps of content, drawn with a ring around them.
Three views, all in 3D
Switch with 1 2 3, exactly like in the app. Drag the network to turn it around — this is the real thing, rendered live with a demo vault.
Nebula
The cinematic neural network: glowing neurons, depth and atmosphere. Fly through it with WASD.
Click a neuron and the camera flies to it, while the reading panel shows the note with Markdown, LaTeX, callouts, images, links and backlinks. The graph updates live when files change on disk.
Local AI agent
Ask about your vault in plain language. The agent searches, reads and follows links on its own, and every change it proposes waits for your approval. While it works, the neurons it touches light up in 3D.
It answers in the language you write in. [[Citations]] are clickable, and every cited note lights up.
Search, read, neighbours, paths between concepts, missing links. And, with your approval, create, edit, append and link.
Every change is shown as a diff. Nothing touches your files until you say so.
A backup is saved before every change, and Undo change restores the previous version. New notes go to the Trash.
Follows your vault’s AGENTS.md or CLAUDE.md. Never deletes notes, never touches non-Markdown files.
Add a numerical example to the RC Circuit note
I’ll add a worked example under Charging and link it to [[Time Constant]].
llama.cpp inside the app. On first launch you choose Qwen 3.5 4B, 9B or both: it downloads once, in the background, and runs locally. No Ollama, no LM Studio.
nothing to install
Pull a model with tool calling, like qwen3:8b. The app finds it on its own.
localhost:11434
Start LM Studio’s local server and point the agent to it from its settings.
localhost:1234/v1
Built-in MCP server
The tools the agent uses are also an MCP server. Claude Desktop, Cursor, VS Code, LM Studio or any other MCP client can search and read your notes and, if you allow it, edit them. Every change shows up live in the 3D view.
--read-only modeMore connections are on the way.
Semantic search
The agent searches your vault by keywords with BM25. Add a local embedding model such as nomic-embed-text, press Create index, and it searches by meaning too. The index updates incrementally as your vault changes.
And to jump anywhere yourself, ⌘K finds any note by title, course or tag.
Privacy
The app reads your vault straight from disk. Your notes stay files you own.
The agent runs a model on your computer: the built-in one, or Ollama or LM Studio. Once the model is downloaded, the app only talks to localhost.
MIT-licensed. Read every line of it on GitHub, or build it yourself.
Download
Free and open source. The links always point to the latest release on GitHub.
Second-Brain-mac-arm64.dmg
Coming soon
Second-Brain-mac-x64.dmg
Coming soon
Second-Brain-win-x64.exe
Coming soon
The app is not signed with an Apple Developer ID yet, so macOS blocks it the first time. After dragging it into Applications, open it once, then go to System Settings → Privacy & Security and click Open Anyway. Or run:
xattr -cr "/Applications/Second Brain.app"
The installer is not code-signed, so SmartScreen may warn you. Click More info → Run anyway.
On first launch a short setup offers to download the built-in model and a demo vault. Already use Ollama or LM Studio? Pick it in the agent settings, with a model that supports tool calling:
ollama pull qwen3:8b
Good to know: the app is available in English and Italian, chosen in the first-run setup. The AI model (3.4 GB or 6.6 GB) is downloaded after installing, only if you want it.
Prefer to build it? git clone the repo, then npm install and npm run dev (Node.js 20.19+).