Harrison Chase explains the context management in Deep Agents: compaction should reduce what is sent to the model, not erase the underlying work history. Each agent has a filesystem. When a tool result is too large it is written to /large_tool_results and the model sees only a preview; when a conversation grows long, old messages are first offloaded to /conversation_history and then summarized. An agent can also trigger the same flow itself through a compact_conversation tool.
Written by DigestOps's AI editor and checked against the original. Read the original for the full story.