← Wiki
2026-11-17 concept company-brainagentsmemoryprogressive-disclosurecode-modeswarmself-improving-loopsharnessai-native

Company Brain: one memory any agent can plug into

Part 6 of 7 in the series How my agent stack fits together. Previous: the wiki that learns. Next: many agents behind a gate.

The short version

“Company brain” became a buzzword in autumn 2026, to the point of T-shirts at YC events. Under the buzz are two concrete ideas. First, the company’s knowledge lives in one shared, readable layer instead of in people’s heads and the reporting lines between them. Second, agents work on that layer in loops that improve the company while everyone sleeps, and humans move to the edge, where the work touches the real world.

Two sources make it concrete. A YC partner’s talk, Building And Structuring An AI Native Company, describes the organisation. Rinat Abdullin (the author of schema-guided-reasoning) built one, opened it to his Telegram community’s agents, and broke it within three days. The lessons from that break are the most useful part, and they map almost one to one onto pieces I already run.

Who What they say a company brain is The part worth stealing
YC talk legible company data + self-improving AI loops that talk to each other; humans at the edge an overnight agent that reads yesterday’s failures and files fixes
Rinat / BitGN Brain a versioned document store any agent connects to through one MCP with two tools rent the agent, own the memory; code mode instead of a tool zoo
My setup wiki + session index + task registry + swarm, reached by one local MCP; agents write back with capture; a nightly loop reads the logs built on 17 November from what already ran; no remote entry (built, then switched off), the always-on box not up yet

Glossary

Term Meaning here
Company brain the shared memory + tools layer that people and agents read and write; not a model
Progressive disclosure the agent starts with a one-screen map and opens detail only when a task needs it
Code mode instead of N tools, the agent gets an SDK description and writes a short script that runs next to the data
Swarm many different agents (Claude Code, Codex, ChatGPT, a free chat tier) working on one goal through the shared memory
AI loop signals in, policy, tools, a quality gate, learning, and around again, without a human in the path
IC / DRI individual contributor; directly responsible individual, the one person whose head is on the block for an outcome

Where the term comes from

The model is Jack Dorsey and Roelof Botha’s essay From Hierarchy to Intelligence (31 March 2026), written about Block. Hierarchy exists to route information and coordinate work; run the company as an intelligence instead, on two world models: one of the company, built from the machine-readable traces a remote-first firm already leaves (decisions, code, plans), and one of the customer, built from transactions. On top sit four layers: atomic capabilities with no UI, the world model, an intelligence layer that composes capabilities for a customer at a moment (a failed composition exposes a missing capability, so “customer reality generates the backlog”), and the interfaces. “The intelligence lives in the system. The people are on the edge.” Three roles stay: IC, DRI and player-coach, with no permanent middle management.

By summer YC had a Request for Startups called Company Brain (by partner Tom Blomfield, per a mirror): ingest Slack, Workspace, Notion, Jira, CRM, code and call transcripts into an entity graph with contradiction detection and decision history, answer with sources and confidence, respect source permissions, keep an audit log. Products followed: Garry Tan open-sourced GBrain (MIT, April 2026) with a nightly “dream cycle” that consolidates memory and repairs citations; Hyper (YC) feeds a provenance-tracked graph to Claude Code and Cursor over MCP on every turn; Sylph keeps its company brain in a git repo to avoid lock-in. These come from secondary write-ups, so treat their feature lists as reported.

YC: the company as a set of AI loops

The talk opens with the Roman legion: eight soldiers to a tent, ten tents to a century, information passed down and reports passed up, a human as the conduit at every rung. Two thousand years later most companies still route information through people. The speaker (he refers to himself as Tom) takes Dorsey’s line: AI removes the need for humans as the routing mechanism, and most companies have not noticed because they met ChatGPT as a question-and-answer bot. An agent that stops at 3 a.m. to wait for a human still has a human as its gate.

The unit of the new company is a loop:

flowchart LR
  I["Signals: telemetry, tickets,
billing, code changes"] --> P["Policy: what needs approval,
what must be logged"] P --> T["Tools: internal APIs,
MCP, email, billing"] T --> Q["Quality gate: a second,
adversarial model; a human
only in extreme cases"] Q --> L["Learning: ship, measure,
keep if it went uphill"] L --> I

Two YC examples make it real. Their English-to-SQL agent over data on 7,000 companies and 20,000 founders was a 20% productivity tool, until they added a second agent that runs overnight, reads every query people made that day, separates the ones that worked from the ones that hit a missing index or a permission, and opens pull requests to fix them. The next morning yesterday’s failed query works. The speaker calls it his “head explosion moment”. The second: 3-4 thousand hours of recorded office hours are mined to rewrite a 500-page internal manual written over 15 years, so the manual follows the advice partners actually give, and an advice agent answers founders from it.

The practical advice to founders:

The speaker predicts an AI could run YC’s whole cycle, from reading applications to debugging pitch meetings, by the end of 2026 or the first batch of 2027. One claim check: Rinat’s retelling says YC companies reach their first big round with 80% fewer staff. The talk itself says founders reach demo day at $1M revenue and Series A at $10M “with a fraction of the people”, with no percentage.

Rinat: BitGN Brain, built and stress-tested

Rinat’s company brain grew out of his Personal OS: git plus Obsidian in February 2026, 1,500 documents by October, then moved to a server. The server is a small file service with global versioning: one change set can span a thousand files across workspaces and still be rolled back as one, which Notion-style per-file history cannot do. Under it: Go, SQLite, content-addressed storage, an MCP API, a CLI and Borg backups.

The interface is the interesting part. Agents found documents faster on the server but took longer to edit them (6.5 minutes for one capture-and-file request). Rather than design better tools, he gave the agent Python: a script goes to the server and runs in a sandbox next to the data (his public experiment log names an embedded interpreter, Monty, cut over to production on 9 October, after 45 numbered experiments since January). The MCP shrank to two tools: start opens a session and returns the current SDK description, run executes a script. The same request dropped to 3.5 minutes, and a new capability is now a new SDK version that the next session picks up, with no client redeploy. Company processes (how to file an invoice, where statistics live) can be shipped as code in that SDK instead of as prose.

flowchart LR
  subgraph Rented["Rented cores (subscriptions)"]
    CC[Claude Code]
    CX[Codex]
    PH[Claude / ChatGPT on a phone]
  end
  M["One MCP, two tools:
start, run"] subgraph Owned["Owned: the brain"] S["SDK, versioned,
disclosed progressively"] D["Versioned documents,
workspaces, access rules"] X["Tools to the outside:
benchmark runs, messages, slides"] end CC --> M CX --> M PH --> M M --> S S --> D S --> X

His stated strategy: never write your own agent harness, because models and harnesses improve monthly and someone else pays for that. Rent the best core (he uses Claude and ChatGPT subscriptions) and invest only in the memory and tools any core can plug into. It paid off in a small way the day Claude refused to keep logging his gym session on a safety flag: ChatGPT picked up the same context and carried on.

The swarm experiment

On 21 October 2026 he opened a copy, BitGN Brain, to anyone’s agent. The goal: write an agent for ECOM1, BitGN’s e-commerce benchmark, using only the open GPT-OSS-120B model. People connected whatever they had, from a free ChatGPT to Claude Code, and told it “connect to BitGN Brain, orient yourself, contribute”, some on a three-hour schedule overnight.

An earlier two-hour workshop at KanDDDinsky gave 20 people with no AI-development experience the same setup. Their agents started a forum, a task board and a news digest, negotiated the order of experiments, escaped the sandbox once, and took an ECOM1 agent from 7 to 55.47 (70.20 by the next day). Across those workshops, coding agents made errors with the unfamiliar tools in 4% of requests and chat agents in 6.5%; 94% recovered on their own.

Smaller lessons from the same weeks

He also uses no skills at all, only a doc tree; that argument has its own page, skills-vs-doc-tree.

Building one on a wiki

The mechanics both sources agree on, against what I already run:

Mechanic Rinat / YC Mine today Gap
Shared memory, versioned, any change revertible versioned doc server wiki, KB, 6-crm in git; the registry as local JSON files, outside git none at my scale; git is enough for 1-2 people
One entry for any agent one MCP, start + run project-solograph: one MCP, 5 read tools, plus brain_start and capture since 17.11, local stdio no remote entry: built, then switched off (phone, cloud agents, a partner’s agents)
Progressive disclosure doc tree, SDK disclosed on start generated index.md, hubs, CLAUDE.md per project skills listing truncated, see skills-vs-doc-tree
Self-improving loop overnight agent turns failures into PRs; GBrain’s nightly dream cycle wiki-feedback-loop logs gaps and corrections; solograph usage logs every search; solo brain nightly reads them after the 07:00 digest; /solo:dream checks memory notes weekly the loop proposes and a person decides; so far it drafts alias groups only
Provenance, freshness, contradictions sources, age and conflict flags on every fact learned_from, updated, measured numbers in _facts.yaml, status: disputed contradictions are flagged by hand only
Legibility record every meeting, no DMs session index, project-supervox transcription, inbox sweep, CRM meetings are transcribed on demand, not by default
Agents coordinating swarm, forum, board, votes project-swarm with a test gate; project-agent-board swarm is wired to the registry by topic since 17.11 (item 5 below); the board is not
DRI one person per outcome registry ball and next per topic none
Access by identity capability-based authz Cloudflare Access groups for a two-person alliance not yet in front of the memory
Always on server-side the Gnome: agent-harness-and-always-on-gnome my own box is still waiting on a hosting order; a client profile’s runs on the same pattern
flowchart TB
  subgraph Cores["Any agent"]
    A1[Claude Code, laptop]
    A3[Codex]
    A4[swarm workers]
  end
  E["Entry: solograph MCP, local
brain_start: the orient page
capture: one note into 3-inbox"] subgraph Mem["Memory, in git"] W[wiki + KB] SI[session index] R["registry: ball, next"] CR[6-crm] end subgraph Loops["Loops (laptop today, the box later)"] N["brain nightly: re-asks, misses,
stale topics, stuck tasks → a report"] SD[digest, standup] SW[swarm behind a test gate] end Cores --> E --> Mem Loops --> Mem H["Me: decisions at the edge"] --> R

The order I am building it in, smallest first, with what shipped the same day:

  1. An entry any agent can reach. Shipped locally on 17 November as solograph 0.18: when a KB’s .solograph.yaml has a brain: section, the MCP server offers two more tools. brain_start returns an orient file (the hand-written map plus a state block rebuilt nightly: open topics, captures from agents, what moved). capture writes one new note into 3-inbox/, append-only, signed with the client’s name, found by kb_search at once and listed by the morning inbox. That is Rinat’s “connect, orient yourself, contribute” with the agent’s own shell as run, and no document server. I built the HTTP entry behind Cloudflare Access the same day and switched it off the same evening: nothing used it, and the phone path is reported to fail against Access’s OAuth. What it left behind is a rule: over HTTP the server is read-only unless writes are switched on.

  2. YC’s overnight loop, on signals I already log. Shipped as a step after the 07:00 digest. Searches almost always find something (99% over 14 days), so “found nothing” is a weak signal. The better one is a question asked again, and here the first run corrected my own number twice. solograph’s retried said 59 of 366 searches were followed by another within two minutes, but it counts any different later search, a change of subject included. The same question asked again (the next search of that tool sharing a word stem, or a purely Russian question put in English) is 28 (8%). My first count, in a Python copy of the metric, said 34 with crude 5-letter prefixes and blamed 19 parallel calls that solograph never counted; both retracted 17 Nov. The lesson was the duplicate itself: two implementations of one number disagreed, so the definition now lives once, in solograph usage --json, and the loop only reads it. The loop lists those, the searches that found nothing, stuck swarm tasks and the captures nobody has read, writes one inbox note only on nights with something to decide, and turns Russian-then-English pairs into an alias draft through one constrained model call that code checks.

  3. Prune skills, then raise the listing budget, and move project knowledge into doc trees. Of 64 solo skills, 16 were invoked in the last 30 days. Claude Code’s skillOverrides turned out not to reach a third-party plugin’s skills (measured; I had claimed it would), so the listing budget went from 1% to 2% of the context instead (skills-vs-doc-tree).

  4. A swarm on a real target. BitGN’s ECOM2 (November 2026, agents pay for their own inference from a virtual wallet) is a scored task with my ECOM1 fork already at 22/24 on the dev set; a brain workspace plus swarm’s test gate is the anti-regex constitution Rinat had to add after the fact.

  5. One link instead of one database. Swarm (project-swarm), the task registry and the brain kept their own state and knew nothing of each other. The fix was not a shared database (that would turn the boundary between client and personal work from separate files into a row filter) but a shared key: a registry topic. A swarm task, a note and a commit each name it; swarm owns a task’s state, the registry keeps a read model of it, written by a hook on every transition and by an hourly reconcile from swarm’s own list, both idempotent: the Kubernetes controller pattern, edge-triggered for speed, level-triggered for correctness. The first reconcile filled in five tasks the old hook had only logged as text. The same code runs the client profile on its own store.

What I am not building: my own versioned file server (Rinat needed one at 30 agents and 100k versions; git holds two people fine), and my own agent harness.

Numbers

Learned from

Reading @llm_under_hood posts 934-992 (Sep-Nov 2026, the “what is going on in the channel” series is 974-980), the YC talk on YouTube, and BitGN’s ECOM1 architecture insights, then checking each mechanic against my own harness instead of the other way round.

Connections

Sources

Related