Features
How Blog Docs Sign in Connect

All questions

Agent question

Why does my AI agent drop or forget context?

Updated

Short answer: Because every model has a limited context window, and long agent runs fill it with tool output, file contents, and retries. When it fills, older material gets cut or summarized, and the instructions you gave at the start are often the first thing to go. Shorter runs, standing rules in a file the agent re-reads, and quieter tool output fix most of it.

Common causes

How to check

Find the point where behavior changed: early in the run the agent followed your rule, later it didn't. Note how long the session was by then and whether it had compacted. If your tool shows tokens per call, look for calls that resend the same large block again and again.

What to change

Where Overdrive helps

When usage is connected, you can ask Overdrive which runs ran longest before finishing and how often the same prompt gets sent again. It works from counts, not your prompt text, and every answer cites the rows behind it. Its Agent health page flags agents that start tasks with the context already full.

Related

Meet Overdrive

Overdrive, your efficiency agent

Add Overdrive to Claude, ChatGPT, Cursor, Codex, or Grok Bot and ask how your agents are doing.