跳到正文
GitHub Changelog· Allison·· 6 小时前精选AI 评分60

GitHub Copilot 本地沙箱正式可用

Local sandboxing for GitHub Copilot now generally available

AI 导读

GitHub Copilot 的本地沙箱功能正式可用,覆盖 Copilot CLI、Copilot 应用以及使用 Agent Host 的 VS Code 会话。

推荐理由

GitHub Copilot 的本地沙箱进入正式可用,读者可据此了解智能体工具执行边界的策略控制方式。

正文 · 原文

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.

The post Local sandboxing for GitHub Copilot now generally available appeared first on The GitHub Blog.

来源:GitHub Changelog · github.blog