Copilot CLI gets built-in agents and proper context management
The January Copilot CLI update adds built-in agents, auto-compaction, new install routes and scripting flags. Here is what matters for teams using it day to day.

GitHub shipped a sizeable GitHub Copilot CLI update on 14 January 2026. It is still in public preview (it has been since September 2025), but this release is the one where it starts to feel like a tool you can hand to a whole team rather than a toy for the keen few.
The headline items are built-in agents, much better handling of long sessions, and installation routes that do not depend on Node being set up just so. There is also a pile of smaller changes aimed at people who script the CLI or run it in pipelines.
What was announced
Models
- GPT-5 mini and GPT-4.1 are included and do not consume premium requests on paid plans.
- If you are on Pro or Pro+ and pick a model that is disabled by policy (through the model picker,
/modelor--model), the CLI now prompts you to enable it instead of just failing.
Built-in agents
- Four agents ship in the box: Explore, Task, Plan and Code-review.
- The CLI delegates to them automatically, several can run in parallel, and they work with Agent Skills.
New ways to install
winget install GitHub.Copiloton Windows,brew install copilot-clion macOS, or the install script withcurl -fsSL https://gh.io/copilot-install | bash. These routes auto-update.- It is now in the default Codespaces image and available as a Dev Container Feature, and standalone executables are attached to the releases.
- If you installed through npm, update with
npm install -g @github/copilot@latest.
Scripting and automation
- New flags for
copilot -p:--silent,--share,--share-gist,--available-tools,--excluded-toolsand--additional-mcp-config. GITHUB_ASKPASSsupport for CI/CD authentication.- Copilot Spaces tools are now part of the GitHub MCP server.
Context management
- Auto-compaction kicks in at 95% of the token limit, and you can trigger it yourself with
/compact. /contextshows what is using your context window.--resumenow lets you TAB through both local sessions and remote coding agent sessions.
Quality of life
- Diffs use your Git pager,
/cwdand/add-dirget tab completion, Ctrl+T shows the model’s reasoning, and commands run by the agent stay out of your shell history. - A new
web_fetchtool, withallowed_urlsanddenied_urlsrules in~/.copilot/config. Those same rules apply tocurlandwgetrun by the agent.

What it means for organisations
The built-in agents are the bit I care about most. On my projects the pain with agentic tools is rarely the model, it is the single long conversation that drifts and fills up. Having Explore and Plan as separate agents means the main session stays focused, and parallel delegation makes “go and look at these three areas” a reasonable ask rather than a slow one.
Context management matters for the same reason. Auto-compaction at 95% is a sensible default, but I would teach people to use /context and /compact deliberately. A tidy context gives better answers and fewer surprises.
The install changes are a quiet win for IT. WinGet and Homebrew are channels most organisations already manage, and auto-update removes the “which version are you on” conversation. Being in the default Codespaces image also lowers the barrier for teams already standardised on dev containers.
The scripting flags and GITHUB_ASKPASS are where this crosses from developer laptop into pipeline. That is useful, but it is also where governance needs to catch up. --available-tools and --excluded-tools let you narrow what the agent can do in a non-interactive run, and I would treat those as mandatory in CI rather than optional.
The web_fetch allow and deny lists deserve attention from security teams. Applying the same rules to curl and wget closes an obvious gap. It is not a full egress control, so keep your network controls in place, but it is a sensible first layer.
And the usual caveat: this is still public preview. Expect behaviour to change, and do not build critical automation on flags that might be renamed.


