Office library + memory
The office library is the second architectural pillar alongside orchestration. While the substrate explains how agents work, the library explains how the office remembers.
The three feeders
Each agent has a small memory folder (~10–20 .md files) fed by three streams:
| Feeder | What it gives | Source |
|---|---|---|
| Office library | Stories built from emails, PDFs, photos, ERP rows — through 5 perspectives | The user’s computer + cloud connectors |
| Chat reflection | The agent’s own working thoughts from past conversations | Claude Code JSONL session files |
| Pinned facts | Atemporal rules the agent must always know | Hand-curated, lasting truths |
All three converge into the agent memory folder, which loads at every cold-start (~10K tokens of “where I am in life right now”).
The 5-stage pipeline
| Stage | What happens | Model | Live rows |
|---|---|---|---|
| 1. Pullers | Fetch raw files from connectors (Gmail, Outlook, WhatsApp, ERP) | scheduled | 38,205 emails · 71K threads |
| 2. Converters | Read PDFs, XLSX, photos → emit readable .md sidecars | Haiku | populating |
| 3. Perspective analyzers | 5 agents read each .md → write 5 post-its with different lenses | Sonnet × 5 | 16,105 post-its |
| 4. Story-builder | Clusters post-its by casefile → rewrites story.md daily | Sonnet | 480 case files |
| 5. Person-watcher | Weaves all active stories into one daily final-story.md | Opus | rebuilt 6:00 IST |
Multi-perspective discipline
The most important idea: the same file gets 5 post-its from 5 different lenses.
📧 ONE inbound email │ Stage 2 Converter ▼ 📄 readable .md sidecar │ Stage 3 — 5 Sonnet agents in parallel ┌──────────┬──────────┬──────────┬──────────┬──────────┐ ▼ ▼ ▼ ▼ ▼ ┌─────┐ ┌──────┐ ┌──────┐ ┌─────────┐ ┌───────────┐ │ CA │ │LAWYER│ │COACH │ │ FOUNDER │ │ ARCHITECT │ └──┬──┘ └──┬───┘ └──┬───┘ └────┬────┘ └─────┬─────┘ ▼ ▼ ▼ ▼ ▼ 5 post-its with the same source_url and casefile_anchor, but different perspective values.Same evidence. Five readings. Each row recallable separately. Cross-cutting recall by lens is what tags cannot do — tags say what a file is about; perspectives say who is reading and what they see.
Provenance backbone
Every claim traces back to a raw byte:
Final story ──► final-story.md │ cites story:42 ▼Story ──► story.md │ cites note_paths[postit:12345, postit:12346] ▼Post-it ──► agent_postits row │ source_row_ids=[emails:7891, conversation_turns:55432] ▼Evidence ──► incidents:7891 → file:///incidents/raw/2026-05-18_INC-2026-0142.jsonl conversation_turns:55432 → session.jsonl:421:198432 ▼Raw bytes ──► absolute ground truth — never movesIf you ask the agent “where did you get this?” it walks back to the bytes. Nothing in the system stores claims that cannot be verified.
Read next
- Day 2 — Orchestration + reveal — see this in the architecture map
- Day 3 — Office library walkthrough — walk a live case folder
- LIFEOSAI substrate — the first pillar
- References — full architecture documents