Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Depot CLI

$ depot Official Med Risk
Depot · Workspace & SaaS · MIT · macos / linux / windows

Depot 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.

FCRS-1.0 Score
86 /100
Good
Medium Confidence
Zero-Friction Install
brew install depot/tap/depot
CLI vs MCP Decision CLI Preferred vs MCP

Drop-in BuildKit/Docker CLI (depot build / depot bake) streams local build contexts and pushes OCI images directly without MCP.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Supports DEPOT_TOKEN, DEPOT_PROJECT_ID, DEPOT_IN_AUTOMATION=1 (suppressing noisy banners), and --output json on listing commands.

  • DEPOT_IN_AUTOMATION=1 and DEPOT_TOKEN env support
  • --output json on org list and list jobs
Trust & Safety 21 / 25

Builds only push when --push is explicitly passed and load locally only when --load is passed, isolating registry side effects.

  • Explicit --push / --load opt-in
  • Project scoping via --project / DEPOT_PROJECT_ID
Setup & Portability 13 / 15

Go binary available via Homebrew (depot/tap/depot), shell script, @depot/cli npm wrapper, and GitHub releases.

  • Homebrew tap, npm wrapper, and static binaries
Utility & Efficiency 13 / 15

Fast remote multi-arch container builds, HCL/Compose bake, GitHub Actions job inspection, and CI workflow migration.

  • Covers build, bake, list jobs, org list, and ci migrate
Maintenance & Lineage 9 / 10

Official Depot repository (depot/cli) actively maintained under MIT.

  • Official depot/cli GitHub repository
Docs & Verifiability 8 / 10

Well-documented CLI reference at depot.dev/docs/cli/reference plus --help.

  • Official Depot CLI reference docs

Security, Auth & Guardrails

Auth Modes
Env API Key OAuth Browser Config File
Credential Storage

Authenticates headlessly via DEPOT_TOKEN environment variable or stores user tokens locally from depot login.

Side Effects
Read-Only Local Write Remote Write Billing Impact
Cost & Quotas

MIT open-source CLI; Depot Cloud offers a free hobby/trial tier with usage-based builder minutes.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

List Depot organizations in JSON
depot org list --output json

Lists accessible Depot organizations and IDs as JSON.

Inspect recent remote build/CI jobs
depot list jobs --output json

Fetches runner job statuses and conclusions in JSON without triggering builds.

Controlled Writes & Previews

Build a multi-platform image without pushing
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=1 suppresses interactive banners and update prompts in CI/agent runs.
  • + Explicit --push and --load flags keep remote container builds safe by default.

Caveats & Pitfalls

  • ! depot build and depot bake consume metered remote compute minutes.
  • ! Build logs from depot build remain streaming BuildKit output rather than JSON.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI