Quiz 7 Question 14 of 20

After deploying a long-running research agent, you notice it consistently fails with a context window overflow error after approximately 50 tool calls. Inspection shows the agent appends every tool result in full to its running context and never removes or compresses any of it. Which remediation best solves this problem?

Select an answer to reveal the explanation.

Motivation