Daniel Carral=> The Future of Work. NOW.
Knowledge & Learning13 min read

Build Your AI-Native Second Brain

Your notes app is a filing cabinet. A Git repository connected to AI coding agents is a thinking partner that builds on everything you know. Here is how to build one.

Knowledge ManagementPKMAI AgentsLearningFuture of Work
Click to scroll

Why Read This

You are probably already taking notes. But your notes sit in apps that AI cannot touch. They do not compound, connect, or make you smarter over time.

This article shows you how to build a second brain in a Git repository: a knowledge base that AI coding agents like Claude Code, GitHub Copilot, and Google Jules can read, search, and extend alongside you.

By the end, you will have a blueprint for a system where your knowledge compounds, with or without you at the keyboard.

Reading time

13 min

🎙 Listen & Watch

Audio Summary

NotebookLM podcast, 8 min

Coming soon

Video Briefing

Visual overview, 3 min

Coming soon

Quick Brief

1-page cheat sheet

Coming soon

The Problem: Your Brain Was Not Built for This

You finish a great book and feel genuinely inspired. Two weeks later, you can barely recall a single idea. You sit in a workshop full of breakthrough moments, scribble notes into a Moleskine, and then never open it again. You bookmark articles by the dozen, build elaborate reading lists, and still feel like your knowledge never quite compounds the way it should.

For years I treated this as a personal failing. A memory problem. A discipline problem. Something to fix with a better app or a stricter routine. I was wrong about the diagnosis.

Your mind is for having ideas, not holding them.

David Allen

Getting Things Done

The real problem is not memory. It is the absence of a system. I understood this properly for the first time during my computer science studies, through a single interview that I have thought about almost every week since.

Edsger W. Dijkstra was one of the defining intellects of computing. Turing Award. Structured programming. Formal correctness. A man who thought about thinking with the same rigour he applied to everything else. A journalist once asked him the kind of question that sounds simple but usually produces a vague answer: what is your single most important piece of advice for students? I expected an algorithm. A framework. Something about proof or abstraction. Instead, he answered immediately, without hesitation, as if he had been waiting for someone to ask.

The most important advice I have is to write things down. Systematically, what you think about a topic at a given moment of your life. Then go back to it in the future, update it, add new insights, see how much your perspective has changed. If you don't write it down, it never really happened.

Edsger W. Dijkstra

Computer Scientist · Turing Award Laureate

That answer stopped me cold. Not because it was complicated. Because it was said with absolute certainty, by someone who could have said anything, and he chose this. Write it down. Systematically. Go back to it. That is the whole discipline.

I started that same week. No system yet, no tools, no framework. Just a folder and a habit of writing down what I actually thought, then returning to it. Over time that one practice reshaped how I work, how I learn, and how ideas build on each other across years. It is the deepest root of everything I describe in this article, and one of the formative intellectual habits of my life.

I often think about what someone like Dijkstra would do in 2026. A person with that same commitment to externalized, systematic thinking, but with access to a Git repository, AI coding agents, and the ability to ask a machine to synthesize decades of his own writing in seconds. I think he would have built something extraordinary. Not because the tools are extraordinary, but because the discipline was already there. The tools only amplify what you bring to them. This article is about building that foundation, and then connecting it to everything that is now possible.

What Is a Personal Knowledge Management System?

A Personal Knowledge Management (PKM) system is a trusted, external place (digital, analogue, or hybrid) where you capture, organise, connect, and retrieve information in a way that makes you more effective over time.

Think of it as a second brain. Your biological brain is remarkable at pattern recognition, creative leaps, and emotional processing. It is terrible at verbatim storage and perfect recall. A PKM system offloads the storage burden so your brain can focus on what it actually does best: thinking.

I saw the opposite firsthand when I joined Babbel. The company used Confluence extensively. Thousands of pages, a dedicated team, even full-time knowledge managers. Yet finding what you actually needed was painfully difficult. The tool was a warehouse, not a thinking partner. That experience taught me something important: the value of a knowledge system is not in the volume of information it holds, but in how easily you can retrieve and act on it.

Capture

Get ideas out of your head and into a trusted system quickly.

Connect

Link ideas across domains to find unexpected patterns and insights.

Create

Turn stored insights into articles, talks, strategies, and decisions.

What Luhmann did with index cards, you can now do with a Git repo and an AI agent. The rest of this article shows you how.

What to Capture (and What to Leave Out)

The most common mistake people make when starting a PKM practice is trying to capture everything. The result is an overwhelming archive that is impossible to navigate and ultimately abandoned.

The better filter: capture what resonates. If something surprises you, challenges an assumption, or sparks a connection to something else you know, capture it. If it merely seems interesting in a vague, passive way, let it go.

Excellent candidates for capture include:

  • Highlights from books and articles
  • Key insights from meetings and conversations
  • Ideas that come to you in the shower, on a walk, or mid-commute
  • Useful frameworks, models, and mental maps
  • Links, references, and curated resources

Once you have a stream of captured ideas, a light organisation layer helps. Start simple: a folder or notebook per active project works fine. As your system grows, structural frameworks like PARA (Projects, Areas, Resources, Archive) or topic-based tagging become worth exploring. The key insight: organise by actionability, not just topic.

From Filing Cabinet to Living System

A PKM system that only stores is a sophisticated filing cabinet. The real value emerges when you start linking notes to each other across projects, time, and domains.

Tools like Obsidian and Notion were the first step: they made linking notes easy with bidirectional links and relational databases. But the next step is more powerful. A Git repository gives your knowledge base something no notes app can: version history, branching, diff-based review, and most importantly, a format that AI agents can read, search, and contribute to natively.

When your knowledge lives in plain markdown files inside a repo, every note is automatically versioned. You can see how your thinking evolved. You can branch off experimental ideas without losing the original. And every AI tool on the market, from Claude Code to GitHub Copilot, can navigate that structure as naturally as you do.

The evolution from passive storage to an AI-native knowledge system.

The Zettelkasten insight: Niklas Luhmann, a German sociologist who wrote over 70 books and 400 academic papers, credited his productivity to his “slip-box”, a physical system of interconnected index cards. Each note linked to related notes, creating an emergent web of ideas that Luhmann described as his “conversation partner.” His secret was not volume; it was connection.

Luhmann's slip-box was a conversation partner he could only access in person, one card at a time. A Git repository is a conversation partner that any AI agent on your machine can access, query, and extend, at any time, across your entire knowledge base.

Your Second Brain, Augmented by AI Agents

A knowledge base connected to a large language model is powerful. A knowledge base that AI coding agents can operate on directly changes everything about how you work. This is the shift I want you to see: your second brain is not just a place you go to retrieve information. It is a shared workspace where you and your AI agents think together.

The foundation is simple: your knowledge lives in a Git repository. Markdown files, decision logs, meeting notes, curated references — all versioned, searchable, and accessible to any AI tool that can read a filesystem. Structure matters here. A well-organised repo with clear folder names and descriptive filenames is not just easier for you to navigate; it is richer context for every agent that works inside it.

This is where tools like Claude Code, GitHub Copilot, and Google Jules change the equation. These are not chatbots you paste text into. They are coding agents that can read your entire repo, find connections you missed, draft new documents from existing notes, and restructure your knowledge — all from a single natural language instruction. Ask one to summarise everything you know about a topic, and it will synthesise across multiple folders and years of notes in seconds.

The compounding effect is what makes this different from any tool you have used before. Every document you add makes every agent session richer. Every agent-generated connection or summary feeds back into the repo as new material. The system does not plateau — it grows in value every time you use it, without you manually reorganising anything. I built this for myself and for clients. Within weeks, the repo became the first place I opened before starting any new project.

A notes app without AI is a filing cabinet. A Git repository connected to AI coding agents is a research partner that knows everything you know, and can synthesise it faster than you can think.

Daniel Carral

Build Your AI-Native Second Brain

One practical habit worth building early: save your best prompts. If you spent real time crafting an instruction and the output genuinely surprised you, capture it in a dedicated folder inside your repo. Tag it by use case. Over time, your prompt library becomes the part of the system you return to most — a growing collection of proven instructions you can reuse, remix, and build on. Your future self will thank you.

Getting Started: From Notes to AI-Native System

The best PKM system is the one you will actually use. Start simple. You can always add complexity later. What kills a system is giving up on it.

1

Start capturing in plain text

Pick one place to write: a folder of markdown files, a notes app that exports to markdown, or a simple Git repo. The format matters more than the tool. Markdown is universal, versionable, and readable by every AI agent on the market.

2

Capture without judgment

For two weeks, capture anything that feels useful, interesting, or surprising. Don't organise yet. Let raw material accumulate. You need inputs before you can design the system.

3

Organise by project, not topic

After two weeks, look at what you have captured. Group it by what is actually useful right now. A folder per active project works fine. As your system grows, structural frameworks like PARA (Projects, Areas, Resources, Archive) become worth exploring. In a Git repo, good folder structure doubles as context for AI agents, so organisation has a direct payoff.

4

Distil progressively

When you revisit a note, add a bold sentence or highlight the one most important insight. Over time, notes become richer without requiring you to rewrite them from scratch.

5

Connect an AI agent

Point Claude Code, GitHub Copilot, or Google Jules at your repo. Ask it to find connections between notes, draft a summary of your thinking on a topic, or identify gaps in your knowledge base. This is the moment your second brain comes alive.

The key mindset shift is this: stop thinking of your knowledge system as a place to store information for later retrieval. An AI-native PKM is a shared workspace where your ideas and your agents compound together over time. Shift from “where did I put that?” to “what can my agents do with this?” and your second brain starts doing work you did not explicitly ask for.

And this is just the beginning. The world is only starting to explore what a mature personal AI setup looks like in practice — drafting meeting prep from your own notes, spotting contradictions in your own thinking across months of writing, generating a first draft of any article or proposal from your own prior knowledge. The imagination is genuinely the limit. People building this infrastructure now will have an extraordinary advantage, because their AI will know everything they know, in their own voice, built from their own experience. That is something no off-the-shelf product can replicate.

Key Takeaways1 / 5

A PKM system is a trusted external place to store and connect what you learn.

Your Knowledge Should Compound.

I help individuals and teams design AI-native knowledge systems from scratch: repo architecture, agent configuration, daily workflow, and the habits that make it stick. If you want to skip the trial-and-error phase, let's talk.