Build PAA / Patterns

Five reference flows

These five patterns cover common task shapes. Match your task to the shape, then adapt the boundary, evaluator, promotion rule, and fallback to your domain.

Stacked semantic review

PR review agent

Best for
merge safety
Worker
LLM + tools
Evaluator
Deterministic tests and lint run first, then an LLM judge handles the semantic call the deterministic layer cannot make.
Target
output
Risk
medium / technically reversible, operationally costly
Trajectory
HITL → HOTL
Read the flow
Selective autonomy classifier

Refund approval agent

Best for
selective autonomy
Worker
Rules, classifier, or LLM depending on the implementation.
Evaluator
Learned escalation classifier trained on accumulated human decisions and tuned for escalation recall.
Target
output
Risk
medium / partly reversible
Trajectory
HITL → AUTONOMOUS
Read the flow
Non-generative classification pipeline

Document routing

Best for
low-risk classifier autonomy
Worker
A routing classifier with no generative model in the loop.
Evaluator
Schema validation, out-of-distribution detection, and low-confidence escalation in flight, with downstream reroute monitoring behind the scenes.
Target
input and output
Risk
low / reversible
Trajectory
HITL → AUTONOMOUS
Read the flow
Irreversible action gate

Transaction / trade execution gate

Best for
irreversible action control
Worker
Upstream automation proposes the transaction or trade.
Evaluator
Position limits, price bounds, whitelists, and kill-switch conditions gate the action. Model signals remain advisory only.
Target
output and outcome
Risk
catastrophic / irreversible
Trajectory
HITL
Read the flow
Evaluator maturity pipeline

Support response agent

Best for
evaluator maturity
Worker
The LLM that drafts the response.
Evaluator
LLM judge first, then a classifier distilled from the judge's labels once enough examples accumulate.
Target
output
Risk
low-medium / reversible
Trajectory
HITL → HOTL
Read the flow

Together they cover generative and non-generative workers, reversible and irreversible actions, selective autonomy, permanent gates, and evaluator maturation.