Zum Inhalt springen

Runs and steps

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

A run is one execution of an agent definition caused by one event. A pipeline runs its agents in order; each agent sees the event and the output of the previous agent.

queued ──▶ running ──▶ succeeded
│ │ ▲ └──▶ failed | cancelled | blocked_by_policy
│ ▼ │
│ awaiting_approval ──▶ failed | cancelled | blocked_by_policy
└──▶ cancelled

succeeded, failed, cancelled and blocked_by_policy are final. A run waits in awaiting_approval when a tool that requires approval is called; approvers have approvals.timeoutSeconds (default 3600) to decide.

Each step has a kind and a status:

KindMeaning
model_callA request to the model provider, with token usage and cost
tool_callAn MCP tool call that passed the gate
policy_decisionThe audit gate’s decision for a requested call
approvalA human approval request and its outcome
controlA control agent action (pause, kill)
outputA result in one of the agent’s output formats
errorAn error with a stable code

Statuses are ok, error, denied, pending, approved and rejected.

Budgets, approvals, timeouts and the runner are declared in agents.md (see reference). Pipeline and agent budgets are merged per field and the stricter value wins.