SQLite & Backend
FinOps & Ledgers · Nov 19, 2026 · 6 min read
Token Spend Ledgers: Double-Entry Cost Accounting for Every LLM Call in Python
Treating model spend like money, not metrics: an append-only, balanced ledger that reconciles provider invoices to the cent and halts runaway agents before the bill does.
SQLite & State · Nov 19, 2026 · 5 min read
SQLite WAL for Agent State: Zero-Lock Checkpoints Under Concurrent Writers
Why "database is locked" haunts background agents, and the four pragmas plus one retry wrapper that turn a single SQLite file into durable, crash-safe agent memory.