TypeScript AI agent journal enables resume after crash
This article explains how to make long-running TypeScript AI agent processes durable by implementing an append-only journal file that records every model response and tool result. By using stable keys for each step, the execution can safely resume after a crash or stop to wait for human approval without losing progress or duplicating side effects. The author notes that while this simple file-based approach works well for single machines, distributed systems require dedicated workflow engines. Open article →