What problem does it solve?
Long-running agent tasks lose important information when older tool results are automatically pruned from the finite context window, causing agents to forget URLs, IDs, and analysis conclusions they still need.
Core Features & Use Cases
- Save-as-you-go extraction: Immediately copies key data from tool results into
_working_notes or _preserved_data before pruning removes the originals.
- Selective preservation guidance: Defines what to extract (URLs, API fields, specific values, conclusions) versus what to discard (raw JSON blobs, full pages, entire files).
- Database-backed handoffs: Routes cross-task state through
progress.db fields like steps.evidence and tasks.last_error instead of shared-buffer blobs.
- Use Case: A worker agent scraping multiple pages saves each target URL and key snippet as it goes, so when early results are pruned at the context limit, it can still compile the final report.
Quick Start
Instruct the agent to preserve important values from each tool result into working notes so nothing critical is lost when older context is pruned.