cd /news/ai-agents/local-sandboxing-for-github-copilot-… · home › topics › ai-agents › article
[ARTICLE · art-147062] src=github.blog ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Local sandboxing for GitHub Copilot now generally available

GitHub made local sandboxing generally available for GitHub Copilot across Copilot CLI, the GitHub Copilot app, and VS Code sessions using Agent Host, giving developers a secure execution boundary for agentic workflows on their own machines. The feature is powered by Microsoft eXecution Container (MXC), which translates a common sandbox policy into native operating-system controls on Windows, macOS, and Linux, restricting agent-run commands' access to the filesystem, network, credentials, and other system capabilities. Local sandboxing is included with GitHub Copilot at no additional cost, and enterprise-managed settings can require sandboxing and enforce policies developers cannot weaken.

by read1 min views1 publishedOct 7, 2026
Local sandboxing for GitHub Copilot now generally available
Image: GitHub Changelog

Local sandboxing for GitHub Copilot is now generally available in GitHub Copilot CLI, the GitHub Copilot app, and VS Code sessions using Agent Host.

Local sandboxes give developers a secure execution boundary for agentic workflows on their own machines. Tools and commands initiated by Copilot run with restricted access to the filesystem, network, credentials, and other system capabilities, based on policies defined by the developer or their organization.

Local sandboxing is powered by Microsoft eXecution Container (MXC), which translates a common sandbox policy into native operating-system controls across Windows, macOS, and Linux.

With local sandboxing, developers and organizations can:

  • Limit the files and directories that agent-run commands can read or modify.
  • Control access to the internet, local networks, Git credentials, and GitHub CLI credentials.
  • Apply sandboxing to local tools and services, including local MCP and language servers where supported.
  • Use enterprise-managed settings to require sandboxing and enforce policies that developers cannot weaken.
  • Adopt more autonomous agent workflows while maintaining clear boundaries around what Copilot can access.

Model execution and tool isolation are separate concerns. Sandbox policies apply to tool execution regardless of which model Copilot uses.

Local sandboxing is included with GitHub Copilot at no additional cost. To get started, see About cloud and local sandboxes for GitHub Copilot.

── more in #ai-agents 4 stories · sorted by recency
── more on @github 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/local-sandboxing-for…] indexed:0 read:1min 2026-10-07 · —