The Agent That Runs The Lab

The Agent That Runs The Lab An architecture diagram generated by Archify. Wrap · capture at session end · The agent and its memory Wrap capture at session end Dream · groom notes from the archive · The agent and its memory Dream groom notes from the archive Optimize · measure, then tune · The agent and its memory Optimize measure, then tune Team Wiki · the notes, for people · Shared stores and surfaces · js.wiki Team Wiki the notes, for people Instruments · collectors, run on a schedule · Shared stores and surfaces · n8n.io Instruments collectors, run on a schedule Layer 1 — Index · always loaded · The agent and its memory Layer 1 — Index always loaded Layer 2 — Facts · looked up by topic · The agent and its memory Layer 2 — Facts looked up by topic Layer 3 — Archive · every past session · The agent and its memory · qdrant.tech Layer 3 — Archive every past session Relational Store · wiki and board live here · Shared stores and surfaces · PostgreSQL Relational Store wiki and board live here Telemetry Store · logs, costs, readings · Shared stores and surfaces · ClickHouse Telemetry Store logs, costs, readings Operator · one person, one terminal · Architecture component Operator one person, one terminal Prompt Hook · fires before every turn · The agent and its memory Prompt Hook fires before every turn The Agent · reads, decides, acts · The agent and its memory · Claude The Agent reads, decides, acts Session Hook · fires when a session ends · The agent and its memory Session Hook fires when a session ends Kanban Board · the plan of record · Shared stores and surfaces · planka.app Kanban Board the plan of record The Publication · findings, in public · Shared stores and surfaces · Vercel The Publication findings, in public Model Gateway · one door, spend caps · Architecture component · docs.litellm.ai Model Gateway one door, spend caps Model Router · one key, many models · Architecture component · OpenRouter Model Router one key, many models Model Vendors · frontier and open weight · Architecture component · Anthropic Model Vendors frontier and open weight Control Panel · one dashboard, everything · Architecture component · Next.js Control Panel one dashboard, everything types a request adds clock + recalled notes always carried looks up by topic writes the transcript proposes, then writes reads what happened every model call notes mirrored here daily readings published from here dashboard reads it The agent and its memory Shared stores and surfaces Legend Human surface Does the work Stores state Models and hosting Fires on its own Routine Outside

Three Layers

  • • Always loaded, looked up, or searched

Nothing Writes Unsupervised

  • • Every routine proposes before it writes

One Door For Models

  • • Every call is capped, routed and recorded