# Turn 10,994 Notes Into Memory - Paul Iusztin, Decoding AI & Louis-François Bouchard, Towards AI
<!--
ref: @content/youtube/aie/2026-06-26-turn-10994-notes-into-memory-ai-research-os
version: 3
updated_at: 2026-10-31T18:33:21.616Z
-->

Paul Iusztin (AI Engineer, 2026-06-26): Iusztin spent 18 months turning a second brain into living research memory, and the conclusion both speakers reach is that the bottleneck was never getting information into a model — it is being able to leverage that information in a future session.

*Synthesized from Paul Iusztin and Louis-François Bouchard on AI Engineer, 2026-06-26.*

Paul Iusztin is founder and CEO of Decoding AI and co-author of the *LLM Engineer's Handbook*; Louis-François Bouchard is co-founder and CTO of Towards AI, creator of the *What's AI* YouTube channel, and author of *Building AI Systems for Production* — and together they walk through the open-source AI Research OS they built to make years of accumulated notes usable by coding agents.

## Core Thesis

Iusztin spent 18 months turning a second brain into living research memory, and the conclusion both speakers reach is that the bottleneck was never getting information into a model — it is being able to leverage that information in a future session. Their answer deliberately refuses the infrastructure most engineers reach for: no vector database, no knowledge graph, no semantic search. Instead a three-layer structure of immutable raw files, a YAML index, and an LLM-generated wiki, all plain markdown on the filesystem, which an agent traverses by reference from cheapest layer to most expensive.

## Key Insights

- The scale Iusztin is managing: **over 5,000 notes in Obsidian**, another **5,000 in Readwise**, plus scattered material in Notion and Google Drive, growing at **250 files per month**. The failure mode he names is that his reading list is a graveyard — saved X posts, articles, YouTube videos, and GitHub repos that he never recalls when he actually starts work.
- The two of them are at deliberately different scales. Bouchard has only a few hundred notes but hundreds of published videos, years of meeting recordings, and client-build learnings, which he treats as the same problem: neither of them started from nothing, and the system has to absorb an existing pile.
- Bouchard gives an explicit escalation ladder for when to reach for this at all. A quick answer or something you'd Google — just use ChatGPT or Claude. A small repo change or a one-off article you won't repeat — Codex, Claude Code, or an agent you trust. Only when sources need to *stick around in time* and be re-queried later does a research OS earn its setup cost.
- His objections to NotebookLM are specific: you don't own it, you can't personalize it deeply, it isn't agent-native, and being browser-based it is weak for coding tasks. His objection to a retrieval/RAG pipeline with a vector database is different — powerful at scale and right for a product, but it needs infrastructure, isn't human-friendly to inspect, and can't be hand-edited quickly.
- The core diagnosis of agent workflows today: you paste links, PDFs, and references into Codex, and next session you paste them all again. Whatever structure the tool built on the fly — the scripts it ran, the scaffolding it assembled — is lost, or frozen into a skill that keeps growing. As Bouchard frames it, the context window is forced to be the database, the filesystem, the memory, and the reasoning space all at once, and it all vanishes when the conversation ends.
- Bouchard consolidated his inputs rather than his tools: Granola meeting recaps, years of Apple Notes, saved tweets, and Claude Code skills were all piped automatically into Obsidian, with Codex doing the setup wiring. Obsidian is a UI convenience — the substance is that everything is local files.
- **V1** scoped the system to generating course lessons: input a topic plus manually handpicked **golden links**, output a single flat `research.md`. The golden links are scraped first and used as seed context so the orchestrator frames better questions. Then a classic deep research loop — an orchestrator generating questions, sub-agents each owning one question and querying via Gemini grounded in Google, each returning links plus executive summaries that are aggregated back so the orchestrator's context doesn't explode. **Three rounds of six queries** yields **40-50 links**, so a ranking pass scores each source against the original topic, fully scrapes only the top-K, and keeps summaries for the rest. It produced **35 lessons** quickly.
- **V2** pointed the same loop at the second brain instead of only the public web. The insight that makes this work: the golden links were always a reflection of the second brain, so with Obsidian, Readwise, NotebookLM, and GitHub plugged in as sources, the input collapses to just a topic and the golden links are gathered organically.
- **V3** exists because `research.md` is a dead artifact — static, staleable, and re-running the pipeline is expensive in both tokens and wall-clock. So V3 keeps every scraped source as an individual raw file, builds an index over them, and generates a wiki on top. Sources in, wiki out.
- Iusztin is blunt about the architecture: forget vector databases, knowledge graphs, semantic search, and text search for a personal research OS. They add complexity out of proportion to light personal use. His system is files and references only.
- The entry point is a single **`index.yaml`** — a catalog of every source with its link, origin, title, authors, publication date, and summary, plus metadata. His example index holds **10 sources and 38 wiki pages** derived from them. This file is what the agent reasons over to decide where to look.
- The retrieval hierarchy is the token-efficiency mechanism, and it is strictly tiered. The agent reads `index.yaml` first; if it needs more it reads the **source wiki page** (an expanded executive summary computed once at ingestion) and often stops there; failing that it follows links into wiki derivatives — concepts, entities, notes, comparisons; and only as a last resort does it read the full raw source.
- The wiki layout is three top-level objects: `raw/` (immutable, never touched), `wiki/` (LLM-generated derivatives), and the index. Derivative types the system produced unprompted include comparisons (agentic RAG versus file systems; compaction versus recursive language models), extracted concepts (tool registry, context compaction, sandboxing), entities (OpenCode, Claude Code, MCP), and **open questions** the LLM could not yet answer.
- The wiki is alive rather than a build artifact. **Every question you ask leaves a trace** — the LLM may create a new concept, note, or comparison file, and every question is logged. So the wiki grows from conversation, not only from ingestion, and the open-questions file becomes a record of what you haven't understood.
- Crucially the wiki does **not** sit on top of the entire second brain. Iusztin organizes Obsidian with Tiago Forte's PARA method — projects, areas, resources, archive — with saved sources landing in a flat resources list and referenced into projects and areas. Obsidian stays an immutable snapshot the LLM never writes to: his hand-written personal notes are off-limits.
- The relationship he draws is that **the project is the work and the second brain is the research** — each new project (an article, a video, a slide deck, a book, a course, tracking a code base) scopes a slice of the global second brain down via a deep research run.
- The `research` skill takes a depth setting — **light, fast, or deep** — controlling questions per round and number of rounds. Light is one round of three queries; fast is two rounds of three. Iusztin's own guidance is to stay in that range and reserve deep for genuinely wide sweeps, because the process burns a lot of tokens. A light run over Obsidian, Readwise, and NotebookLM takes **10-20 minutes**.
- Example two ingests three open-source harness repos — OpenCode, Pi, and Hermes — with no deep research at all, exploring named topics (general architecture, agents architecture, sub-agents, memory system, permission flow). It clones each repo, writes per-repo notes on each topic, then generates cross-repo comparisons and aggregate architecture notes. Iusztin points out this is how you'd learn harness engineering directly from code if you wanted to write your own.
- Examples two and three run with **no external service setup at all** — only Git and curl. Obsidian, Readwise, and NotebookLM connectors require CLI installs and auth, but the plugin is usable without them.
- The speakers are candid about gaps: missing connectors (Google Drive, Notion, Slack) they haven't built because they don't personally need them; no good way to tell which sources are outdated or weak; and it remains a terminal builder workflow with no polished UI, which Bouchard says is by design since the goal is teaching AI engineering rather than shipping a product. Named next steps are stronger linting, better memory compaction, and better source provenance for ranking and trust.
- Bouchard notes he implemented the YouTube transcript connector in seconds with a single prompt — the extension surface is meant to be trivially agent-editable.

## Actionable Takeaways

1. Apply the escalation ladder before building anything: quick answer → ChatGPT/Claude; one-off code change or article → Codex/Claude Code; work whose sources must persist and be re-queried → a research OS. The setup cost is only justified at the third tier.
2. Consolidate every input stream into one local directory of markdown before adding any intelligence — meeting recaps, highlights, notes, saved links. Bouchard used Codex to script the ingestion into Obsidian; the file layer, not the note app, is what matters.
3. Build the index as a single `index.yaml` cataloging each source's link, origin, title, authors, publication date, and summary. This one file is the agent's entry point and does the routing work a vector store would otherwise do.
4. Enforce the four-tier read path — index → source wiki page → wiki derivatives → raw source — and generate the source-level executive summary once at ingestion time. Most queries should terminate at tier two, which is where the token savings come from.
5. Keep `raw/` immutable and keep your hand-written personal notes outside the LLM's write path entirely. Only derivatives live in `wiki/`.
6. Seed a deep research run with handpicked golden links (or a brain-dump file) and scrape them *before* generating queries — the seed context is what makes the orchestrator's questions well-framed. Once your second brain is connected, the topic alone suffices.
7. Cap the loop and rank before scraping. Three rounds of six queries already produces 40-50 noisy links; score each source against the original topic and fully scrape only the top-K, keeping summaries for the tail.
8. Default to the light setting (one round, three queries) and reserve deep runs for genuine sweeps — deep research is the expensive operation in the whole system.
9. Log every question against the wiki and let the agent write new concept, note, and comparison files as it answers. The open-questions file — things the LLM could not resolve — is a free map of your own gaps.
10. To learn an unfamiliar architecture, point the ingest at several competing open-source repos at once with an explicit topic list, then let it generate the cross-repo comparison. Iusztin's harness example used OpenCode, Pi, and Hermes across architecture, sub-agents, memory, and permission flow.

## Notable Quotes

> "My reading list is a graveyard." — Paul Iusztin

> "With an agent, the context window becomes everything: the database, the file system, the memory, the reasoning space." — Louis-François Bouchard

> "You should forget the infrastructure you think you need, such as vector databases, knowledge graphs, semantic search." — Paul Iusztin

> "Every question leaves a trace into your wiki." — Paul Iusztin

> "The project is the work, and your second brain is the research." — Paul Iusztin

> "Obsidian is just an immutable snapshot that an LLM never touches." — Paul Iusztin

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*