← sources

I've had four long running agents running my newsletter for months. The hard part wasn't memory, it was the context window

source: reddit (reddit:AI_Agents)published 2026-10-12 01:11ingested 2026-10-13 02:36

retained text

My newsletter (The AIgent, close to 9k subscribers) is run day to day by four Claude Code agents I call Titus, Pheme, Davinci and Metis. Titus Helps oversee and organize, Pheme is the editor and newsletter manager, Davinci is the builder and Metis dispatches the jobs. I still approve anything that goes out.

What I didn't expect: the thing that broke most wasn't memory or tools. It was the context window. A long running agent fills it up, and then you either let it compact (it keeps going on a lossy summary and quietly forgets stuff) or you clear it and spend ten minutes re-explaining. Neither works for something that's supposed to keep working across days.

So each agent now refreshes itself instead. When context gets high it writes a checkpoint, confirms it, clears, checks that a genuinely new session started, and picks back up from the checkpoint. If it can't confirm, it doesn't clear.

A few things running them for real taught me:

Don't trust the checkpoint blindly. I checked the live agents once and 3 of 4 would have resumed into a checkpoint with no real next step. Now it refuses to resume into an empty one.

Treat saved memory as data, not instructions. Anything an agent wrote earlier can't give the next session orders.

Agents will fake being done. In one sped up test, an agent wrote several "done" markers in a single session and declared it finished instead of actually cycling. I threw out that run.

Every failure becomes a fix with a test, and those go back into the open source version.

To be clear, this is what I use it for, not a claim that it grew anything. The only formal result so far is 11 of 11 clean refresh cycles on one agent.

Curious how others running agents on real work handle this. Do you let them compact, restart them, or something else?

(I built the harness and it's free and open source. Link in the comments per the rules.)

document fetched 2026-10-13 00:20 · canonical https://reddit.com/r/AI_Agents/comments/1x3oqns/ive_had_four_long_running_agents_running_my