← Latest papers
💻 computer science

Agentproof: Static Verification of Agent Workflow Graphs

Agentproof is a static verification system that automatically extracts unified graph models from major agent frameworks to detect structural defects and enforce temporal safety policies via a specialized DSL and DFA-based analysis, complementing runtime guardrails by identifying topology-level issues before deployment.

Original authors: Melwin Xavier, Vaisakh M A, Melveena Jolly, Midhun Xavier

Published 2026-03-24
📖 4 min read☕ Coffee break read

Original authors: Melwin Xavier, Vaisakh M A, Melveena Jolly, Midhun Xavier

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are building a complex robot butler. You don't just tell it "clean the house"; you write a detailed flowchart: Pick up the broom → Go to the kitchen → If the floor is dirty, sweep → If the floor is clean, go to the living room → Put the broom away.

In the world of AI, these "robots" are called Agents. They use tools (like searching the web or sending emails) based on these flowcharts, which are called Workflow Graphs.

The problem is that when developers build these flowcharts, they often make silly mistakes. They might draw a path that leads to a dead end (the robot gets stuck), or they might forget to put a "human approval" step before the robot deletes a database.

Currently, we only check for these mistakes while the robot is running. If the robot gets stuck, we only find out when it actually tries to run that specific path. It's like waiting for a car to crash before you realize the brakes were never connected.

Agentproof is a new tool that acts like a super-smart architect who checks the blueprints before you even build the house.

Here is how it works, using simple analogies:

1. The Universal Translator (The Extractor)

Different robot builders use different languages. Some use "LangGraph," others use "CrewAI" or "AutoGen." It's like one builder speaks French, another speaks Japanese, and another speaks German.

  • Agentproof's job: It has a translator for all of them. It reads the blueprint in any of these languages and instantly converts it into a single, standard "Universal Blueprint" that it can understand. You don't have to rewrite your code; Agentproof just reads it.

2. The "Spot the Glitch" Inspector (Structural Checks)

Once it has the universal blueprint, Agentproof runs six quick checks to find logical errors. Think of it like a game of "Where's Waldo" for logic errors:

  • The Dead End: "Hey, this path leads to a wall. The robot will get stuck here forever."
  • The Ghost Exit: "You have an 'End' button, but there is no path leading to it. The robot will never know when to stop."
  • The Missing Gate: "You are about to let the robot delete a file, but you forgot to put a 'Human Approval' checkpoint in front of it!"
  • The Magic Trick: If it finds a mistake, it doesn't just say "Error." It gives you a Witness Trace. This is like a GPS route showing you exactly: Start → Turn Left → Go Straight → CRASH. It shows you the exact path the robot will take to get stuck.

3. The Rulebook Enforcer (Temporal Policies)

Sometimes the problem isn't a dead end, but the order of things.

  • Rule: "You must never delete a table without first backing it up."
  • Rule: "If you send an email, a human must review it first."

Agentproof translates these rules into a simple "traffic light" system (called a DFA). It checks the blueprint to see if any possible path the robot could take breaks these rules.

  • Static Check: It simulates every possible journey the robot could take on the blueprint. If any path breaks a rule, it stops you before you deploy.
  • Runtime Check: It can also watch the robot while it's working, acting like a security guard who yells "Stop!" if the robot tries to do something bad in real-time.

Why is this a big deal?

  • No Manual Work: Old tools required you to rewrite your robot's code into a special "verification language" (like translating a novel into a math equation). Agentproof does this automatically.
  • Speed: It checks huge blueprints (up to 5,000 steps) in less than a second.
  • Safety: In a test of 18 different robot blueprints, Agentproof found that 27% had structural glitches (dead ends) and 55% were missing human safety gates. These are mistakes that would have been very hard to catch just by testing the robot a few times.

The Bottom Line

Think of Agentproof as the safety inspector for AI robots.

  • Runtime Guardrails (the old way) are like a seatbelt: they catch you if you crash, but they don't stop the crash from happening.
  • Agentproof is like checking the car's engine and brakes before you drive it. It ensures the map you gave the robot actually leads to a destination and doesn't have any holes in the road.

It doesn't check if the robot is "smart" or telling the truth (that's a different problem); it just makes sure the robot's plan is logically sound and safe to execute.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →