cd /news/ai-tools/show-hn-depot-ci-api-programmable-ci · home topics ai-tools article
[ARTICLE · art-21589] src=depot.dev pub= topic=ai-tools verified=true sentiment=↑ positive

Show HN: Depot CI API – Programmable CI

Depot has launched a general availability release of its CI API and CLI, enabling developers to manage continuous integration workflows entirely from the terminal or editor without needing the web dashboard. The update introduces a `depot ci diagnose` command that analyzes failed runs and provides targeted error summaries, collapsed matrix failures, and actionable next steps. The move aims to close the gap between dashboard-only features and programmable access, allowing developers and AI agents to query CI status and logs programmatically.

read4 min publishedJun 4, 2026

We promised full programmability when we launched Depot CI back in March. Today we make it official: the Depot CI API and CLI are generally available. We believe that you and your agents should be able to do everything you can do in the dashboard from the CLI or API. When you're deep at work in your terminal or editor and need answers about your CI, you don't have to go look. You can just ask.

Why I care about this one #

I work at Depot, so feel free to discount my enthusiasm accordingly. But this one's personal.

The way I work now, I don't sit in dashboards. I sit in my editor with an agent next to me. When CI breaks, I don't want to alt-tab into a browser, hunt down the run, scroll the logs, and rebuild the whole story in my head. I want to ask the thing right in front of me "what broke?" and get an answer.

That only works if the agent can reach the same information I can. Before today, it couldn't. The dashboard knew things the API and CLI didn't, so the agent was stuck, and so was I.

Software that only talks through a browser is software your agent can't help you with. That was the gap. This closes it.

What's new #

Under the hood, our protobuf/Connect API is the source of truth, and we generate an OpenAPI v3 spec straight from it. That spec is the public contract. The CLI reads from it, your scripts read from it, your agent reads from it. One description of reality instead of a doc that goes stale the second someone ships.

On top of that, the stuff that used to be dashboard-only now lives everywhere you work:

  • See your recent runs and workflows, and dig into any run, workflow, job, or attempt.
  • Pull logs by ID, tail them live, or export them in bulk.
  • Kick off a workflow, grab a single run, or cancel an entire run in one call.
  • Get the derived stuff too: AI run summaries, step summaries, run and job metrics, the artifact list.
  • Manage your secrets and variables through the same commands.

Same nouns, same flags, whether you type it or call it.

My fav: depot ci diagnose #

My favorite thing in here is diagnose

. It does the part of CI debugging I dislike the most, which is figuring out what even went wrong before I can start fixing it.

Point it at whatever ID you've got:

depot ci diagnose --run <run-id>
depot ci diagnose --workflow <workflow-id>
depot ci diagnose --job <job-id>
depot ci diagnose --attempt <attempt-id>

Instead of dumping logs on you, it tells you what it thinks broke. The failed step. The error lines that matter. And a real read on what went wrong and what to do about it. Not "here's the wreckage, good luck." More like "this is the thing, here's the likely cause, here's your next move."

A few things I like about it:

It collapses big matrix failures. If 7 cells died, you get "showing 3 of 7 similar attempts" instead of seven near-identical walls of text.

It hands you the exact commands to go deeper. Want the logs? It gives you the command. Want the step summary? Same. Want to open it in the browser anyway? There's the URL.

It doesn't fire-hose you. No dumping thousands of jobs or full logs by default. If there's more to see, it tells you how to narrow.

I love letting the agent run with it. "CI is red, go figure out why" used to be something I had to do by hand, because the agent couldn't see the runner. Now diagnose

gives it (and me) a straight answer to start from.

Getting started #

If you've got the Depot CLI, you already have this. Update to the latest version and go:

depot ci run list
depot ci workflow list
depot ci diagnose --run <run-id>

It's all available over the API too, using the OpenAPI v3 spec as the contract, so you can wire it into scripts or hand it to an agent.

For details, check out the Depot CI API reference and CLI reference.

What it costs #

Nothing new. The API and CLI use the same usage-based pricing Depot already has, which is all public on our pricing page. If a call spins up compute, like running a workflow, you pay for that compute the same as you always did. Listing your runs, diagnosing a failure, hitting the API itself, none of that adds a separate charge. There's no API tax.

What's next #

We're shipping new Depot CI stuff fast right now, and the entire point of this project was to stop letting the API and CLI fall behind the dashboard. So as we add things, expect them to land in the API and CLI right next to the dashboard. Anyway, update your CLI, and next time something goes red, try pointing diagnose

at it instead of opening the dashboard. Or don't even do that yourself. Ask your agent to.

Now available: Depot CIWhat we need from CI for agentic engineeringNow available: Sherlock can analyze Depot CI workflows and jobs

── more in #ai-tools 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-depot-ci-api…] indexed:0 read:4min 2026-06-04 ·