How do you build a company second brain with Obsidian and AI?

You need three things: an Obsidian vault (a folder of plain text notes), a folder of raw source documents, and an AI agent with a short instruction file telling it how to maintain the wiki. You add sources one at a time, the AI updates the wiki, and you review its work as you go.

This guide follows the pattern Andrej Karpathy published in September 2026 and the step-by-step video from Teacher's Tech. No coding experience is needed, though comfort with files and folders helps.

What you need

  • Obsidian - free for all uses, including commercial, since February 2025. Download from obsidian.md. Your notes stay as plain markdown files on your own machine.

  • An AI agent that can edit files - the video uses Claude Code, Anthropic's agent that runs in a terminal or IDE. Other agents that read and write local files work too. The AI side is the part that costs money (a subscription or API usage).

  • Optional but useful: the Obsidian Web Clipper browser extension, which saves web articles as markdown straight into your vault.

The three layers

Karpathy's pattern separates the system into three layers, and keeping them separate is what makes it work:

1. Raw sources - the original documents: articles, papers, meeting notes, transcripts. The AI reads these but never changes them. They are your source of truth.

2. The wiki - markdown pages the AI writes and maintains: summaries, pages per topic, per customer, per project, all cross-linked. You read this layer; the AI owns the writing.

3. The schema - one instruction file (for Claude Code, a file called CLAUDE.md) that tells the AI how your wiki is structured and what to do when you add a source or ask a question. This turns a generic chatbot into a disciplined wiki maintainer.

Setting up

1. Create a new Obsidian vault in an empty folder.

2. Inside it, make a folder for raw sources (for example `raw/`).

3. Write the schema file: what folders exist, how pages should be named, what the AI should do on each new source. Start simple; you and the AI improve it over time. The Teacher's Tech video shares a ready-made template.

4. Add your first source and ask the AI to process it. A single document can touch 10 to 15 wiki pages: a summary, the index, several topic pages, and the log.

Working with it day to day

  • Ingest one source at a time and stay involved: read the summaries, correct emphases, tell the AI what matters to your business.

  • Ask questions against the wiki. When an answer is valuable - a comparison, an analysis - have the AI file it back into the wiki as a new page instead of losing it in chat.

  • Two files keep it navigable: an `index.md` (a catalog of every page with a one-line summary) and a `log.md` (a chronological record of what was added and when).

  • Lint regularly. Every so often, ask the AI to health-check the wiki: contradictions between pages, stale claims, orphan pages nothing links to, concepts that deserve their own page.

What it costs

Obsidian itself is free, including for commercial use. Optional add-ons: Obsidian Sync ($4 per user per month, billed annually) if you want your vault synced across devices with end-to-end encryption, and Publish if you want to put pages on the web. The AI agent is the main cost - budget for a paid plan or API usage. The web clipper is free.

Common mistakes

  • Dumping in hundreds of files at once. Ingest gradually and review, or the wiki fills with unchecked summaries.

  • Skipping the schema file. Without it, the AI improvises a new structure every session.

  • Never linting. A wiki that is never checked slowly fills with contradictions.

  • Feeding it confidential material without thinking. The files stay on your machine, but the AI agent reads whatever you give it - treat that like any cloud processing decision.

Last updated: 21 October 2026

Sources:

Want a second brain that is set up properly and connected to your company's real tools? Discuss a project

Previous
Previous

Is a second brain worth it for a small business?

Next
Next

What is a second brain for a company?