Sandfort Sandbox: run AI code in isolation
This skill teaches your agent when to use a sandbox and how to drive it.
Free
Sandfort Sandbox: run AI code in isolation
Example session with this skill installed
I need to test this Python snippet that calculates Fibonacci numbers, but I don't want to run it on my laptop. Use a sandbox.
- Read your context and instructions
- Compiled the sandfort sandbox
I ran it in a disposable Sandfort sandbox instead of your machine.
What I did
create_sandbox(name="fib-test", snapshot="python:3.12-slim")->{"id": "sbx_01M88W...", "state": "started"}upload_text_file(sandbox_id, path="/tmp/fib.py", content=<your snippet>)-> uploaded 142 bytesrun_command(sandbox_id, command="python3 /tmp/fib.py", cwd="/tmp")->
{"exit_code": 0, "stdout": "[0, 1, 1, 2, 3, 5, 8, 13, 21, 34]\n", "stderr": "", "timed_out": false}
delete_sandbox(sandbox_id)-> deleted, nothing persists
Verdict
| Check | Result |
|---|---|
| Exit code | 0 |
| Output | the first 10 Fibonacci numbers, as expected |
| Timed out | false |
| Touched your files or network | no, the code ran inside the sandbox only |
The snippet is correct and safe to keep. If you plan repeated runs, I can create_snapshot the prepared environment first so the next run starts from it.
Connects securely to your tools. The creator never sees your data.
About this skill
Sandfort is a self-hosted sandbox platform for running AI-generated code: a REST API, Python and TypeScript SDKs, a CLI and a stdio MCP server (sandfort-mcp) over isolated Docker-backed sandboxes. This skill teaches your agent when to use a sandbox and how to drive it.
What it does
- Tells the agent when a sandbox is the right call: code the agent just wrote, untrusted or downloaded scripts, disposable environments, testing without the user's files, credentials or network.
- Documents the 14
sandfort-mcptools with real parameters and defaults: create, run code (Python, JavaScript, TypeScript, Bash), run commands, upload and download files, inspect the filesystem, snapshot, list and delete. - Safety defaults: pick the isolation tier on purpose (
container,gvisorormicrovm), start closed on the network with an egress allowlist, never put production secrets in a sandbox, keep the API key out of the conversation, delete sandboxes when done. - A "No server yet?" branch: a local Docker quickstart from the repository README, or the invite-only hosted evaluation beta. The agent shows commands and lets the user run or approve them; it does not edit configuration files or handle API keys itself.
What you need
- A reachable Sandfort server (self-hosted on your own Docker host, or the invite-only hosted beta for evaluation) and an API key.
- The MCP server:
uvx sandfort-mcp@0.1.0(Python 3.12+). Configuration template is in the skill.
Limits, stated plainly
- Isolation is container-based by default:
containershares the host kernel,gvisoris a user-space kernel,microvm(Kata Containers) needs KVM. If your threat model requires microVM isolation in production, Sandfort is not a fit today. - Pre-1.0 beta (version 0.1.0). Production use is self-hosted; the hosted beta is for evaluation only, with no SLA.
- The MCP tool set is small on purpose; files over 1 MiB are refused in both directions.
License and source
Skill and sandfort-mcp are Apache-2.0 and free. The skill is also on GitHub (malinele/sandfort-skills, installable with npx skills add malinele/sandfort-skills); the Sandfort server is source-available (FSL-1.1-Apache-2.0) at github.com/malinele/sandfort.
Requires Python 3.12+ and a running Sandfort server. 1 MiB file transfer limit. MCP toolset cannot set isolation tiers or egress allowlists; use the SDK for strict security requirements.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 9 days ago
- Free with an Agensi account
- Accounts
- Sandfort serverAPI key
- Software
- Sandfort MCP
Python
Git
Needs a reachable Sandfort server and an sf_ API key. No server yet? The skill walks you through a local Docker quickstart or requesting hosted beta access.
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.