the universal sandbox runtime for agents and humans.
pocketenv.io
sandbox
openclaw
agent
claude-code
vercel-sandbox
deno-sandbox
cloudflare-sandbox
atproto
sprites
daytona
1
2
3[](https://discord.gg/9ada4pFUFS)
4
5[](https://github.com/pocketenv-io/pocketenv/actions/workflows/deploy.yml)
6
7**Pocketenv** is an open sandbox platform — for agents, for tinkerers, for anyone tired of being locked into one provider's ecosystem.
8
9Spin up isolated environments, run code, test weird ideas. No drama.
10
11<a href="https://pocketenv.io/new?repo=tangled:pocketenv.io/pocketenv" target="_blank"><img src="https://pocketenv.io/open-in-pocketenv.svg" alt="Open in Pocketenv" /></a>
12
13
14> [!NOTE]
15> **heads up — still in early dev**
16>
17> Things will break. APIs will change. We move fast. You've been warned (and we appreciate your patience).
18
19
20
21
22
23---
24
25## Install
26
27**Bash:**
28```sh
29curl -fsSL https://cli.pocketenv.io | bash
30```
31
32**npm:**
33```sh
34npm install -g @pocketenv/cli
35```
36
37**Homebrew (macOS/Linux):**
38```sh
39brew install pocketenv-io/tap/pocketenv
40```
41
42**Nix (Flakes):**
43```sh
44nix profile install github:pocketenv-io/pocketenv
45```
46
47**Arch Linux:**
48```sh
49yay -Syu pocketenv
50```
51
52---
53
54## Why does this exist?
55
56Honestly? Because every sandbox tool out there wants you to commit to their platform. Their API, their format, their rules. Switch providers and you're rewriting everything.
57
58Pocketenv is the escape hatch. One interface, multiple backends — Cloudflare, Daytona, Deno, Vercel, Modal, E2B and more. Write once, run anywhere (for real this time).
59
60It also uses [AT Protocol](https://atproto.com) lexicons under the hood, which means sandbox definitions are open, portable, and not owned by anyone.
61
62---
63
64## Is it for you?
65
66Probably yes if any of these sound familiar:
67
68- You keep spinning up environments and tearing them down manually
69- You're building AI agents that need a safe place to run code
70- You want to test untrusted code without torching your machine
71- You're sick of rewriting glue code every time you switch sandbox providers
72- You just want a clean CLI and a reliable environment, no infra headaches
73
74---
75
76## What it can do
77
78**Run sandboxes on whatever backend you want**
79Daytona, Cloudflare Sandbox, Vercel Sandbox, Deno Sandbox, Modal, E2B — swap between them without changing your workflow.
80
81**Works with the AI tools you're already using**
82Claude Code, Codex CLI, Gemini CLI, Copilot, OpenClaw, your own agents — they all just work.
83
84**Handles the boring stuff**
85Env vars, secrets, files, volumes, SSH keys — managed cleanly so you don't have to think about it.
86
87**Open sandbox definitions**
88Sandboxes are defined using open lexicons and stored on AT Protocol PDS. That means they're versioned, shareable, and actually portable.
89
90---
91
92## Things people use it for
93
94- Giving AI agents a safe place to run code (without the anxiety)
95- Sharing reproducible dev environments with teammates
96- Testing third-party or untrusted code in isolation
97- Quick throwaway sandboxes for experiments
98- Building internal tools that need ephemeral compute
99
100---
101
102## SDKs
103
104- [JavaScript/TypeScript](https://github.com/pocketenv-io/pocketenv-js)
105- [Gleam](https://github.com/pocketenv-io/pocketenv-gleam)
106- [Clojure](https://github.com/pocketenv-io/pocketenv-clojure)
107- [Elixir](https://github.com/pocketenv-io/pocketenv-elixir)
108
109---
110
111## Docs
112
113Full docs over at [docs.pocketenv.io](https://docs.pocketenv.io)
114
115---
116
117## Feedback & bugs
118
119Open an [issue](https://github.com/pocketenv-io/pocketenv/issues/new) or come yell at us (nicely) on [Discord](https://discord.gg/9ada4pFUFS). We read everything.
120
121---
122
123## Contributing
124
125PRs are welcome. Come say hi on [Discord](https://discord.gg/9ada4pFUFS) first if you're planning something big — saves everyone time.
126
127Setup instructions are in [CONTRIBUTING.md](CONTRIBUTING.md).