Agentic workflow integrity means being able to check that the workflow admitted for execution is the one that was evaluated, and that its transitions followed the required conditions. A successful run does not establish that chain by itself. The workflow's identity and the evidence authorizing its transitions have to remain connected.
This guide is for a team that already evaluates its agents and wants that evaluation to decide what runs.
Identify the behavior you are promoting
Source code is one input. Agent behavior also depends on the model version, instructions, tool definitions, retrieval configuration and runtime settings. Record the relevant versions together. Where practical, use content-addressed artifacts so a later reviewer can check whether the inputs changed.
For dynamic workflows, distinguish the version of the planner from the graph it produced. Record the executable graph and its admitted environment separately. Freezing a graph does not make its external dependencies deterministic.
Why a version number does not identify an agent
A version number is a name. It says what a configuration was called, and a reviewer cannot check from it what the configuration contained. From Traceability to Justifiability measured this in public material. It surveyed the documentation of 47 delivery platforms and found none whose default record emits a content-addressed identity of the whole behavioral tuple: model version, instructions, tool definitions, retrieval and runtime configuration. On 16 of the 27 model-serving and agent platforms, the default answer was an immutable version number behind a pointer that can move.
The decision rule follows. If the deployment target is a name such as "latest" or "production", resolve it to content before you approve it. Hash the manifest, store the hash with the evaluation result and compare hashes at promotion. The survey is dated and platforms change, so check what your own platform records today.
Static, dynamic and hybrid workflows: what to record for each
Teams often sort agent systems into static workflows, dynamic planners and hybrids. The Agent Graph Runtime argues that those labels mix four separate questions: when the graph is built, where it becomes fixed and addressable, who authors it and what runs it. Answer each one for your system and write the answers down.
The model also separates properties that are easy to confuse: the identity of the executable graph, the identity of the execution environment, whether the output can be reproduced, whether the plan was adequate, and the outcome. Each needs its own evidence. A good outcome does not show that the plan was adequate. A fixed graph does not show that the environment was the admitted one. When a planner builds the graph at run time, qualify the graph it produced before admission, and qualify it again when it changes.
Bind approval to a specific candidate
Evaluate a candidate configuration, attach the results to that candidate and make the promotion decision reference both. If a tool definition or prompt changes after evaluation, the prior result cannot silently authorize the changed behavior. Define which changes require a new evaluation and who can approve exceptions.
Illustrative promotion chain:
behavior manifest → evaluation evidence → approval → deployed manifest
compare identity at each transition; stop on mismatch
My research on justifiability studies this binding problem in public delivery records. The Agent Graph Runtime provides a separate model for construction, qualification, admission and execution. They inform the design; neither publication certifies a specific deployment.
How to set up a promotion gate step by step
- List every input that shapes behavior and write it into one manifest.
- Compute an identity from the content of that manifest.
- Run the evaluation against that manifest and store the result with the identity.
- Record the approval with a reference to both the identity and the result.
- At deployment, compute the identity of what is about to run and compare it with the approved one.
- Stop on a mismatch and keep the refusal as evidence.
- Decide which changes need a full evaluation and which need a smaller one.
The depth of the evaluation can follow the environment. In the evaluation harness I built for a higher-education group, a smoke set runs on integration and the full golden regression runs before promotion. Each environment answers its own question, and each result still belongs to one candidate.
Preserve integrity during execution
Make state transitions explicit. A queued action, an attempted action and a completed action are different states. Use idempotency for retries, validate prerequisites before consequential steps and keep evidence of both success and refusal. Recovery should resume from durable state rather than asking a model to guess how far the previous run got.
External content can contain instructions. Treat it as data with a source, not as authority to change the workflow's permissions. An approval must remain tied to the operation approved.
Integrity when several agents share the work
Long-running work adds a coordination problem. In the sessions I describe in Prompting the Architecture, several agent environments react to tickets, pick up work and review one another. Several agents working at once are not necessarily collaborating. Without clear ownership and handoffs, parallel work produces duplicate effort, conflicting changes or a review of an artifact that is already out of date.
Two distinctions have to live in the coordination system and not only in a prompt: work that is available against work that is claimed, and a proposed result against an accepted one. A prompt expresses the intended behavior. Ownership, permissions, durable state and review requirements cannot depend on an agent remembering to respect them.
Tie each review to the version it examined, and keep unresolved objections in the record. A second agent that agrees with the first may be repeating the same assumption. Ask whether the review introduced a test the work could have failed.
What goes wrong between evaluation and deployment
- The configuration changes after the green run. Someone edits a prompt or a tool definition, and the old result is read as approval for the new behavior.
- The pointer moves. The approval names a version label, and the label later resolves to different content.
- The binding cannot be checked where it is declared. In From Traceability to Justifiability, seven of the 15 public repositories chosen for adopting attestation tooling published source-only releases, so there was nothing to check the declared binding against. Where it could be checked, it mostly held: five of seven measurable adopters realized it end to end, and both shortfalls fell at identity binding.
- The gate is unstable, so people route around it. If the same change passes one day and fails the next with nothing changed, engineers learn to run it again until it is green. The gate then decides nothing.
- The evidence was wrong. In the higher-education harness, early pass rates were quietly wrong because cases shared user state through the agent's memory. A result like that is attached to a candidate and still says little about it.
- A completion message stands in for evidence. A transcript shows what an agent said. It does not show what supports the claim that the work is complete.
A worked example: a tool description changes after a green run
Take an illustrative case. A team evaluates a candidate for an agent that schedules appointments. The suite is green, and the result is stored with the hash of the manifest. Before promotion, a developer rewrites the description of the scheduling tool to make it clearer. No code changes.
Without the chain, the pipeline deploys the edited configuration under the earlier approval. Nobody decided that the new description was safe. With the chain, the deployment step computes the identity of the edited manifest, finds that it differs from the approved one and refuses. The refusal is recorded. The team runs the evaluation again on the new candidate, and the approval that follows names the new identity.
The edit may well be harmless. The point is that the pipeline can show who checked.
Test the chain where it can break
Change a prompt after evaluation and verify promotion refuses the mismatch. Repeat a write and verify it is not duplicated. Interrupt a run between steps and check the recovery path. Remove required evidence and verify the transition remains blocked. Those negative controls establish that the controls affect execution.
Repeat these controls whenever the pipeline itself changes. A control that has never failed on purpose has not been shown to work.
When reviewing an engineer's work, ask for the candidate manifest, evaluation result and deployed identity from one real change. The sources below describe my evaluation and workflow research, including what each can and cannot establish.
Where to go next
- An AI governance framework for engineering teams: NIST AI RMF and ISO/IEC 42001 as controls you can test
- AI agent development for companies
- LLM and AI agent evaluation
- Case study: evaluation gates for a multi-agent education system
- Research: the two publications cited in this guide.