Skip to content
Soulsand Docs

Use Soulsand from your coding agent

Any agent on your computer can drive sandboxes with the soulsand CLI. Give it the signed-in CLI, the docs and a rule. Or connect it as an MCP server (soulsand mcp).

1. The CLI. Sign it in with an API key: echo "$SOULSAND_API_KEY" | soulsand login, or set SOULSAND_API_KEY.

2. The docs. llms.txt is a short index; llms-full.txt is all of these docs as Markdown (froog's, for accounts and the API: froog.tech/llms.txt). Or the docs MCP server (no key):

$ claude mcp add --transport http froog-docs --scope user https://api.froog.tech/docs-mcp
$ codex mcp add froog-docs --url https://api.froog.tech/docs-mcp
$ claude mcp add soulsand-docs -- soulsand mcp --docs    # stdio, offline

Tools: search_docs, read_docs, list_docs.

Skills. npx skills add https://froog.tech installs froog-cli, froog-seaeye, froog-sandbox-per-user, froog-desktop and froog-parallel-agents (--skill NAME for one). Index at /.well-known/agent-skills/. Main skill by hand:

$ mkdir -p ~/.claude/skills/froog && curl -fsSL https://froog.tech/skill.md -o ~/.claude/skills/froog/SKILL.md

3. A rule. Put this in AGENTS.md or CLAUDE.md:

## Cloud sandboxes (froog)

Use a froog sandbox for builds, tests, untrusted code, Docker and long jobs. Don't run them on this computer.
Docs: https://docs.soulsand.ai/llms.txt. Prices and limits: run `soulsand limits`; never quote prices from memory.

- Create: `soulsand new task-1` (returns when SSH works; `--json` prints the sandbox as JSON)
- Run: `soulsand exec task-1 -- 'cd app && npm test'` (exits with the command's exit code; `--timeout` up to 3600 s)
- Long job or server: `soulsand exec task-1 --detach -- 'npm run dev'`, then `soulsand logs task-1 JOB -f`, `soulsand kill task-1 JOB`
- Past output, also while stopped: `soulsand history task-1`, `soulsand history task-1 CMD_ID`
- One-off: `soulsand run -- npm test` (a fresh sandbox with this folder; deleted after, exits with the command's code)
- Files: `soulsand push task-1` (this folder to ~/FOLDER), `soulsand scp -r ./app task-1:app`, or `git clone` inside the sandbox
- Public URL for a port: `soulsand host task-1 3000`
- Always pass the sandbox name.
- When done: `soulsand stop task-1` (keeps the disk 14 days) or `soulsand delete task-1 --yes` (erases it)