How it works: The brain

How it works

The brain

A team's brain is what its conversations with coding agents established, written down with a pointer to where each thing was said. Cesar's server stores it and cannot read it.

Overview

The brain is built in two steps. A conversation becomes a block: a short list of what it established. Blocks are then folded into pages, which is what you and your agents read.

Alice's computerCesar's serverBob's computer1A conversation goes onyouSend items in batches of 50,single calls hit the limit.agentDone. 238 requests, no error.The block: what it establishedDecisionBatches of 50t7-8FactLimit: 100 a secondt1-2RuleEvery job uses the limitert9-10Sealed blocksigned by alice, version 1What it holdsthe size of the blockwhen it was pushedwho signed itWhat it cannot readthe claimsthe titlethe conversation behind themThe key that opens a block neverleaves the members' computers.Stored as it camestill sealedOpened and checkedThe signature is alice'sShe was an owner: her rule countsPages, compiled on his computersystemdecisionslessonsquestionsdecisions/export-batch-size.mdBatches of 50[e485f890 t7-8]His agent asks before it codescheck("a job calling inventory")Stop: every job uses the limiter[e485f890 t9-10]2her own agent writes it3signed, then sealed4pushed5pulled6his agent folds it in7read on demand
One conversation on Alice's computer becomes lines on Bob's pages. Dotted areas are sealed: the text cannot be read there.
  1. A conversation goes on. Alice works with her coding agent, in a workspace she shares with her team.
  2. Her own agent writes the block. It reads the conversation and writes down what it established. Cesar runs no model of its own.
  3. The block is signed, then sealed. Signed with Alice's key, so everyone knows who vouches for it. Sealed with the workspace's key, so only its members can open it.
  4. It is pushed. The server stores it as it came. It sees a size, a time and a signature.
  5. Bob pulls it. His computer checks the signature and the role Alice held when she pushed, then opens the block with the workspace's key.
  6. His agent folds it into pages. Each claim lands on the page it belongs to, with its receipt. A claim that contradicts a rule is flagged, and the rule stays.
  7. The pages are read on demand. Before changing code, his agent asks what the team knows about the plan. The answer cites its receipts.

Blocks

A block is what one conversation established. As a conversation in a team workspace goes on, and when it ends, Cesar hands it to your own coding agent with one instruction: write down what this conversation established, and nothing else.

The result is a short text file of claims. A claim is a fact, a decision, a lesson or an open question.

## Decision · Export job sends batches of 50
The export job sends items in batches of 50, because single
calls hit the inventory limit of 100 requests a second.
Said: 2026-11-16 · Receipt: turns 7-8

Most conversations establish little, and some nothing at all. A block that says "nothing for the team" is a normal answer.

When a block is written

  • when you move a conversation into a team workspace;
  • while you work in a conversation that is already in one, about every fifteen minutes, and when its session ends;
  • when you release it, hand it off or give it to someone;
  • by hand, with cesar brain block <id>.

A conversation has one block. Each time it is written again, it is a new version of the same block, and what still holds keeps its wording. When the conversation established nothing new, no version is made.

Pages

Blocks are the source. Pages are what you and your agents read: one page per system, decision, lesson or question. They are plain text files in ~/.cesar/brain on your computer.

Each time a new block arrives, your agent adds it to your pages.

Receipts

A receipt points back to where something was said. Every line on a page ends with one, such as [e485f890 t7-8]: the block it came from and the turns of the conversation. A line without a receipt has no place in the brain.

cesar brain lint rebuilds the pages from every block and reports where yours cite other receipts.

Write a claim yourself

Not everything a team knows was said to an agent. cesar brain note pushes one claim you typed, as a block of its own, signed and sealed like any other. Its receipt is your name.

cesar brain note --kind decision "Batch size" "The export sends batches of 50."

In this version

  • Writing a block and folding it need Claude Code on the computer. A conversation from Codex or Cursor gets its block through it.
  • Folding one block takes your agent from half a minute to a few minutes. It runs after the sync, and holds up no other command.
  • Each refresh of a block is one run of your own coding agent. CESAR_BLOCK_EVERY=1h sets another pace than fifteen minutes.
  • Pages live on each computer. They are not stored on the server yet.