Expert-Authored Tool Workflows for Vertical Agents
Expert-Authored Tool Workflows for Vertical Agents
Vertical agents fail at the boundary between tool invocation and domain judgment. A general-purpose agent can call an API. A vertical agent must know which API, in which order, with which parameters, and when to abort. That sequence is not a software problem. It is a domain knowledge problem. Building expert-authored tool workflows for vertical agents is the mechanism that closes the gap between a capable foundation model and a deployable specialist system.
This post explains how to design, author, verify, and calibrate those workflows. It is written for post-training researchers, evals engineers, and data-ops managers who are already building agent pipelines and need a repeatable methodology, not a conceptual overview.
What Is an Expert-Authored Tool Workflow?
Answer capsule: An expert-authored tool workflow is a ground-truth sequence of tool calls, parameter choices, and conditional branches for a domain-specific task, authored by a verified practitioner, annotated with the reasoning behind each decision, and paired with a verifier that confirms correctness without relying on model output. It is the training and evaluation primitive for vertical agents operating in expert domains.
Generic agent benchmarks test whether a model can navigate a filesystem or query a database. Vertical agent tasks test whether a model can select the right inspection method in a quality-engineering workflow, or sequence G-code tool changes correctly for a given material and fixture. The distinction is not complexity in the abstract. It is the presence of domain-specific decision criteria that do not appear in web-scale training data at sufficient density or fidelity.
A tool workflow, in this context, is a directed graph: states are the agent's information set at each step, actions are tool calls with specific arguments, transitions depend on tool outputs, and terminal states are either a verified correct outcome or a classified failure. Expert authorship means a practitioner defines the ground-truth path and annotates the branches a competent professional would consider at each node. This is structurally similar to the state-action-reward framing described in RL environment design for LLM agents, applied specifically to tool-using agents in non-software domains.
Why Generic Workflows Fail in Vertical Domains
Generalist labeling marketplaces produce tool workflows that are syntactically plausible but operationally wrong. The failure is predictable: annotators who have not performed the task cannot identify which tool-call parameters are critical versus cosmetic, cannot author the conditional branches that a practitioner would take on anomalous tool output, and cannot write the rubric that distinguishes a correct outcome from a superficially similar incorrect one.
Four structural failure modes appear consistently:
Missing precondition checks. A practitioner verifies machine state, material specification, or regulatory status before invoking a tool. Generic workflows omit these because they are invisible to a non-practitioner observing the surface behavior.
Collapsed conditional branches. Expert workflows branch on tool output. A torque reading outside tolerance triggers a different next step than a nominal reading. Generic authors flatten this to a single happy path.
Wrong abstraction level for parameters. A CNC programmer specifies feed rate as a function of material hardness and cutter diameter, not as a fixed number. A non-expert author supplies a plausible-looking fixed number that is wrong for any real configuration.
Absent failure-mode annotations. The most valuable training signal is often what the expert does when a tool call returns unexpected output. Generic workflows do not capture this because the author does not know what unexpected looks like in the domain.
These failure modes compound. A model trained on collapsed, parameter-wrong, precondition-free workflows learns a policy that passes shallow evals and fails on real tasks. Detecting this requires evals that test the branches, not just the happy path. See the discussion of specification gaming in tool-use environments for how models exploit underspecified workflows.
How to Author Expert Tool Workflows: A Five-Step Protocol
The following protocol applies to any vertical domain. Adapt the verifier design to the domain's ground truth source (simulator, standards document, physical measurement, or regulatory code).
Task scoping with the expert. Define the task at the level of a single professional decision: not "perform a quality inspection" but "determine whether a machined bore is within tolerance given a CMM report and a drawing callout." Scope determines verifiability. Broad tasks produce unverifiable outcomes. Narrow tasks produce clear pass/fail criteria.
Workflow elicitation. Ask the expert to perform the task aloud, narrating each tool call, the parameter choice rationale, and what they would do if the tool returned each plausible output variant. Record the full conditional structure, not just the nominal path. This is the most expensive step and the most irreplaceable one.
Annotation of decision criteria. For each branch point, the expert documents the professional standard, heuristic, or physical constraint that governs the choice. This annotation becomes the rubric for evaluating model behavior at that node. Process-level annotation of this kind is discussed in detail in the context of process supervision for engineering workflows and toolpaths.
Verifier construction. Build a verifier that checks the outcome independently of the model's stated reasoning. For deterministic domains (G-code, circuit simulation, structural calculation), this is a programmatic check against a simulator or solver. For judgment-heavy domains (regulatory compliance, failure-mode classification), this is a structured rubric with expert-defined scoring criteria. A task without a reliable verifier is not a usable training or eval signal.
Difficulty calibration. Run the authored task against multiple frontier models. Record pass@k for each. A task that all frontier models solve reliably is not useful for training or for evals. A task that no model can solve even with scaffolding may indicate an authoring or verifier defect. The target difficulty band depends on the training or evaluation objective; calibrate per model and per date, because difficulty drifts as models improve.
Verifier Design for Tool-Call Correctness
The verifier is the component that makes an expert-authored workflow usable as a training signal. Without it, you have a demonstration. With it, you have a reward source.
Verifier design follows the domain's ground truth structure:
Domain type | Ground truth source | Verifier mechanism | Failure signal |
|---|---|---|---|
Deterministic computation (G-code, SPICE, FEA) | Simulator or solver output | Programmatic diff against reference output | Dimensional error, simulation divergence |
Standards-governed (regulatory, quality, structural) | Applicable standard or code | Rubric with expert-defined pass criteria per clause | Missing precondition, wrong clause applied |
Procedural (PLC ladder logic, PCB layout rules) | Rule set or DRC output | Automated rule checker against authored constraint list | Rule violation count, severity classification |
Judgment-heavy (failure-mode analysis, clinical triage) | Expert consensus | Two-pass expert review with adjudication protocol | Disagreement above threshold triggers adjudication |
Hybrid verifiers are common. A structural engineering task might use a solver for the numerical check and a rubric for the load-case selection rationale. Design the verifier before authoring the task; the verifier design often reveals that the task scope needs to be narrowed.
For judgment-heavy domains, the review process itself requires structure. The two-pass expert validation workflow and the adjudication workflow for resolving expert conflicts describe operational approaches to this problem at scale.
Illustrative Example: A Quality-Engineering Tool Workflow
Illustrative example (numbers are constructed for illustration; they do not represent a specific real task or model result):
Task: Given a CMM measurement report showing bore diameter readings of 25.032 mm, 25.029 mm, and 25.041 mm, and a drawing callout of 25.000 +0.025 / -0.000 mm, determine whether the feature is conforming, and specify the next action in the inspection workflow.
Expert-authored ground-truth workflow:
Call
parse_drawing_callout(callout="25.000 +0.025/-0.000")to extract nominal, upper limit (25.025 mm), lower limit (25.000 mm).Call
evaluate_measurements(readings=[25.032, 25.029, 25.041], upper=25.025, lower=25.000). All three readings exceed the upper limit. Output: non-conforming.Branch: non-conforming result triggers
log_ncr(feature="bore", deviation_max=0.016, disposition="hold").Expert annotation: the disposition is "hold" not "scrap" because the deviation is within rework tolerance for this material and process. A non-expert would default to "scrap" or omit the disposition entirely.
Verifier: programmatic check confirms all readings against tolerance limits (deterministic), plus rubric check on disposition choice (expert-reviewed). A model that outputs "conforming" fails the programmatic check immediately. A model that outputs "non-conforming, scrap" passes the numerical check but fails the disposition rubric. Both failure modes are distinct training signals.
Calibration result (illustrative): a frontier model at the time of authoring passes the non-conforming classification at pass@1 but fails the disposition choice in approximately 60% of runs. The task remains useful for training. Recalibrate when model capability in this domain shifts.
Common Failure Modes in Expert Tool Workflow Programs
1. Expert authors the happy path only.
Detection: the workflow graph has no branches. Fix: structured elicitation protocol that explicitly asks "what do you do if this tool returns X instead of Y" for each tool call.
2. Verifier tests output string, not outcome.
Detection: model passes by producing the correct label with wrong parameters. Fix: verifier checks parameter values and intermediate state, not just the terminal output string.
3. Task scope is too broad to verify.
Detection: expert reviewers disagree on what a correct outcome looks like. Fix: narrow the task to a single professional decision with a single verifiable criterion before authoring begins.
4. Difficulty calibration is done once and not revisited.
Detection: eval scores on this task class stop differentiating between model generations. Fix: schedule recalibration when a new frontier model family is released; difficulty is a property of a task relative to a model at a point in time.
5. Expert disagreement is resolved by majority vote without adjudication.
Detection: inter-annotator agreement is high on easy tasks and low on the hard tasks that matter most. Fix: route disagreements above a defined threshold to a senior expert adjudicator with a documented rationale requirement. The adjudication workflow covers this in operational detail.
6. Tool-call parameter space is underspecified.
Detection: model produces valid-looking calls with wrong argument types or out-of-range values that the verifier does not catch. Fix: define the valid parameter schema as part of the task specification, and include schema validation in the verifier.
Where This Approach Breaks Down
Expert-authored tool workflows are not the right primitive for every agent evaluation problem. Three limits apply:
First, domains where ground truth is genuinely contested among practitioners require a different evaluation design. If senior experts disagree on the correct tool sequence for a class of tasks, a single authored ground-truth workflow will encode one expert's judgment as fact. Use preference data and rubric-based evaluation instead.
Second, long-horizon tasks with many tool calls produce exponentially large branch spaces. Authoring and verifying every branch is not tractable beyond a certain depth. Practical programs decompose long-horizon tasks into verifiable subtask units and evaluate composition separately from subtask execution. The design of task planning evals for embodied agents addresses this decomposition problem directly.
Third, difficulty calibration drifts. A task that differentiates frontier models today may be saturated in six months. Programs that do not budget for continuous task authoring will exhaust their signal faster than expected. This is not a reason to avoid expert authorship; it is a reason to treat task authoring as an ongoing operation, not a one-time data purchase.
Frequently Asked Questions
What makes a tool workflow "expert-authored" rather than just human-labeled?
Expert authorship means the workflow was created by a verified practitioner who can perform the task professionally, not by someone following instructions to label an existing output. The expert defines the ground-truth path, the conditional branches, and the decision criteria at each node. Human labeling of model outputs is a different activity with different quality properties and different contamination risks.
How many tool-call steps should a single workflow task contain?
Three to eight steps is a practical range for verifiable single-decision tasks. Below three, the task rarely requires domain judgment. Above eight, verifier complexity grows and expert disagreement on branch handling increases. Decompose longer workflows into independently verifiable subtasks rather than extending a single task chain.
Can synthetic data substitute for expert-authored tool workflows?
Synthetic generation can produce plausible-looking tool-call sequences, but it cannot reliably produce the conditional branch logic, the precondition checks, or the failure-mode annotations that distinguish expert authorship. Synthetic data is useful for augmenting volume on well-understood subtasks once the ground-truth structure has been established by an expert. It is not a substitute for the initial authoring.
How do you measure difficulty for a tool workflow task?
Run the task against multiple frontier models and record pass@k, where k is typically 1, 3, or 10 depending on the deployment context. A task is well-calibrated when at least one frontier model fails it reliably and at least one model can solve it with scaffolding. Recalibrate per model family and per release date; difficulty is not a fixed property of the task.
What is the minimum viable verifier for a judgment-heavy domain?
A structured rubric with expert-defined pass criteria for each decision node, reviewed by two independent domain experts, with a documented adjudication protocol for disagreements. This is not a minimum in the sense of being cheap; it is the minimum that produces a reliable training signal. A single-reviewer rubric without adjudication is not sufficient for tasks where expert disagreement is expected.
What This Means in Practice
Expert-authored tool workflows are the unit of work that separates a vertical agent program from a general-purpose fine-tuning effort. The authoring protocol, the verifier design, and the difficulty calibration are not implementation details. They are the methodology. Get them right and you produce training and evaluation signal that frontier models cannot generate for themselves. Get them wrong and you produce a dataset that looks complete and is operationally useless.
The domains where this matters most, manufacturing, quality engineering, PCB and VLSI design, structural analysis, regulatory compliance, are also the domains where web-scale training data is thinnest and where model failure is most consequential. That combination makes expert-authored tool workflows both the hardest data problem in post-training and the highest-value one.
If you are building evals or RL environments in one of these domains, get in touch with Chiron Datalabs.
Have questions or want personalised guidance? Contact us and we'll be happy to help.
Vertical agents fail at the boundary between tool invocation and domain judgment. A general-purpose agent can call an API. A vertical agent must know which API, in which order, with which parameters, and when to abort. That sequence is not a software problem. It is a domain knowledge problem. Building expert-authored tool workflows for vertical agents is the mechanism that closes the gap between a capable foundation model and a deployable specialist system.
This post explains how to design, author, verify, and calibrate those workflows. It is written for post-training researchers, evals engineers, and data-ops managers who are already building agent pipelines and need a repeatable methodology, not a conceptual overview.
What Is an Expert-Authored Tool Workflow?
Answer capsule: An expert-authored tool workflow is a ground-truth sequence of tool calls, parameter choices, and conditional branches for a domain-specific task, authored by a verified practitioner, annotated with the reasoning behind each decision, and paired with a verifier that confirms correctness without relying on model output. It is the training and evaluation primitive for vertical agents operating in expert domains.
Generic agent benchmarks test whether a model can navigate a filesystem or query a database. Vertical agent tasks test whether a model can select the right inspection method in a quality-engineering workflow, or sequence G-code tool changes correctly for a given material and fixture. The distinction is not complexity in the abstract. It is the presence of domain-specific decision criteria that do not appear in web-scale training data at sufficient density or fidelity.
A tool workflow, in this context, is a directed graph: states are the agent's information set at each step, actions are tool calls with specific arguments, transitions depend on tool outputs, and terminal states are either a verified correct outcome or a classified failure. Expert authorship means a practitioner defines the ground-truth path and annotates the branches a competent professional would consider at each node. This is structurally similar to the state-action-reward framing described in RL environment design for LLM agents, applied specifically to tool-using agents in non-software domains.
Why Generic Workflows Fail in Vertical Domains
Generalist labeling marketplaces produce tool workflows that are syntactically plausible but operationally wrong. The failure is predictable: annotators who have not performed the task cannot identify which tool-call parameters are critical versus cosmetic, cannot author the conditional branches that a practitioner would take on anomalous tool output, and cannot write the rubric that distinguishes a correct outcome from a superficially similar incorrect one.
Four structural failure modes appear consistently:
Missing precondition checks. A practitioner verifies machine state, material specification, or regulatory status before invoking a tool. Generic workflows omit these because they are invisible to a non-practitioner observing the surface behavior.
Collapsed conditional branches. Expert workflows branch on tool output. A torque reading outside tolerance triggers a different next step than a nominal reading. Generic authors flatten this to a single happy path.
Wrong abstraction level for parameters. A CNC programmer specifies feed rate as a function of material hardness and cutter diameter, not as a fixed number. A non-expert author supplies a plausible-looking fixed number that is wrong for any real configuration.
Absent failure-mode annotations. The most valuable training signal is often what the expert does when a tool call returns unexpected output. Generic workflows do not capture this because the author does not know what unexpected looks like in the domain.
These failure modes compound. A model trained on collapsed, parameter-wrong, precondition-free workflows learns a policy that passes shallow evals and fails on real tasks. Detecting this requires evals that test the branches, not just the happy path. See the discussion of specification gaming in tool-use environments for how models exploit underspecified workflows.
How to Author Expert Tool Workflows: A Five-Step Protocol
The following protocol applies to any vertical domain. Adapt the verifier design to the domain's ground truth source (simulator, standards document, physical measurement, or regulatory code).
Task scoping with the expert. Define the task at the level of a single professional decision: not "perform a quality inspection" but "determine whether a machined bore is within tolerance given a CMM report and a drawing callout." Scope determines verifiability. Broad tasks produce unverifiable outcomes. Narrow tasks produce clear pass/fail criteria.
Workflow elicitation. Ask the expert to perform the task aloud, narrating each tool call, the parameter choice rationale, and what they would do if the tool returned each plausible output variant. Record the full conditional structure, not just the nominal path. This is the most expensive step and the most irreplaceable one.
Annotation of decision criteria. For each branch point, the expert documents the professional standard, heuristic, or physical constraint that governs the choice. This annotation becomes the rubric for evaluating model behavior at that node. Process-level annotation of this kind is discussed in detail in the context of process supervision for engineering workflows and toolpaths.
Verifier construction. Build a verifier that checks the outcome independently of the model's stated reasoning. For deterministic domains (G-code, circuit simulation, structural calculation), this is a programmatic check against a simulator or solver. For judgment-heavy domains (regulatory compliance, failure-mode classification), this is a structured rubric with expert-defined scoring criteria. A task without a reliable verifier is not a usable training or eval signal.
Difficulty calibration. Run the authored task against multiple frontier models. Record pass@k for each. A task that all frontier models solve reliably is not useful for training or for evals. A task that no model can solve even with scaffolding may indicate an authoring or verifier defect. The target difficulty band depends on the training or evaluation objective; calibrate per model and per date, because difficulty drifts as models improve.
Verifier Design for Tool-Call Correctness
The verifier is the component that makes an expert-authored workflow usable as a training signal. Without it, you have a demonstration. With it, you have a reward source.
Verifier design follows the domain's ground truth structure:
Domain type | Ground truth source | Verifier mechanism | Failure signal |
|---|---|---|---|
Deterministic computation (G-code, SPICE, FEA) | Simulator or solver output | Programmatic diff against reference output | Dimensional error, simulation divergence |
Standards-governed (regulatory, quality, structural) | Applicable standard or code | Rubric with expert-defined pass criteria per clause | Missing precondition, wrong clause applied |
Procedural (PLC ladder logic, PCB layout rules) | Rule set or DRC output | Automated rule checker against authored constraint list | Rule violation count, severity classification |
Judgment-heavy (failure-mode analysis, clinical triage) | Expert consensus | Two-pass expert review with adjudication protocol | Disagreement above threshold triggers adjudication |
Hybrid verifiers are common. A structural engineering task might use a solver for the numerical check and a rubric for the load-case selection rationale. Design the verifier before authoring the task; the verifier design often reveals that the task scope needs to be narrowed.
For judgment-heavy domains, the review process itself requires structure. The two-pass expert validation workflow and the adjudication workflow for resolving expert conflicts describe operational approaches to this problem at scale.
Illustrative Example: A Quality-Engineering Tool Workflow
Illustrative example (numbers are constructed for illustration; they do not represent a specific real task or model result):
Task: Given a CMM measurement report showing bore diameter readings of 25.032 mm, 25.029 mm, and 25.041 mm, and a drawing callout of 25.000 +0.025 / -0.000 mm, determine whether the feature is conforming, and specify the next action in the inspection workflow.
Expert-authored ground-truth workflow:
Call
parse_drawing_callout(callout="25.000 +0.025/-0.000")to extract nominal, upper limit (25.025 mm), lower limit (25.000 mm).Call
evaluate_measurements(readings=[25.032, 25.029, 25.041], upper=25.025, lower=25.000). All three readings exceed the upper limit. Output: non-conforming.Branch: non-conforming result triggers
log_ncr(feature="bore", deviation_max=0.016, disposition="hold").Expert annotation: the disposition is "hold" not "scrap" because the deviation is within rework tolerance for this material and process. A non-expert would default to "scrap" or omit the disposition entirely.
Verifier: programmatic check confirms all readings against tolerance limits (deterministic), plus rubric check on disposition choice (expert-reviewed). A model that outputs "conforming" fails the programmatic check immediately. A model that outputs "non-conforming, scrap" passes the numerical check but fails the disposition rubric. Both failure modes are distinct training signals.
Calibration result (illustrative): a frontier model at the time of authoring passes the non-conforming classification at pass@1 but fails the disposition choice in approximately 60% of runs. The task remains useful for training. Recalibrate when model capability in this domain shifts.
Common Failure Modes in Expert Tool Workflow Programs
1. Expert authors the happy path only.
Detection: the workflow graph has no branches. Fix: structured elicitation protocol that explicitly asks "what do you do if this tool returns X instead of Y" for each tool call.
2. Verifier tests output string, not outcome.
Detection: model passes by producing the correct label with wrong parameters. Fix: verifier checks parameter values and intermediate state, not just the terminal output string.
3. Task scope is too broad to verify.
Detection: expert reviewers disagree on what a correct outcome looks like. Fix: narrow the task to a single professional decision with a single verifiable criterion before authoring begins.
4. Difficulty calibration is done once and not revisited.
Detection: eval scores on this task class stop differentiating between model generations. Fix: schedule recalibration when a new frontier model family is released; difficulty is a property of a task relative to a model at a point in time.
5. Expert disagreement is resolved by majority vote without adjudication.
Detection: inter-annotator agreement is high on easy tasks and low on the hard tasks that matter most. Fix: route disagreements above a defined threshold to a senior expert adjudicator with a documented rationale requirement. The adjudication workflow covers this in operational detail.
6. Tool-call parameter space is underspecified.
Detection: model produces valid-looking calls with wrong argument types or out-of-range values that the verifier does not catch. Fix: define the valid parameter schema as part of the task specification, and include schema validation in the verifier.
Where This Approach Breaks Down
Expert-authored tool workflows are not the right primitive for every agent evaluation problem. Three limits apply:
First, domains where ground truth is genuinely contested among practitioners require a different evaluation design. If senior experts disagree on the correct tool sequence for a class of tasks, a single authored ground-truth workflow will encode one expert's judgment as fact. Use preference data and rubric-based evaluation instead.
Second, long-horizon tasks with many tool calls produce exponentially large branch spaces. Authoring and verifying every branch is not tractable beyond a certain depth. Practical programs decompose long-horizon tasks into verifiable subtask units and evaluate composition separately from subtask execution. The design of task planning evals for embodied agents addresses this decomposition problem directly.
Third, difficulty calibration drifts. A task that differentiates frontier models today may be saturated in six months. Programs that do not budget for continuous task authoring will exhaust their signal faster than expected. This is not a reason to avoid expert authorship; it is a reason to treat task authoring as an ongoing operation, not a one-time data purchase.
Frequently Asked Questions
What makes a tool workflow "expert-authored" rather than just human-labeled?
Expert authorship means the workflow was created by a verified practitioner who can perform the task professionally, not by someone following instructions to label an existing output. The expert defines the ground-truth path, the conditional branches, and the decision criteria at each node. Human labeling of model outputs is a different activity with different quality properties and different contamination risks.
How many tool-call steps should a single workflow task contain?
Three to eight steps is a practical range for verifiable single-decision tasks. Below three, the task rarely requires domain judgment. Above eight, verifier complexity grows and expert disagreement on branch handling increases. Decompose longer workflows into independently verifiable subtasks rather than extending a single task chain.
Can synthetic data substitute for expert-authored tool workflows?
Synthetic generation can produce plausible-looking tool-call sequences, but it cannot reliably produce the conditional branch logic, the precondition checks, or the failure-mode annotations that distinguish expert authorship. Synthetic data is useful for augmenting volume on well-understood subtasks once the ground-truth structure has been established by an expert. It is not a substitute for the initial authoring.
How do you measure difficulty for a tool workflow task?
Run the task against multiple frontier models and record pass@k, where k is typically 1, 3, or 10 depending on the deployment context. A task is well-calibrated when at least one frontier model fails it reliably and at least one model can solve it with scaffolding. Recalibrate per model family and per release date; difficulty is not a fixed property of the task.
What is the minimum viable verifier for a judgment-heavy domain?
A structured rubric with expert-defined pass criteria for each decision node, reviewed by two independent domain experts, with a documented adjudication protocol for disagreements. This is not a minimum in the sense of being cheap; it is the minimum that produces a reliable training signal. A single-reviewer rubric without adjudication is not sufficient for tasks where expert disagreement is expected.
What This Means in Practice
Expert-authored tool workflows are the unit of work that separates a vertical agent program from a general-purpose fine-tuning effort. The authoring protocol, the verifier design, and the difficulty calibration are not implementation details. They are the methodology. Get them right and you produce training and evaluation signal that frontier models cannot generate for themselves. Get them wrong and you produce a dataset that looks complete and is operationally useless.
The domains where this matters most, manufacturing, quality engineering, PCB and VLSI design, structural analysis, regulatory compliance, are also the domains where web-scale training data is thinnest and where model failure is most consequential. That combination makes expert-authored tool workflows both the hardest data problem in post-training and the highest-value one.
If you are building evals or RL environments in one of these domains, get in touch with Chiron Datalabs.
Have questions or want personalised guidance? Contact us and we'll be happy to help.