Depot CLI
$ depot Official Med RiskDepot CLI (depot) offloads Docker/Buildx container builds (depot build, depot bake) and CI workflows to remote NVMe-cached Depot builders. Designed cleanly for CI and headless automation, it supports DEPOT_TOKEN, DEPOT_PROJECT_ID, DEPOT_IN_AUTOMATION=1, and --output json on org and job queries.
brew install depot/tap/depot Drop-in BuildKit/Docker CLI (depot build / depot bake) streams local build contexts and pushes OCI images directly without MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports DEPOT_TOKEN, DEPOT_PROJECT_ID, DEPOT_IN_AUTOMATION=1 (suppressing noisy banners), and --output json on listing commands.
DEPOT_IN_AUTOMATION=1andDEPOT_TOKENenv support--output jsononorg listandlist jobs
Builds only push when --push is explicitly passed and load locally only when --load is passed, isolating registry side effects.
- Explicit
--push/--loadopt-in - Project scoping via
--project/DEPOT_PROJECT_ID
Go binary available via Homebrew (depot/tap/depot), shell script, @depot/cli npm wrapper, and GitHub releases.
- Homebrew tap, npm wrapper, and static binaries
Fast remote multi-arch container builds, HCL/Compose bake, GitHub Actions job inspection, and CI workflow migration.
- Covers
build,bake,list jobs,org list, andci migrate
Official Depot repository (depot/cli) actively maintained under MIT.
- Official
depot/cliGitHub repository
Well-documented CLI reference at depot.dev/docs/cli/reference plus --help.
- Official Depot CLI reference docs
Security, Auth & Guardrails
Authenticates headlessly via DEPOT_TOKEN environment variable or stores user tokens locally from depot login.
MIT open-source CLI; Depot Cloud offers a free hobby/trial tier with usage-based builder minutes.
# Depot CLI Agent Rules - Set `DEPOT_IN_AUTOMATION=1` and pass `--output json` on `org` and `jobs` queries. - Omit `--push` during verification builds and confirm `--project` before triggering remote compute.
Agent-Ready Command Recipes
Safe Read-Only Queries
depot org list --output json
Lists accessible Depot organizations and IDs as JSON.
depot list jobs --output json
Fetches runner job statuses and conclusions in JSON without triggering builds.
Controlled Writes & Previews
depot build --project $DEPOT_PROJECT_ID --platform linux/amd64 .
Builds the Dockerfile remotely on Depot builders using DEPOT_TOKEN without pushing to a registry.
Strengths for Agents
- +
DEPOT_IN_AUTOMATION=1suppresses interactive banners and update prompts in CI/agent runs. - + Explicit
--pushand--loadflags keep remote container builds safe by default.
Caveats & Pitfalls
- !
depot buildanddepot bakeconsume metered remote compute minutes. - ! Build logs from
depot buildremain streaming BuildKit output rather than JSON.