页面简介
OpenSandbox gives AI agents isolated environments to execute code, run commands, and operate browsers or desktops. Start with Docker and scale on Kubernetes.
正文摘录
Skip to contentReturn to topAn Agentic AI Foundation (AAIF) ProjectYour agentsYour sandbox Run AI agents on your own infrastructure. Give them isolated environments to execute code, use tools, and explore the web. Start building View on GitHubStart with Docker. Scale on Kubernetes. Open source · Apache 2.0 AI agent Code · Browser · Tools sandbox.pyExecution previewfrom opensandbox import Sandboxsandbox = await Sandbox.create("alpine")try: result = await sandbox.commands.run( "echo 'Hello OpenSandbox!'" )finally: await sandbox.destroy() Hello OpenSandbox! Fits your stack.PythonTypeScriptJava / KotlinGoC# / .NETCLIMCPA workspace for every workloadLet your agents get to work.Explore examples Agent environmentGive agents isolated environments to run tools, manage files, and execute commands.Claude CodeCodex CLIDeerFlowBrowsers & desktopsLet agents navigate the web, test interfaces, and interact with a full desktop.PlaywrightChromeDesktopCode & data analysisExecute model-generated code and work with its results through the Code Interpreter SDK.Code InterpreterEvaluation & trainingRun a separate sandbox for each trial, with resource pools and batch creation for parallel workloads.HarborRL workloadsFast Sandbox runtime Less waiting.More running. Fast, high-density sandboxes on Kubernetes. Restore Firecracker microVMs from pre-warmed capacity, and pause with memory and disk state preserved. Explore Fast Sandbox Firecracker warm creation 64msP50 · Serial creation125.4msP99 · 10 concurrentCached templateRestore microVMReadyRead the benchmark & conditions Your infrastructure. Your boundaries.Give agents access.Keep control. One sandbox API, from your laptop to your cluster. Define what agents can reach and how they use credentials. Network access control Route inbound traffic through a unified ingress gateway. Set outbound access policies for each sandbox. Credential Vault Let agents call external services while keeping real credentials out of sandbox workloads. Local to cluster Start locally with Docker. Deploy on Kubernetes through a unified, extensible lifecycle and execution API. From your first sandbox to your next idea Make roomfor your next agent. Start the server, pick your SDK, and run your first command. Your infrastructure takes it from there. Follow the quick start Use the CLIConnect with MCP1Start a local serverDocker + Python 3.10+# Initialize your Docker configuration uvx opensandbox-server init-config \ ~/.sandbox.toml --example docker # Start the server uvx opensandbox-server2Install your SDKPythonTypeScriptJava / KotlinGoC# / .NETpip install opensandboxCopyRead the Python guide Built in the open. Build with us. ContributeJoin DiscordAPI reference