GitHub Copilot Agent Mode Stuck or Failing

Share
Ongoing VS Code Updated November 14, 2026Based on 3 user reportsHow we research

Quick answer

Agent runs that hang or loop are usually context overflow and repeated summarization, or a heavy workspace. Reduce context and update VS Code.

Most likely fix: Reset the session

How to fix it

Try these in order — the most common fix is first.

  1. 1. Reset the session

    1. Stop the agent, start a new chat with a narrower task
    2. Undo unwanted file changes via Source Control
    Did this fix it?
  2. 2. Tune summarization

    1. Try toggling github.copilot.chat.summarizeAgentConversationHistory.enabled in settings
    Did this fix it?
  3. 3. Update or roll back

    1. Update VS Code and Copilot Chat; if a new build broke it, install the previous version
    Did this fix it?

Symptoms

Stuck 'thinking', repeated 'Summarizing conversation history', request failed or out-of-memory.

Why it happens

  • Context window fills and compaction repeats
  • Very large workspace
  • Extension version bugs

This guide also covers

  • copilot agent mode stuck
  • copilot agent mode not working

Still not working?

If GitHub Copilot keeps failing, you're not alone. See every GitHub Copilot problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other GitHub Copilot errors

All 12 GitHub Copilot errors and fixes →