Dependencies and blast radius
Before a destructive or live-affecting change, ask the platform who depends on what:
cai deps # dependencies for the pinned workflowcai deps --account # the whole account's dependency mapThe output maps workflows to the agents that use them as tools and to the workflows that call them as subflow targets — the blast-radius answer for the three questions that matter:
- “Can I delete this?” A workflow a live shared agent depends on is not a free delete. (
cai workflow deleterefuses when agents depend on it unless forced — the guard exists because this mistake is common.) - “What does publishing this change?” Workflow tools always follow the latest live release, so every dependent live agent changes the moment you publish. Publishing a shared dependency is a production change.
- “Why did that agent’s behavior change?” Walk the dependency edge backwards, then check the activity feed for the publish that did it.
Example prompts
Section titled “Example prompts”Run cai deps --account and tell me which workflows are load-bearing for shared agents — those are the ones whose publishes I want to treat like deploys.