{"id":50915998,"url":"https://github.com/edlsh/pi-extension-e2b","last_synced_at":"2026-06-16T15:01:38.971Z","repository":{"id":356372280,"uuid":"1188962748","full_name":"edlsh/pi-extension-e2b","owner":"edlsh","description":"E2B cloud sandbox integration for pi — redirects all tool execution to a secure remote E2B sandbox","archived":false,"fork":false,"pushed_at":"2026-05-07T18:33:44.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T20:37:39.033Z","etag":null,"topics":["ai-agents","cloud","e2b","pi","sandbox","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edlsh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-22T20:16:47.000Z","updated_at":"2026-05-07T18:33:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/edlsh/pi-extension-e2b","commit_stats":null,"previous_names":["edlsh/pi-extension-e2b"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/edlsh/pi-extension-e2b","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlsh%2Fpi-extension-e2b","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlsh%2Fpi-extension-e2b/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlsh%2Fpi-extension-e2b/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlsh%2Fpi-extension-e2b/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edlsh","download_url":"https://codeload.github.com/edlsh/pi-extension-e2b/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlsh%2Fpi-extension-e2b/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34410784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","cloud","e2b","pi","sandbox","typescript"],"created_at":"2026-06-16T15:01:37.633Z","updated_at":"2026-06-16T15:01:38.967Z","avatar_url":"https://github.com/edlsh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pi-extension-e2b\n\nE2B cloud sandbox integration for [pi](https://github.com/earendil-works/pi-mono). Redirects all tool execution (bash, read, write, edit, ls, find, grep) to an [E2B](https://e2b.dev) cloud sandbox, giving the agent a full Linux environment with internet access — completely isolated from your local machine.\n\n## Install\n\n```bash\npi install npm:pi-extension-e2b\n```\n\n## Setup\n\nSet your E2B API key:\n\n```bash\nexport E2B_API_KEY=your_key_here\n```\n\n## Usage\n\n```bash\npi --e2b                          # Create new sandbox (no file sync)\npi --e2b --e2b-sync              # Create new sandbox and sync local files\npi --e2b --e2b-template custom    # Use a custom E2B template\npi --e2b --e2b-sandbox \u003cid\u003e       # Reconnect to an existing sandbox\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `/e2b` | Show sandbox status \u0026 info |\n| `/e2b-upload` | Upload local file(s) to the sandbox |\n| `/e2b-download` | Download file(s) from the sandbox |\n| `/e2b-reconnect` | Connect to an existing sandbox by ID |\n\n## Keyboard Shortcut\n\n**Ctrl+Shift+E** — Toggle E2B sandbox on/off mid-session.\n\n## LLM-Callable Tools\n\n| Tool | Description |\n|------|-------------|\n| `e2b_port_url` | Get the public URL for a port running in the sandbox |\n\n## How It Works\n\nWhen enabled, the extension replaces all 7 built-in pi tools (bash, read, write, edit, ls, find, grep) with E2B-backed implementations that execute in the remote sandbox. File sync uses `git archive` (or tar fallback) to upload your project. A keepalive timer extends the sandbox timeout automatically.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedlsh%2Fpi-extension-e2b","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedlsh%2Fpi-extension-e2b","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedlsh%2Fpi-extension-e2b/lists"}