Join our Newsletter — 33% off our NHI Course

What is the difference between the designed graph and the executed graph in agent governance?

The designed graph is the architecture you intended. The executed graph is the path the system actually took in production. Teams should reconstruct the executed graph from orchestrator state, harness events, gateway traces, and downstream audit records, because no single layer sees everything and diagrams often diverge from runtime behavior.

Why This Matters for Security Teams

The difference between the designed graph and the executed graph is the difference between intent and reality. In agent governance, that gap matters because autonomous systems do not follow a fixed path just because the architecture says they should. Tool calls, branching logic, retries, and hidden orchestration steps can create a runtime sequence that is materially different from the approved design, which is why diagram review alone is not enough.

This is especially important for teams trying to govern AI agents, multi-agent pipelines, or LLM-driven workflows. Static review artifacts can miss lateral movement across tools, prompt-influenced branching, and privilege escalation during execution. Current guidance from OWASP Agentic AI Top 10 and NIST AI Risk Management Framework both point toward runtime accountability, not just design-time approval.

NHIMG’s The State of Non-Human Identity Security highlights how weak visibility and incomplete control are already common in production environments. In practice, many security teams encounter the executed graph only after a downstream token misuse, unauthorized tool path, or data exposure has already occurred, rather than through intentional runtime verification.

How It Works in Practice

The designed graph is the intended control plane view: which tools the agent may use, which services it may call, which approvals are required, and how state should flow. The executed graph is reconstructed from evidence: orchestrator state, agent harness events, gateway traces, policy decisions, downstream logs, and audit records. No single layer usually captures the whole story.

For agent governance, that means runtime evidence collection becomes a first-class control. Security teams should correlate:

  • task intent and plan generation
  • tool invocation order and retries
  • policy checks and allow or deny decisions
  • credential issuance and revocation events
  • downstream actions taken in SaaS, cloud, or internal systems

This approach aligns well with the operational direction of CSA MAESTRO agentic AI threat modeling framework and the runtime visibility emphasis in MITRE ATLAS adversarial AI threat matrix. It also maps to NHIMG research on agentic risk in OWASP NHI Top 10, where execution paths and identity misuse often matter more than the intended architecture.

Practically, teams should treat the designed graph as the policy baseline and the executed graph as the audit artifact. The first supports approval, the second supports detection, forensics, and continuous control validation. These controls tend to break down when agents chain multiple external tools with asynchronous callbacks, because the final action no longer has a single linear trace.

Common Variations and Edge Cases

Tighter runtime graph capture often increases operational overhead, requiring organisations to balance forensic completeness against latency, storage, and alert noise. That tradeoff is real, especially when agents operate at high request volume or across many short-lived tasks.

Best practice is evolving for distributed or multi-agent systems. In a simple single-agent workflow, the executed graph may be close to the designed graph. In a larger environment, it can diverge because one agent delegates to another, a tool silently retries, or a policy engine makes a context-based decision that changes the route. There is no universal standard for this yet, but current guidance suggests recording enough evidence to replay decisions at request time.

Edge cases include human-in-the-loop approvals, asynchronous jobs, and long-running workflows where the original intent changes mid-execution. The security challenge is not just whether the system was designed safely, but whether the actual path stayed inside approved boundaries. That is why runtime policy enforcement, immutable event capture, and identity-bound tracing should be paired together, not treated as separate projects.

NHIMG’s 2024 ESG Report: Managing Non-Human Identities reinforces the broader pattern: when teams assume visibility that they do not actually have, compromise detection lags behind execution. The same lesson applies to agent graph. Design diagrams are necessary, but they are not proof of what happened.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 A2 Runtime path drift is a core agentic security risk.
CSA MAESTRO MTR-03 MAESTRO emphasizes threat modeling across agent execution paths.
NIST AI RMF AIRMF supports governance and traceability for AI system behavior.
OWASP Non-Human Identity Top 10 NHI-06 Executed graphs expose identity misuse across tool chains.
NIST CSF 2.0 DE.AE-1 Executed-graph reconstruction supports anomaly detection and response.

Correlate runtime events to detect deviations from the intended graph.