You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New agvisor-mcp: an MCP server so Claude Code, VS Code and OpenCode can run code in an agvisor sandbox instead of on the host. pip install 'agvisor[mcp]', then uvx --from 'agvisor[mcp]' agvisor-mcp (needs mcp>=2; the library itself still has no dependencies, and its API is unchanged)
Two tools, run(command, timeout) and reset(). Image, network (off by default), CPU/memory and expiry come from AGVISOR_* environment variables, so the agent can't choose them
One anonymous sandbox per server process: no /workspace volume and nothing shared between projects. It expires after 10 idle minutes or 1 hour; a sandbox killed for going over memory or pids is reported as "sandbox was reset", never silently re-run
README: new "Coding agents" section with setup for Claude Code, VS Code and OpenCode, and two links that were relative are now absolute (PyPI doesn't rewrite them)
An agent skill is in the repo under .claude/skills/agvisor/ (not part of the package): when to sandbox, and the gotchas
Tested on real gVisor over ssh:// (WSL2 Ubuntu 24.04, docker 29.1.3, runsc release-20261102.0): library 9/9, MCP server 11/11, and OpenCode 2.0.27 with a real model. Claude Code was tried against a stand-in docker, VS Code not yet