# Cloudex > Cloudex is an open-source (MIT) CLI and API that gives coding agents Linux computers, called sandboxes, on Cloudflare Containers in the user's own Cloudflare account. Each sandbox is an Ubuntu machine with a shell, SSH, Docker, Node, Python, Claude Code and Codex. Stopping a sandbox saves its disk and resuming brings it back; sandboxes can be forked, share ports as HTTPS preview links, and show a desktop with Chrome. There is no hosted service: the user deploys the API to their own account and Cloudflare bills them directly. - These docs describe Cloudex v0.2.3. Install the CLI with `curl -fsSL https://cloudex.build/install | sh`, then run `cloudex deploy`. - Each user's API runs at their own URL, `https://cloudex-api..workers.dev`. `cloudex status --show-key` prints it and the admin key; the OpenAPI document is at `/v1/openapi.json`. - Every page below is Markdown. [llms-full.txt](https://cloudex.build/llms-full.txt) has all of them in one file, and each HTML page is at the same address without `.md`. ## Get started - [Get started](https://cloudex.build/docs/index.md): What Cloudex is, what you need, and how to go from installing the CLI to a shell in your first sandbox. - [Deploy and update](https://cloudex.build/docs/deploy.md): Install Cloudex in your Cloudflare account with cloudex deploy, use it from a second computer, check the setup, and update the CLI and the deployment. - [Dashboard](https://cloudex.build/docs/dashboard.md): Your deployment's own web dashboard, with sandboxes, terminals, desktops, agents, commands, files, named saves, nodes and access, signed in from the CLI, with a code, or with a token. - [Nodes](https://cloudex.build/docs/nodes.md): Run sandboxes on a Linux machine of your own, a home server or a VPS, under the same deployment, CLI, API, SDKs and dashboard, with cloudex node add and cloudex new --on. What works there, ssh straight to it from your LAN or tailnet, how isolated it is, and what the machine can see. ## Use sandboxes - [Sandboxes](https://cloudex.build/docs/sandboxes.md): Create, list, change, stop, resume and delete sandboxes, pick a size or a node, run commands at every start, manage a sandbox from inside it, and how idle stop, the 6-hour limit, saves and backups work. - [Variables, files and repos](https://cloudex.build/docs/settings.md): Give a sandbox environment variables and files at every start, and a repo cloned when it's created, with cloudex new, cloudex env and the SDKs. GitHub tokens let git and gh work with private repos. - [Connect to a sandbox](https://cloudex.build/docs/connect.md): Open a shell with cloudex ssh, reach sandboxes from scp, rsync and editors, run commands with cloudex exec, share ports as HTTPS preview links and revoke them, and forward ports. - [Commands, files and CI](https://cloudex.build/docs/commands.md): Run commands with their output as it comes, leave long jobs and servers running in the background, copy files in and out with cloudex cp, and run CI jobs in a fresh sandbox with cloudex run. - [Forks](https://cloudex.build/docs/forks.md): Make up to ten new sandboxes that start from a copy of one sandbox's whole disk, with cloudex fork or cloudex new --from --count. - [Named saves](https://cloudex.build/docs/saves.md): Keep a copy of a sandbox's disk under a name until you delete it, start new sandboxes from it with cloudex save and cloudex new --from, and move sandboxes between Cloudflare and your nodes. - [Desktop](https://cloudex.build/docs/desktop.md): Open a Linux desktop with Chrome and a terminal from a sandbox in your browser, share it with a link, and automate its Chrome on localhost:9222. - [Coding agents](https://cloudex.build/docs/agents.md): Run Claude Code, Codex or OpenCode on a task in a sandbox with cloudex prompt and reattach with cloudex attach, or without a terminal with cloudex agents, the API and the SDKs. - [Provider keys](https://cloudex.build/docs/keys.md): Give Claude Code, Codex, OpenCode and anything else in your sandboxes an AI provider's API key that never enters a sandbox, with cloudex keys. - [Tokens and sign-in](https://cloudex.build/docs/tokens.md): Give CI, coding agents and your other computers API keys of their own, with a role, limited to their own sandboxes if you like, expiring, and revocable at once. Sign a computer in with a code. ## Build on Cloudex - [SDKs](https://cloudex.build/docs/sdk.md): Drive sandboxes from TypeScript or Python: create, fork, run commands, run Claude Code or Codex on tasks, get preview links, start the desktop, stop and resume, and place sandboxes on your nodes. - [HTTP API](https://cloudex.build/docs/api.md): The JSON API each deployment serves, which the CLI and SDKs use: the admin key, every endpoint, request and response bodies, streamed and background commands, files, agents and their events, nodes, errors, and the OpenAPI document. - [Use Cloudex from your coding agent](https://cloudex.build/docs/coding-agents.md): Let Claude Code, Codex or another coding agent on your computer create and drive Cloudex sandboxes, with a skill, an AGENTS.md snippet and the docs as plain text. ## Reference - [Limits](https://cloudex.build/docs/limits.md): What Cloudex sandboxes can't do: no public IP or inbound TCP and UDP, no /dev/kvm or GPU, Docker on the host network only, size and time limits, and how saves expire. - [Feedback and bug reports](https://cloudex.build/docs/feedback.md): Report a bug, an idea or a question with cloudex feedback, from your computer or inside a sandbox, and what a report holds. Security problems go to private reporting. ## Optional - [CLI reference](https://cloudex.build/docs/cli.md): Every cloudex command and flag in v0.2.3, from the CLI's own help, with the environment variables it reads. - [Source code](https://github.com/lucataco/cloudex): the CLI, API Worker, sandbox image and SDKs, MIT licensed. - [TypeScript SDK on npm](https://www.npmjs.com/package/cloudex): the `cloudex` package.