The ledger comes before chat
Messages, model calls, tool outcomes, goals, branches, artifacts, and runtime decisions enter one ordered event stream. Chat and the inspection UI are projections of that durable record.
A local-first work ledger for inspectable, recoverable agent runs
Napier records a long-running task in a local SQLite ledger. Open its timeline to inspect a tool call, resume an interrupted run, or branch from an earlier step.
The chat, task view, and execution timeline all read from the same sequence of events. Each tool result, approval, and output file keeps its place in the history, so you can see what happened before a run stopped.
BUILT WITHTypeScript, Hono, SQLite WAL, React / Preact, TypeBox, OTLP / JSON
Messages, model calls, tool outcomes, goals, branches, artifacts, and runtime decisions enter one ordered event stream. Chat and the inspection UI are projections of that durable record.
Leased runs, persistent goals, budgets, operator decisions, sequence-accurate branches, explicit resume, and safe read-only recovery let eligible interrupted work continue without reconstructing state from chat.
Workspace confinement, execution-time tool-policy checks, preview-bound changes, sandboxed execution, loop guards, and verification remain in the main execution path, with their outcomes recorded in the same ledger.
Open the trajectory view to see when a tool ran, how long it took, and what it returned. The workspace explorer opens files produced by the task beside the conversation.
Workflow and concept illustrations explain the project's mechanisms. Implementation details are documented in the text and project references.
Enlarge illustration
Enlarge illustration