{
 "schema_version": 1,
 "generated": "2026-11-01",
 "id": "earendil-works-pi--run-pi-inside-a-sandbox",
 "repo": "earendil-works/pi",
 "repo_url": "https://github.com/earendil-works/pi",
 "repo_slug": "earendil-works-pi",
 "title": "Run Pi with stronger boundaries in a container or micro-VM",
 "page_title": "How to run Pi with stronger boundaries in a container or micro-VM with Pi",
 "summary": "Follow Pi's containerization options so the agent cannot touch everything your user account can.",
 "who": "A security-minded developer who wants an agent but not unrestricted file and network access.",
 "problem": "By default Pi can read files, run processes and use the network as you.",
 "outcome": "Pi running in Docker, OpenShell or with tools routed into a local Linux micro-VM via the Gondolin extension.",
 "steps": [
  "Read the containerization guide linked from Permissions and Containerization",
  "Choose plain Docker for simple isolation of the whole Pi process",
  "Or use the Gondolin extension to keep provider auth on the host while built-in tools run in a micro-VM",
  "Or run Pi inside an OpenShell policy-controlled sandbox"
 ],
 "agent_prompt": "Set up earendil-works/pi so it runs isolated on this machine: compare the README's Docker, Gondolin and OpenShell options for my <OS> and configure the one that keeps provider auth on the host.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "This card is written from the earendil-works/pi README, not from a test run by Deduped. Before you start, make sure you have Node.js 22.19 or newer. Check the repo for newer instructions before you rely on these steps.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 22.19 or newer (the installers can install it)",
  "A subscription or API key for a built-in AI provider, connected with /login",
  "Optional: Nix, Docker or a micro-VM if you want sandboxing"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/earendil-works-pi/run-pi-inside-a-sandbox/",
 "md": "https://dedupedai.com/use-cases/earendil-works-pi/run-pi-inside-a-sandbox/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/earendil-works-pi--run-pi-inside-a-sandbox.json",
 "api_version": "v1"
}
