Spin up a sandbox pre-loaded with your repo and agent credentials.
This guide walks through creating a sandbox, waiting for it to become ready,
and tearing it down. By default everything runs on the hosted platform at
app.amika.dev.
To clone a repo into the sandbox, pass --git (CLI) or repoUrl (SDK). The
CLI’s --git accepts a local path or a git URL; the SDK accepts a URL.
# Clone the repo in the current directoryamika sandbox create --name dev-box --preset coder --git# Or clone a remote URLamika sandbox create --name dev-box --preset coder \ --git https://github.com/gofixpoint/example-repo.git
A new sandbox starts in state initializing and transitions to active /
running / started once it’s reachable.
# `sandbox create` blocks until the sandbox is ready — no extra step needed.
waitForSandbox throws an AmikaError if the sandbox reaches the failed
state. New state values can appear over time — the wait helper treats
active, running, and started as ready and anything else (except
failed) as still working.