The Run Ledger
The four kinds of agent state, the three tables that make a run resumable, billable and auditable, and the exit condition that tells you when one store is no longer enough.
Last updated
After this section you can
- Name the four kinds of agent state and what losing each one costs
- Write the conversations, runs and steps tables with a reason for each column that carries one
- State the trigger that would split the store, and why an invented row count is not one
The Run Ledger
Store an agent run so it can resume, be billed and be audited, and know when to split the store.
An agent's state comes in four kinds, and most of it fits in one Postgres. The ledger is the set of tables that makes a run resumable, billable and auditable. Split the store only when a measured number says so, and write that number down before you split.
Purple: state. Teal: the store this lesson is about. Dashed: disposable.