Running 50+ step agent tasks on a 64k context: summarization, project memory and a scratchpad

forevergeeks · reddit · 2026-12-02

A Redditor shares how they run long-loop agent tasks (server upgrades, 50+ tool-call troubleshooting) on local models with small context windows, where bigger contexts actually make agents struggle more.

Their fix is a three-layer memory combo: conversational history with summarization, project memory, and a local scratchpad for immediate working state. With this setup, their sysadmin, cybersecurity, and coding agents all finish long tasks on a default 64k context window. The post invites others to share their approaches to keeping agents on track.

Original post →

More from coding & agent

coding & agent channel →