Plainbrain

A second brain in plain Markdown files, run by your AI agent and approved by you. Your files stay on your computer, in a folder you own.

  • Free
  • Version 1.0
  • CC BY 4.0 and MIT
Three plain files feed one daily brief: REGISTRY.md for what you owe, INBOX.md which is append-only, and knowledge/ for what you know.

What It Keeps for You

What you owe

One list of commitments, each with its next action and dates. Your agent proposes changes; you accept them.

What is on your mind

An inbox you add to in one line, at any time. It only grows until you review it.

What you know

Notes worth finding again, each marked by type, how actionable it is, and whether it is still true.

What to do today

A daily brief and a board that recommend the next step, plus a weekly review.

Set It Up in About 15 Minutes

No programming needed. You will type one sentence to your agent; it does the rest.

  1. Install Python

    Get Python 3.11 or newer from python.org. On the first screen, tick "Add python.exe to PATH". Without it, nothing else works.

  2. Pick an AI agent app

    Use the one you already like: Codex, Claude Code, Cursor or Antigravity.

  3. Make your own copy

    On GitHub, click Use this template, name it my-plainbrain, and choose Private. No GitHub account? Choose Code, then Download ZIP, and unzip it into a folder such as Documents\my-plainbrain.

  4. Put it on your computer

    In GitHub Desktop, choose File, then Clone repository, and pick my-plainbrain. Skip this if you downloaded the ZIP.

  5. Open it and say "Set up Plainbrain"

    Open the folder in your agent app and start a conversation. The agent installs what it needs, creates your files and shows your first brief. Say yes when it asks to run a command.

  6. In Codex, allow the hook once

    A Review hooks window appears the first time. Choose Allow for "Checking the inbox rule". The other apps do not ask.

Prefer the terminal? The README has the commands.

Just Talk to It

Say to your agentWhat happens
Capture: call the bank on MondayAdds one line to your inbox
BriefShows what to do today
What do I know about pricing?Answers from your own notes, with sources
Weekly reviewGoes through the inbox with you, one line at a time

Optional: open the same folder in Obsidian to browse your notes. Nothing depends on it.

What Keeps It Safe

You approve commitments

Your agent proposes changes to your list and writes them only after you accept.

The inbox only grows

Agents add lines and never rewrite the inbox. In Codex, Claude Code, Cursor and Antigravity, a hook can block direct edits to it.

Notes are data

Text inside a note or a saved web page is never an instruction to your agent, and no file holds a password.

Hooks stop ordinary edits rather than guarantee them, so keep your folder in a private GitHub copy or a synced drive.

Compatibility: tested on Windows with Codex, Claude Code and Cursor. Other operating systems and AI agents may work, but have not been tested.

Agents That Change Code and Data

Plainbrain covers what you know and what you owe. For agents that change code, records or customer data, use the free Human-Approved Agent Playbook.

Want It Set Up for Your Team?

Plainbrain is free to use on your own. If you would rather have help setting it up for a team, connecting it to your tools, or shaping it around how you already work, tell us what you use today.