01
Execution orchestration
Turns each task into an execution with a pinned version, a lifecycle state, attempts, a lease and a deadline.
In development
Problem
Agent loops run inside request handlers or ad-hoc queues, so timeouts, cancellation and crashed workers are handled differently in every service.
How you use it
- Create an execution with an idempotency key
- A runner leases it and heartbeats
- The orchestrator times it out, cancels it, or schedules a retry when that is safe
Result
Every run has one state you can query, and a crashed worker leaves a recorded runner_lost instead of silence.
POST /v1/executions
Authorization: Bearer ck_test_••••
Idempotency-Key: 3f1c2a9e-checkout-5xx-1030
Content-Type: application/json
{
"agent": "incident-triage",
"environment": "production",
"mode": "queued",
"input": { "service": "checkout-api", "symptom": "elevated 5xx" },
"tenant_ref": "internal"
}
# 201 Created
{
"id": "exe_01JBX7H2KQ9M",
"status": "queued",
"version": 14,
"policy_version": "ops-agent-production@4"
}