Agentic workflow integrity: connect evaluation to execution

How to preserve the identity of an agent workflow across configuration, evaluation, approval and deployment.

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

  1. List every input that shapes behavior and write it into one manifest.
  2. Compute an identity from the content of that manifest.
  3. Run the evaluation against that manifest and store the result with the identity.
  4. Record the approval with a reference to both the identity and the result.
  5. At deployment, compute the identity of what is about to run and compare it with the approved one.
  6. Stop on a mismatch and keep the refusal as evidence.
  7. 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

Common questions

What is agentic workflow integrity?

It is the ability to check that the agent workflow admitted for execution is the one that was evaluated, and that each transition met its conditions. A successful run does not prove this. The identity of the workflow has to stay connected to the evidence that authorized it.

Why is a version number not enough to identify an AI agent?

A version number is a name, and a name can point to different content over time. Agent behavior depends on the model version, the instructions, the tool definitions, the retrieval configuration and the runtime settings together. An identity computed from that content lets a reviewer check whether anything changed.

When does an AI agent need a new evaluation before deployment?

Whenever something that shapes its behavior changes after the evaluation: a prompt, a tool definition, the model version, the retrieval configuration or a runtime setting. The earlier result belongs to the earlier candidate. Decide in advance which changes need a full evaluation and who can approve an exception.

How do I know that a release gate for an agent really works?

Test it with negative controls. Change a prompt after evaluation and confirm that promotion refuses the mismatch. Remove required evidence and confirm that the transition stays blocked. A gate that has never refused anything on purpose has not been shown to work.

Does freezing a workflow graph make an agent deterministic?

No. Freezing fixes the graph, and its external dependencies can still change. Record the executable graph and its admitted environment separately, and do not read a fixed graph as a reproducible output.

Work and evidence

Mentu Recipes

My contribution: Released the agent workflow runner, reviewed an adapter with a contributor and corrected approval handling.

What this supports: The case links the release, design discussion, correction and example recipes at a fixed revision.

What it does not establish: The examples demonstrate execution and verification on the documented inputs.

Source reviewed:

Crawlio Browser

My contribution: Built the Chrome extension and MCP server that let an agent record a browser workflow.

What this supports: The Chrome Web Store names the developer. The repository includes an end-to-end reconnection test.

What it does not establish: The test covers browser recording across an MCP disconnect.

Source reviewed:

Evaluation gates for a multi-agent education system

My contribution: Built the evaluation harness, calibrated LLM judging, isolated case state and environment-specific evaluation gates.

What this supports: The public account describes golden cases as code, a calibrated LLM judge and the evaluation harness around them, on a Google Cloud agent stack.

What it does not establish: The case documents evaluation design and release checks. Published usage figures for the agents are unavailable.

Source reviewed:

From Traceability to Justifiability (opens in a new tab)

My contribution: Authored a public preprint on accountability structures in agentic software engineering, with code and study records linked from the research index.

What this supports: Research on binding evaluated behavior to deployed behavior and checking the evidence behind promotion.

What it does not establish: A preprint with a dated public-material study; not a certification of any production system.

Source reviewed:

The Agent Graph Runtime (opens in a new tab)

My contribution: Authored the runtime model separating graph construction, qualification, admission, execution and evidence.

What this supports: A published conceptual model for reasoning about executable identity and workflow lifecycle.

What it does not establish: A model and reference representation, not a throughput or reliability guarantee.

Source reviewed:

An agent skills kit for sales documents

My contribution: Built a kit of skills, a document generator and a brand file that make Codex, Claude Code, the Claude app and ChatGPT produce the quotes, proposals, decks and email drafts of a firm the same way every time.

What this supports: Rules that live in code: a missing price makes a draft, invalid data stops the generator and a version is never overwritten, with unit tests and trials by agents that had never seen the kit.

What it does not establish: Delivered on 28 November 2026, with no usage record yet. The email rules are instructions rather than code, and the files were not opened in Microsoft Office.

Source reviewed:

Related questions

Technical guides