← case studyCascaidwalkthrough · sample data
demo.app — Cascaiddemo datafull screen ↗

Predicts which part of an AI pipeline is about to take the rest down with it. Illustrative simulation, not the trained model.

Pipeline graph

The demo pipeline the package ships with, so there is something to predict against on a laptop.

  1. 1planner agent
  2. 2retriever tool
  3. 3vector store
  4. 4research agent
  5. 5model endpoint
  6. 6synthesizer agent
Cascade risk by node (sample)
planner_agent12%
retriever_tool46%
vector_store38%
research_agent24%
primary_model81%
fallback_model34%
synthesizer_agent18%

The model endpoint is flagged before the nodes downstream of it turn red. Predicting the cascade, rather than tracing it afterwards, is the whole point.

what one observed call carries CallEvent
run_id / scenario / stepstring · string · inta run is a sequence of steps, so risk can be scored per step
caller / calleestringthe edge the call creates
caller_type / callee_typeenumagent · tool · model_endpoint · vector_store
latency_msfloat
error / retriedboolean
token_costfloat

Node and edge features share one order — latency_ms, error_rate, retry_rate, token_cost — so a node's features are just its incoming edges aggregated. One convention, no translation layer.