How to Persist Cursor SDK Agent State Across Restarts (SQLite vs JSONL vs a Custom LocalAgentStore)
The Cursor SDK already persists agent state to disk so Agent.resume() can pick a conversation back up after a crash. This walks the SqliteLocalAgentStore default, the JsonlLocalAgentStore you can commit to git, and how to implement the LocalAgentStore interface for Postgres, Redis, or an in-memory CI store.