CLI Reference⌗
Generated
Generated from the live Typer app by scripts/docs/gen_cli.py. To change the content,
edit the Typer commands themselves and re-run the script.
tape is the standalone CLI. It composes the substrate (Tape) and the cloud (GCP) without
making developers learn every seam first.
tape⌗
Tape — a durable-execution substrate for ADK agents on GCP.
Options
| Flag | Default | Help |
|---|---|---|
--version |
False |
Show the version and exit. |
tape chaos⌗
Drive chaos scenarios + replay + LDFI.
tape chaos derive⌗
LDFI: derive chaos scenarios from one successful run's lineage.
Options
| Flag | Default | Help |
|---|---|---|
--run, -r |
— | The baseline run_id. |
--url, -u |
— | — |
--max-cut |
1 |
Maximum cut size (1 = singletons; >=2 multiplies). |
tape chaos doctor⌗
Verify the local chaos surface is wired correctly.
Options
| Flag | Default | Help |
|---|---|---|
--url, -u |
— | — |
tape chaos lineage⌗
Walk one run's lineage DAG and print each node + its breaking failpoint.
Options
| Flag | Default | Help |
|---|---|---|
--run, -r |
— | The run_id to walk. |
--url, -u |
— | — |
tape chaos replay⌗
Replay a scenario twice with the same seed and check determinism.
Arguments
| Name | Help |
|---|---|
SCENARIO |
— |
Options
| Flag | Default | Help |
|---|---|---|
--seed, -s |
— | Override the scenario's seed. |
--url, -u |
— | — |
tape chaos run⌗
Run a scenario once and print the report.
Arguments
| Name | Help |
|---|---|
SCENARIO |
Path to a scenario .py file. |
Options
| Flag | Default | Help |
|---|---|---|
--url, -u |
— | Tape server URL (default $TAPE_URL). |
tape deploy⌗
Build & deploy services.
tape deploy gcp⌗
Deploy to GCP (cloud-run / gke / agent-runtime-adapter).
Options
| Flag | Default | Help |
|---|---|---|
--target |
'cloud-run' |
cloud-run | gke | agent-runtime-adapter |
--store |
— | — |
--reactors |
— | Comma-separated subset: recovery,reconciler,outbox,timers,compensation |
--image-tag |
'0.1' |
— |
--skip-build |
False |
— |
--out |
'deploy/gcp/release' |
Where to write the rendered service spec(s). |
tape destroy⌗
Tear down provisioned infra.
tape destroy gcp⌗
Run tofu destroy against the generated Terraform.
Options
| Flag | Default | Help |
|---|---|---|
--dir |
'deploy/gcp/terraform' |
Path to the generated Terraform directory. |
--yes, -y |
False |
Skip confirmation. |
tape dev⌗
Run server + reactors + agent locally.
Options
| Flag | Default | Help |
|---|---|---|
--store |
— | Override store: sqlite | bigtable-emulator | postgres-emulator. |
--events |
— | Override events: none | pubsub-emulator. |
--docker, --no-docker |
— | Run via Docker Compose (default: yes if available and store != sqlite). |
--server-binary |
— | Path to a built tape-server binary (native mode). |
--kill-resume-demo |
False |
Crash mid-run; the recovery reactor resumes; verifies one effect lands. |
--port |
7878 |
— |
tape doctor⌗
Diagnose local and GCP setup.
Options
| Flag | Default | Help |
|---|---|---|
--local, --no-local |
True |
— |
--gcp, --no-gcp |
False |
— |
--agents-cli-aware |
False |
Also run agents-cli scaffold compatibility checks. |
tape enhance⌗
Add Tape to an existing ADK project.
Arguments
| Name | Help |
|---|---|
PATH |
Path to the project root. |
Options
| Flag | Default | Help |
|---|---|---|
--name |
— | Project name (defaults to directory name). |
--region |
'us-central1' |
— |
--store |
'sqlite' |
— |
--events |
'none' |
— |
--yes, -y |
False |
Accept all prompts. |
tape init⌗
Scaffold a new Tape project.
Arguments
| Name | Help |
|---|---|
NAME |
Project name (lowercase, snake/kebab). |
Options
| Flag | Default | Help |
|---|---|---|
--here |
False |
Scaffold into the current directory instead of ./<name>. |
--region |
'us-central1' |
Default GCP region. |
--store |
'sqlite' |
Default store: sqlite | postgres | alloydb | spanner | bigtable. |
--events |
'none' |
Default events: none | pubsub. |
--force |
False |
Overwrite existing files. |
tape logs⌗
Tail Cloud Logging for the deployed services.
Options
| Flag | Default | Help |
|---|---|---|
--follow, -f, --no-follow |
True |
— |
--service |
— | Limit to a specific service: tape-server | tape-reactor-recovery | ... |
--limit, -n |
50 |
— |
tape migrate⌗
Run schema migrations for the configured store.
Options
| Flag | Default | Help |
|---|---|---|
--store |
— | Override TAPE_STORE for this invocation. |
--dry-run |
False |
— |
--server-binary |
— | — |
tape provision⌗
Render & apply infrastructure.
tape provision gcp⌗
Render Terraform for GCP — optionally apply.
Options
| Flag | Default | Help |
|---|---|---|
--store |
— | Override store: alloydb | postgres | spanner | bigtable. |
--events |
— | Override events: pubsub | none. |
--target |
— | Override target: cloud-run | gke. |
--region |
— | — |
--dry-run, --no-dry-run |
True |
Render only (default). |
--apply |
False |
Render and apply via tofu apply. |
--out |
'deploy/gcp/terraform' |
Output directory for Terraform. |
tape status⌗
Show runs / effects / obligations / reactor lag.
Options
| Flag | Default | Help |
|---|---|---|
--limit, -n |
20 |
— |