Skip to main content
Every agent run executes in an isolated container (sandbox) with a pre-configured environment. The sandbox is created fresh for each run and destroyed after completion.

What’s pre-installed

The casedev CLI

The CLI is pre-authenticated with a scoped API key — no login required. The agent can call any Case.dev service:

Vault operations

Vault operations
See the CLI File uploads reference for the complete upload flow (presigned URL → S3 PUT → confirm → ingest).
Legal research
Web search

Other services

Other services
Run casedev --help inside the sandbox to see all available commands, and casedev <resource> --help for per-resource flags. Command names are colon-separated (vault:objects, llm:v1:chat), not space-separated.

Agent tools

The AI agent has access to these tools for working within the sandbox: The agent uses these tools autonomously to complete your prompt. For example, when asked to “search a vault and compile a report,” it will:
  1. Run casedev vault list via bash to find vaults
  2. Run casedev vault search --id <vault_id> --query ... to find relevant content
  3. Use write to create a markdown report
  4. Run the casedev vault upload → S3 PUTcasedev vault confirm-upload flow to store the report
  5. Run casedev vault:objects create-presigned-url to obtain a download URL

Sandbox resources

Configure resources when creating the agent:

Filesystem

The sandbox starts in /workspace with a clean filesystem. The agent can create, read, and modify files freely. Key paths:
The sandbox filesystem is ephemeral. Files are destroyed when the run completes. To persist results, upload them to a vault using the casedev vault upload presigned-URL flow.

Security model

Each sandbox is fully isolated:
  • Dedicated container — no shared state between runs
  • Scoped API key — the agent’s key only has access to authorized vaults and services
  • Network isolation — outbound access only, no inbound connections
  • Auto-cleanup — sandbox is destroyed after run completes or times out
The agent’s API key is automatically revoked if the agent is deleted.

Limitations