---
type: "Blog Post"
title: "Two Ideas for an AI's Second Brain, and the One We Built On"
description: "Andrej Karpathy's LLM Wiki led to two answers to the same question: how do you give an AI a lasting memory in plain files? They don't compete. They stack. This is why we built our Business Brain on OKF, and why portability decided it."
resource: "https://rsts.ai/blog/why-we-built-our-second-brain-on-okf/"
tags:
  - "ai-employee"
  - "second-brain"
  - "founder-journey"
status: "stable"
generated:
  by: "human:alejandro-cordovilla"
  at: "2026-08-08"
verified:
  - by: "human:alejandro-cordovilla"
    at: "2026-08-08"
sources:
  - id: "canonical"
    resource: "https://rsts.ai/blog/why-we-built-our-second-brain-on-okf/"
    title: "Two Ideas for an AI's Second Brain, and the One We Built On"
    author: "human:alejandro-cordovilla"
    last_modified: "2026-08-08"
x-rstsai-published: "2026-08-08"
x-rstsai-read-time: "5 min"
x-rstsai-author: "Alejandro Cordovilla"
---

Every AI employee we build reads from a second brain: the written-down knowledge of how a business actually runs. We call ours the Business Brain. Before we could fill it, we had to answer a smaller, more stubborn question. What format do we write it in?

Two serious ideas were on the table. I'm not here to declare a loser, because both are good. But we had to pick the layer we build on, and I want to show the reasoning, because the format you choose either keeps paying off for years or slowly goes stale.

## Where both ideas start: Karpathy's LLM Wiki

Both ideas trace back to the same source. Andrej Karpathy sketched it in a [short, widely shared gist](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f): instead of making an AI rediscover your knowledge from scratch on every question, compile it once into a lasting, evolving wiki of plain markdown files.

That way the cross-references are already there, and the contradictions have already been flagged. You keep the raw sources, you keep a wiki the AI maintains on top of them, and you keep a short schema document that tells the AI how the wiki is organized. One line of his stuck with me: Obsidian is the IDE, the LLM is the programmer, and the wiki is the codebase.

From there, the idea splits into two different bets about what to standardize.

## Idea one, ICM: the folders are the agent

The first bet comes from Jake Van Clief's Interpretable Context Methodology, laid out in his [ICM Architect project](https://github.com/RinDig/icm-architect) and a [2026 paper with David McDermott](https://arxiv.org/abs/2603.16021). The insight is that a lot of what people build multi-agent frameworks for is really just structure. So put the structure in the folders and let them carry the logic.

Numbered folders set the order of steps. The folder hierarchy decides what context each step sees. Markdown files hold the state. Small local scripts handle the mechanical steps that don't need a model. A single AI reads the right files at the right moment and moves through the work, so the folder layout becomes the program it runs. It borrows openly from Unix pipelines and literate programming.

It's elegant, and it's aimed at a real problem: how work moves. If you have a repeatable process with a person checking each step, ICM is a clean way to encode it without writing orchestration code.

## Idea two, OKF: trust lives in every file

The second bet is the [Open Knowledge Format](https://github.com/GoogleCloudPlatform/open-knowledge-format), published on Google Cloud's GitHub. It uses the same building blocks, markdown files with YAML frontmatter, but standardizes something different. OKF is vendor-neutral, lives in git, and opens in tools people already use, like Obsidian or Notion. There's no SDK between the reader and the content.

What sets it apart is that trust is built into every file and you can search on it. The frontmatter carries `sources`, a `verified` signal, a `status` and a `stale_after` date. So a fact doesn't just get written down. It comes with where it came from and when it should be checked again. OKF is about what a piece of knowledge is, and whether you should still believe it.

## They don't compete, they stack

I didn't see this at first. These two aren't fighting over the same spot. One builds on the other.

OKF is the foundation: what each file is, and whether to trust it. ICM-style structure sits on top: how an AI moves through those files to get work done. You can keep perfectly good OKF files inside an ICM-shaped workspace, and the format never fights the structure. Knowledge and process are different problems, and each idea is the better answer to one of them.

*(Figure: A layered stack: Karpathy's LLM Wiki at the base, an OKF foundation of markdown cards each carrying trust badges, ICM folder-structure sitting on top routing an AI employee, and the whole thing wrapped as a portable bundle you own. See the original post for the image.)*

So the real question was never which one wins. It was which one goes underneath and which one goes on top. For a second brain, what goes underneath is the knowledge itself.

## Why we built on OKF

A second brain is a long-term asset, not a workflow. It has to stay accurate for months while an AI employee reads from it every day. And when a knowledge base fails, it's rarely dramatic. One fact goes out of date, nothing flags it, and the AI keeps repeating it with total confidence.

OKF deals with that directly, because freshness and sources live in the file. You can check how much to trust something instead of assuming it. And because it's a format rather than a platform, and it lives in git, the whole brain can be reviewed like code: every change has a diff, an author and a history. That fits how we already work. If something isn't in the Business Brain, the AI doesn't know it happened, so the Business Brain has to be the most trustworthy thing we keep. I wrote more about that role in [being born AI-native](../posts/born-ai-native.md).

## Portability decided it

There's one more reason, and for a small shop like ours it might be the biggest.

When we build an AI employee for a business, the knowledge we capture belongs to that business, not to us. An OKF brain is a self-contained bundle you can carry anywhere: a git repository, a single archive, a folder you can open on any machine. It's vendor-neutral, with no SDK and no proprietary layer wrapped around it.

That means a business's operating knowledge lives in plain files that open in ordinary software, not locked inside one platform's format. No platform holds it hostage, and it moves between systems without a fight. For a small team, that matters: the knowledge stays readable, not trapped in a proprietary format. And when the work needs a process on top of that knowledge, ICM-style structure fits on top just fine.

## The layer that keeps paying off

Pick the wrong format and you spend years working around it. Pick the right one and everything you write adds up to something more valuable over time.

Both of these ideas earned their place. We built on the one that keeps knowledge trustworthy as it ages and portable enough for the owner to keep. The structure can always go on top. The trust has to go all the way down.
