Dev instances guide

A workbench for your repository

A Dev instance (devbox) is a cloud workbench sized for one repository, with your selected coding agents installed. Use one to move builds and agent work off your computer, or give separate tasks their own environment. PitchStation keeps the registry, policy and telemetry; the operator’s machine performs cloud and SSH actions.

Start at Dev instances. For setup and lifecycle operations, give your agent the pitchstation-devbox skill. For several instances working together, follow the fleet work guide and tutorial. Agents can read this guide as Markdown (中文 Markdown).

Access and preparation

Managing an instance requires the explicit devbox.manage capability; administrators have it. A shared Team can read an instance’s registry information without that capability. Read access grants no cloud or SSH credential. The API is available only when the server enables DEVBOX_API=1.

The operator needs Python 3, Git, the AWS CLI and SSH, an authorized AWS profile, a PitchStation token with devboxes:read and devboxes:manage, and the skill’s companion files. Token scopes do not grant the capability. Let the agent read the skill’s setup instructions before provisioning. Never paste credentials into a task prompt.

Live cloud lifecycle examples: Not verified in this release. The commands below were checked against CLI help and code, without provisioning or contacting a real remote. Replace INSTANCE, REPOSITORY_PATH and i-INSTANCE_ID with values from your own checkout and registry. Commands assume the installed skill directory is on your path, or that you invoke its devbox.py with Python 3.

Sizes and all-in monthly prices

The product’s price list is version 2026-11-14: USD estimates using 730 hours/month, its Oregon compute rates, gp3 disk at $0.08/GB/month, and public IPv4 at $0.005/hour ($3.65/month). Running = compute + disk + IPv4; stopped = disk + IPv4. These are the product’s stored estimates, not a current cloud quote. Extra disk changes the estimate. Read the price and version shown on your instance before approving spending.

Default disk allocation · USD/month
SizeRAMDiskarm64 runningx86_64 runningStopped, either CPU
XS0.5 GB8 GB$7.36$8.09$4.29
S2 GB20 GB$17.51$20.43$5.25
M4 GB40 GB$31.38$37.22$6.85
L8 GB60 GB$57.51$69.19$8.45
XL16 GB100 GB$109.76$133.12$11.65
T48 GB60 GB$114.30$138.76$8.45
T816 GB100 GB$223.35$272.26$11.65

T4 (4 CPUs) and T8 (8 CPUs) are credential-free test runners on c7g (Arm) or c7i (x86). They require an explicit monthly compute-hours budget, stay outside profile sizing and the resize ladder, and accept no agents, repository credentials or tokens. Their cap commitment, even while stopped, is stopped price plus hourly compute × budgeted hours. The table shows 730 running hours, not that budget. Compute rates checked by the owner on AWS on 2026-11-14: T4 Arm $0.1450/hour, x86 $0.1785/hour; T8 Arm $0.2900/hour, x86 $0.3570/hour.

devbox.py provision-test --name TESTBOX --size T8 --arch arm64 --monthly-hours 40

XS is agent-only, with no repository; repository sizing uses S–XL. The scanner and sizing service consider repository signals and concurrency. S fits small sites or a small JS package; M fits a TS workspace; L fits larger TS/JVM work; XL covers heavier builds. These are catalog fit hints, not a guarantee. Review architecture compatibility and the agent’s sizing reasons.

An administrator sets your monthly cost cap. Reservations and resize intents check the sum of running-price commitments before allocation; stopped instances still count at their running rate because they can be started again. T4/T8 use stopped price plus their monthly hours budget instead. The page shows committed monthly cost and estimated cost to date. Stopping reduces ongoing compute cost but does not free that commitment.

Open an instance

There is no Create button on the registry page. In your repository, ask an agent with the skill to scan, size and quote first. After spending and setup are approved, it reserves the name and capacity in PitchStation, runs the local provisioner, and sends committed code by Git. The API makes the reservation; it does not launch the cloud instance. Once ready, connect with the generated SSH alias as shown below.

devbox.py size REPOSITORY_PATH
devbox.py provision REPOSITORY_PATH --name INSTANCE --agents claude,codex
ssh INSTANCE

Ask your agent

Read the pitchstation-devbox skill and open a Dev instance for <REPOSITORY_PATH>. First show the size, architecture, agents, all-in running and stopped monthly cost, pricing version and cost-cap result. Confirm spending and cloud setup before provisioning. Preserve existing work and send committed code by Git. Do not copy credentials without my explicit choice.

What is installed

Bootstrap installs the selected agents from the pinned catalog: Claude Code, Kimi CLI and/or Codex CLI. The catalog endpoint GET /api/devboxes/agents lists versions and login hints; installation does not authenticate an agent. Sign in to the selected vendor or explicitly provide its API credential before running AI work.

Base packages include Git, ripgrep, jq, curl, unzip, build tools, Python 3 and GNU time. Agent needs and repository signals select Node through nvm/Corepack, Python through uv, OpenJDK/Maven or Docker/Compose. Not every toolchain is installed on every instance. Check project-specific dependencies before work. The bootstrap also installs the reporter, memory sampler and their systemd services, and configures key-only SSH.

Use the Dev instances page

Each card shows state, size, price version, estimated cost, repository progress and the latest report. Owner controls save idle-stop minutes and autoscale policy, and add or remove Team visibility. The Events disclosure shows registry events. Under Cloud actions (run on your machine), copy start, stop, status, resize or terminate commands; the page itself does not execute them. Sync and initial provisioning use the skill.

Reports arrive every five minutes; policy changes take effect on the next successful report. Use the command for fresh cloud/repository checks. A stopped (unconfirmed) state is not proof that cloud compute has stopped. Ask the agent to reconcile uncertain state before relying on it for cost or cleanup.

Start, inspect and stop

Copy commands from your card or ask the skill to start and inspect the instance. Stop keeps its disk and retained public IPv4; it turns off work on the whole instance. Before stopping, have the agent identify active jobs and preserve work. Status can update local Git tracking references and apply an authorized autoscale policy; it is not a passive heartbeat command.

devbox.py start INSTANCE
devbox.py status INSTANCE --repo REPOSITORY_PATH
devbox.py stop INSTANCE

Ask your agent

Using pitchstation-devbox, start <INSTANCE> and check its cloud state, repository and agent authentication. Report the observed result and any setup still needed before work.

Ask your agent

Using pitchstation-devbox, inspect active work on <INSTANCE>, preserve it and stop the instance when safe within my authorization. Confirm the cloud result and remaining disk/IPv4 cost.

Move code safely with Git

In the default operator mode, your checkout has a Git remote named devbox. Push sends committed history; uncommitted local files do not travel. Push refuses work that would overwrite unpulled commits or a dirty remote worktree. Pull requires a clean local worktree and fast-forwards only; a divergence requires review and an explicit merge/rebase or a side branch. There is no destructive directory sync.

devbox.py push INSTANCE --repo REPOSITORY_PATH
devbox.py pull INSTANCE --repo REPOSITORY_PATH

Origin mode instead requires the instance to have its own repository credentials and a clean operator checkout matching origin. For GitHub access, the skill’s github command generates a repository deploy key on the instance and registers it through the operator’s gh login. Do not copy a laptop’s private SSH key. Fleet work uses GitHub plan/result branches, rather than SSH between instances.

Ask your agent

Using pitchstation-devbox, compare <REPOSITORY_PATH> with <INSTANCE>. Show dirty files and commits on both sides, then push or pull only the safe direction. Preserve diverged work for review. Do not force-push, reset or mirror-delete files.

Choose how credentials reach the instance

Bootstrap contains no secrets. The report token is installed later over SSH and is scoped to instance telemetry. Optional vendor/repository environment values can be stored encrypted in PitchStation; ordinary responses show key names only, and only the instance owner can reveal values. Provisioning copies environment values only when you choose a local --env-file or the stored --server-env source; the remote file is ~/.devbox.env. Inspect that choice before provisioning; never put credentials in Git history.

The CLI checks tracked files and history for secret-like paths before pushing; template suffixes are treated separately. Treat this as a guard, not a full content secret scan. Keep secrets, databases and private runtime data out of commits. The fleet runner excludes all .env* files from package commits, and refuses integrations whose commits touch them; review the task result for any omission.

devbox.py env-sync INSTANCE explicitly copies your PitchStation client configuration and skill credentials to that instance; --remove removes the copied files. It is separate from code sync. Authorize that credential transfer only when needed and do not include token values in prompts, reports or logs.

Ask your agent

Read the credential-handling section of pitchstation-devbox for <INSTANCE>. Tell me which local/server environment source would be used and which key names would be copied. Wait for my explicit choice before copying credentials. Never display their values.

Idle stop and ongoing cost

The default idle-stop interval is 60 minutes; the page accepts 15–720 minutes. The reporter requires an observed quiet period with no logged-in sessions, no watched busy process and low system load. It refreshes policy when available and retries the final stopping report before shutdown; failed delivery can leave the stop unconfirmed. Idle stop is a safeguard, not a guarantee that every unattended task keeps running.

Autoscale choices are never, ask and auto. Proposals use resource observations and the cost cap. The page displays proposals; the operator CLI applies approved changes. XL requires explicit confirmation even with automatic policy. Use the fleet guide’s continuity checks for travel; keeping a process detached alone does not prove it can survive stop or reboot.

Ask your agent

Check <INSTANCE>’s idle-stop and autoscale policy, current activity and running/stopped cost. Explain whether my task could be interrupted. Propose an authorized policy change if needed, and verify it on the next report.

Resize or grow disk

Use the proposal and price on your card, then run the skill on your machine. A class resize stops and starts the instance, so schedule interruption. Disk can grow but cannot shrink; a class change retains at least the existing disk size. CPU architecture cannot change through resize. The API checks the exact class/disk intent and cost cap before the operator applies it. XL requires explicit confirmation.

devbox.py resize INSTANCE L
devbox.py grow INSTANCE 80

Ask your agent

Using pitchstation-devbox, inspect <INSTANCE> and recommend a size or disk change from measurements. Show the exact target, interruption, new all-in cost and cap result. Confirm any additional spending before applying; require explicit confirmation for XL. Preserve the current disk and verify the resulting allocation.

Retain work, then terminate

Termination destroys the instance and its root disk; the provisioner releases its public IPv4 and keeps the registry row for audit. It requires the exact cloud instance ID. A fresh remote check refuses unreconciled files, unretained commits across branches/worktrees and stashes, or an unverifiable repository. Retain work first; never use a discard override as routine cleanup. After a failed operation, ask for reconciliation rather than retrying blindly.

devbox.py terminate INSTANCE --instance i-INSTANCE_ID --repo REPOSITORY_PATH

Ask your agent

Using pitchstation-devbox, prepare to terminate <INSTANCE>. Inspect all branches, linked worktrees and stashes, and retain the work in my approved repository first. Show the exact cloud instance ID and request confirmation of destruction. After authorization, terminate without discarding work, verify cloud cleanup and report any remaining credential/key cleanup.

Work across several instances

The canonical remote-work toolkit is tools/devbox-fleet/. In a repository checkout, npm run skills:install installs its pitchstation-remote-work skill for Claude and Codex. It has GitHub-backed multi-instance coordination and a single-instance local runner. The two-file remote-work download is the older single-instance execution/reporting helper; it is not the full toolkit.

Build work has two review rounds and one heavy job per instance at a time. Instances exchange work through GitHub branches and do not SSH to each other. Setup, plan changes, landing on main and deploying each need a person or an authorized supervising session. Follow the fleet guide and tutorial for plans, independent review, reports and travel checks.

Ask your agent

Read <FLEET_GUIDE_URL> and the installed pitchstation-remote-work toolkit skill. Prepare a plan for my repository using existing Dev instances, separate authors and reviewers, isolated tests and one live report. Show the plan and required permissions before launch. Do not land main or deploy without the corresponding authorization.