# Best second brain GitHub repos: apps, AI vault kits and lists, and what each leaves to you

> The second brain repos people clone from GitHub: apps like SiYuan and Logseq, AI vault kits like claude-obsidian, and what none of them do for a team.

Source: https://baalda.com/blog/best-second-brain-github
Site: Baalda, https://baalda.com
Published: 2026-12-02

**Short answer.** The best second brain repos on GitHub are full apps (SiYuan, Logseq, Khoj), AI vault kits you open in Claude Code or Codex (claude-obsidian, obsidian-mind, LLM Wiki Agent), and curated lists. Apps give you a finished tool. Kits let an agent file your notes, but leave sync, concurrent writes and other people to you.

The best second brain repos on GitHub fall into three groups: full apps you install (SiYuan, Logseq, Khoj), AI vault kits you clone and open in Claude Code or Codex (claude-obsidian, obsidian-mind, LLM Wiki Agent), and curated lists and templates. Pick an app if you want a finished tool, a kit if you want an agent to file your notes, and check what each one leaves for you to do yourself before you clone it.

As of 2 December 2026, GitHub's search lists 2,995 public repositories tagged `second-brain`, and 2,691 of them were created this year. Most of that growth is the middle group: a folder of markdown, a `CLAUDE.md` and a set of agent skills, built on the LLM wiki pattern Andrej Karpathy described (the [Karpathy LLM wiki post](/blog/karpathy-llm-wiki-second-brain) covers where that came from). They are good, and nearly all of them are built for one person on one machine. Baalda, whose own repo is Apache-2.0 on GitHub, is relevant to the part they leave open: what happens when a second person, or a second computer, needs the same vault. That part is further down. First, the repos.

## Which second brain repos on GitHub are worth cloning?

Star counts and licences below are from GitHub's search API on 2 December 2026. Stars measure attention, not quality, so read them as "lots of people tried this", nothing more.

| Repo | What it is | Licence | Stars |
|---|---|---|---|
| siyuan-note/siyuan | Note app with block references and its own storage | AGPL-3.0 | 47,500 |
| logseq/logseq | Outliner app for linked notes and journals | AGPL-3.0 | 45,775 |
| khoj-ai/khoj | AI search and chat over your own documents | AGPL-3.0 | 38,323 |
| AgriciDaniel/claude-obsidian | AI vault kit for Obsidian and Claude Code | MIT | 16,892 |
| reorproject/reor | Desktop notes app with local AI linking and search | AGPL-3.0 | 8,523 |
| breferrari/obsidian-mind | Obsidian vault that gives coding agents memory | MIT | 5,574 |
| eugeniughelbur/obsidian-second-brain | Markdown memory for Claude Code, Codex and other agents | MIT | 5,536 |
| SamurAIGPT/llm-wiki-agent | Agent skill that turns `raw/` sources into a wiki | MIT | 3,745 |
| zk-org/zk | Command line tool for a plain text Zettelkasten | GPL-3.0 | 2,887 |
| ballred/obsidian-claude-pkm | Goals to daily tasks system for Obsidian and Claude Code | MIT | 1,903 |
| KasperZutterman/Second-Brain | Curated list of public second brains and digital gardens | MIT | 1,863 |

One warning about browsing the `second-brain` topic yourself: sorted by stars, the top result on 2 December 2026 was an agent harness, not a notes tool. Tags are self-assigned, so read the README before the star count.

## What does each kind of repo give you?

**Apps** are finished software. SiYuan and Logseq are the two biggest by stars, both AGPL-3.0, both with years of development behind them. Khoj is different: its job is answering questions about documents you already have, not holding notes you write. Reor's README calls it a private and local AI knowledge management app, but its last push to GitHub was on 13 May 2025, which matters if you plan to depend on it. With an app you get an editor, search and sync decisions already made. You also get that app's storage format.

**AI vault kits** are folders, not software. You clone one, open it in Claude Code, Codex or Gemini CLI, and the agent follows the instructions in the kit. LLM Wiki Agent's README is the clearest statement of the idea: drop source documents into `raw/`, tell the agent to ingest them, and it writes and maintains a linked wiki in `wiki/`, with an `index.md` and an append-only `log.md`. claude-obsidian describes itself as 15 skills and 3 agents on the same pattern. obsidian-mind starts each session by reading your goals and recent notes so the agent picks up where you left off. obsidian-claude-pkm is less about knowledge and more about planning: three year goals cascading down to daily notes.

**Lists and templates** are reading material. KasperZutterman's list links to public second brains by name, which is the quickest way to see how other people actually structure one.

## Which one should you pick?

Pick by what you want to stop doing:

- **Stop filing notes by hand:** an AI vault kit. claude-obsidian if you want the most complete one, LLM Wiki Agent if you want the smallest one you can read in ten minutes.
- **Stop losing context between agent sessions:** obsidian-mind or eugeniughelbur's obsidian-second-brain. Both exist so an agent does not start every session from scratch.
- **Stop using a tool you do not own:** SiYuan or Logseq if you want a full app, zk if you live in a terminal.
- **Ask questions of a pile of PDFs:** Khoj.

For one person, any of these plus git for backup is a complete setup. The [guide to syncing Obsidian with GitHub](/blog/sync-obsidian-with-github) covers the git half.

## What do these repos leave for you to do?

Three things, and the kits are honest about them in their own READMEs.

**Sync.** None of the kits sync anything. They are a folder, and you choose iCloud, Syncthing, Obsidian Sync or git to move it between machines. claude-obsidian lists "a cloud sync service" under what it is not.

**Concurrent writers.** claude-obsidian hashes every note before it writes, applies changes as one transaction, and stops with a conflict if you edit a note while the agent is planning. That is careful work. Its README is also clear about the boundary: "The lock coordinates local writers that cooperate with it. Other devices and external editors do not share it." Two laptops syncing the same vault each have their own lock.

**Other people.** obsidian-mind's README notes that its MCP config path is "absolute and machine-specific, so committing it breaks every collaborator and every other machine of yours." Nothing is wrong with that. These kits were written for one person's vault, and there are no permissions in a folder, so a teammate who can open it can open all of it. The [Claude Code second brain for a team](/blog/claude-code-second-brain-for-a-team) post walks through what breaks first when a second person arrives.

## How do you run a second brain kit for a whole team?

Keep the kit's markdown and instructions, and change what sits underneath the folder. That is the job Baalda does.

A Baalda vault is an ordinary folder of `.md` files on each member's disk, so a kit's `CLAUDE.md`, `raw/` and `wiki/` folders work there unchanged. What changes is what happens after the agent writes. Baalda's MCP guide says it plainly: a local agent "edits them right in the vault folder. The app's watcher picks up every change and syncs it to your team." Under the hood the watcher turns each file change into operations on a CRDT document (Yjs), so when an agent rewrites `wiki/index.md` while a teammate is typing in it, both edits land, and the teammate watches the agent's text arrive.

Two details from Baalda's own repo that matter for kits:

- **Dot folders do not sync.** The desktop app skips folders that start with a dot, so a kit's `.claude/` folder of skills and commands stays on the machine that cloned it. Sharing those is a separate feature: Agent Skills, in Vault Settings, where an admin uploads a skill as a `.zip` or imports it from a GitHub skill marketplace, and Baalda installs it into each member's `~/.claude/skills` or `~/.agents/skills`.
- **Permissions apply to agents too.** Folders and notes are shared as Can edit, Can view or No access, per person or group. A teammate's agent working in their copy of the vault only has the files that person was given, and an agent connecting over MCP gets exactly the access of the token's owner.

For an agent that does not run on a member's laptop, the vault is also an MCP server:

```bash
claude mcp add --transport http baalda https://api.baalda.com/api/mcp \
  --header "Authorization: Bearer mcp_…"
```

On your own server the address is your server plus `/api/mcp`. The [MCP setup guide](/docs/mcp-setup) covers Codex and other clients.

## Where does Baalda not help?

- **It is not a kit.** Baalda gives you no folder structure, no ingest workflow and no skills of its own. If you want an agent to build a wiki from your sources, you still want one of the kits above. Baalda is the place that wiki can live with other people in it.
- **For one person, you do not need it.** A kit, Obsidian and git is a complete, free setup for a single writer.
- **It has a smaller community.** On 2 December 2026 the Baalda repo had 402 stars against tens of thousands for SiYuan and Logseq. Fewer plugins, fewer forum answers.
- **Desktop only.** Logseq and SiYuan both list mobile apps in their READMEs. Baalda runs on macOS, Windows and Linux.
- **Your kit's non-markdown files are your problem.** The sync covers notes and attachments. If a kit keeps state in a hidden folder, that state stays on one machine.

If you want the open source case for owning your notes in general, the [open source second brain](/blog/open-source-second-brain) post makes it. If you have already cloned a kit and the question is how two people use it, that is the case Baalda was built for.

## FAQ

### What is the best second brain repo on GitHub?

It depends on what you want to stop doing. For a finished app, SiYuan or Logseq, the two most starred. For an agent that files your notes, claude-obsidian or the smaller LLM Wiki Agent. For memory between coding sessions, obsidian-mind. For questions over your documents, Khoj.

### Can a team share an AI second brain kit cloned from GitHub?

Not on its own. The kits are folders with no sync, no permissions and locks that only cover one machine. Put the folder in a Baalda vault and the markdown syncs live between members, with edits merged by a CRDT and per-folder access applied to agents too.

### Do second brain kits like claude-obsidian work in Baalda?

The markdown parts do, because a Baalda vault is a plain folder of .md files and local agents edit it directly. Hidden folders such as .claude/ are skipped by sync, so skills are shared separately through Baalda's Agent Skills, which install them on every member's machine.

### Is Baalda on GitHub?

Yes. The app and server are open source under Apache-2.0 at github.com/naveedharri/baalda, and the server can be self-hosted with Docker Compose or Railway.
