Second Brain OS
Guides and resources for AI engineers: a course on building agents, five
handbooks that go deep on one layer each, hands-on projects, and the links worth
your time.
Read it on the web: secondbrainos.dev puts
every page, term and tool from this repo on one interactive map.
Why this repo?
AI engineering moves fast, and the useful parts are scattered across
whitepapers, engineering blogs and repos. This collects them into one path you
can follow: theory with sources, a build in every module, and a reading list
where every entry has a reason to be here. Here you will find:
- The agents course: seven modules from a single prompt to a production agent, covering context, loops, gates, harnesses, evals and production
- Five handbooks that go deep on one layer each: knowledge graphs, gates, harnesses, loops and evals
- A hands-on project: a second brain, a knowledge base an agent builds and maintains for you in plain markdown
- A working toolkit: a Claude Code plugin for the course, plus 18 skills, 72 slash commands and 6 subagents for the project
- 114 vetted resources, and what landed this month, checked at the source
- Plain markdown, MIT licensed. No signup, nothing to install to read it
Table of contents
Getting started
- New to building agents: read What an agent is, then the agents course in order. Seven modules, three lessons each.
- One layer of your agent is hurting: open its handbook. Graphs, gates, harnesses, loops or evals, and every one ends in a build.
- Want a project to practise on: build the second brain, a knowledge base an agent maintains for you. The quickstart is below.
- Staying current: New this month lists what landed recently, each item checked at its source.
Second brain quickstart
# copy the starter vault, skills, commands, agents and scripts
git clone https://github.com/undefined-ui/second-brain-os.git
cp -r second-brain-os/vault-template ~/brain
mkdir -p ~/brain/.claude
cp -r second-brain-os/skills ~/brain/.claude/skills
cp -r second-brain-os/commands ~/brain/.claude/commands
cp -r second-brain-os/agents ~/brain/.claude/agents
cp -r second-brain-os/scripts ~/brain/scripts
# the folder READMEs are for reading on GitHub, not for the agent
rm ~/brain/.claude/*/README.md ~/brain/scripts/README.md
cd ~/brain && claude
Then follow the nine Setup pages in order. The
scripts/ copy is what lets /metrics, /health and /graph-export run from
inside the vault. On Windows, use python where the guide says python3.
New this month
What landed in September and October 2026 that changes how you would build any
of this. Checked on 1 November 2026, stars from the GitHub API that day. Notes
on each are in resources/.
Second brain and memory
- Basic Memory 1.0 - A local MCP server whose graph is plain markdown with wikilinks, and it reads and writes Obsidian vaults · 4.4K, AGPL-3.0
- ai-memory 3.0 - A git-backed wiki of
.md files fed by hooks from 20+ agents, now installable as a Claude Code plugin · 14.9K, MIT
- agent-memory - One markdown file per memory under a
MEMORY.md index, with a search index you can delete and rebuild · 4.3K, MIT
- Hindsight 1.0 - The database-backed alternative, with knowledge pages it can write out as markdown · 57.7K, MIT
- LLM Wikis From First Principles - A hands-on workshop: three exercises, from a basic
raw/ to wiki/ setup to a wiki that learns from queries
- EvalMem - Splits memory failures into not stored, not found and not used; a wiki layer on top gained 2.5 points