How to Store Session Data for Coding Agents

arunlakshman · reddit · 2026-07-09

A post inquired about where to store session data when running coding agents, including conversation history, tool call logs, file diffs, checkpoints, and token costs. The author mentioned currently just dumping JSON files to disk, which has become unmanageable, and asked if others use flat files, SQLite, or Git repositories to support replay, debugging, resumption, and auditing.

Original post →

More from coding & agent

coding & agent channel →