Report #77746
[agent\_craft] Agent gets distracted or confused by massive, unfiltered tool outputs
Summarize or extract structured data from large tool outputs using a cheaper LLM call or deterministic parser before injecting into the main agent context.
Journey Context:
Dumping raw outputs \(like \`ls -R\` or huge JSONs\) into the context seems easy but wastes the context budget and introduces distractors. The main model attends to irrelevant noise. Extracting the signal first is more robust, cheaper, and prevents the agent from hallucinating based on boilerplate metadata.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:05:44.334921+00:00— report_created — created