Skip to main content

Autonomy modes

You are in the deep end

This page is how Runtime hydrates each mode. The public page is autonomy. The story is how it hangs together.

The catalogue seed is autonomy 0–3. autonomy_mode on the route is that integer. Pattern answers who picks the next step. Every route still calls the model at least once. There is no domain-HTTP-only route.

PatternModeWhat the route points atWhat Runtime runs
0 Single inference0Prompt pack. No tools, no workflowOne synthesis node from host (one LLM call)
1 Autonomous1Manifest + max_loop_steps. No workflowLLM CALL / ASK / DONE loop. CALL runs a domain tool; ASK pauses for a customer locator
2 Deterministic2Workflow required. Manifest when there are toolsFixed stage list. Mix none (HTTP) with classify / query_formulation / synthesis. Hydrate appends a respond synthesis node if there is no classify/synthesis stage yet
3 Guided3Workflow required; stages may carry an allowlistSame linear graph as Pattern 2. Allowlist is catalogue-only

Intended compositions (what is possible, including rows not in the seed): autonomy. Examples in this binary’s seed: Pattern 0 overdraft_fee_qa; Pattern 1 fee_explain; Pattern 2 duplicate_charge_review.

Pattern 1/2/3 may call the LLM many times, with domain HTTP between those calls. Pattern 0 never calls a domain API.

Workflow is a stage list​

ADP owns dataplane.workflows. The route stores workflow_id. AR GETs the published workflow at hydrate.

A stage is a named step: id, optional tool, llm_role. Catalogue also stores branch, type=human_gate. Runtime does not execute those last two. kyc_onboarding names both; AR still walks the tool list in order.

With a manifest, ACR hydrates every capability; the workflow only stamps llm_role (and prompt text) onto matching tools. Graph order is manifest order. Without a manifest, agent-runtime/app/agents/hydrate.py builds one node per stage and invoke is empty.

Pattern 0/2/3 are linear; Pattern 1 is a loop​

agent-runtime/app/graph/workflow.py builds Pattern 0/2/3 as START → n0 → n1 → … → END. Pattern 1 is an LLM CALL / DONE loop over the manifest tools. There is no workflow branch edge.

Stage data that actually moves: data. Catalogue vs Runtime: autonomy modes.