Observability for Delegated Execution in Agentic AI Systems
This paper addresses the inability of standard audit logs to uniquely identify delegation scopes in dynamic LLM-based agentic systems by proposing an agent-aware observability substrate that binds delegation context at execution time to enable reliable, heuristic-free forensic reconstruction.
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 hire a team of highly skilled, autonomous assistants (AI agents) to handle a complex project for you. You give them a broad goal: "Organize our sales data and share the summary with the team."
In the past, if you hired a human employee, you could easily track their day: they opened a file, sent an email, and printed a report. But these AI agents are different. They don't just follow a straight line. They might:
- Split the job into smaller tasks and send them to other AI sub-assistants.
- Try a tool, fail, and try a different one.
- Run several tasks at the exact same time on different computers.
- Get confused by a tricky document and accidentally do something they weren't supposed to, all while still acting under your original permission.
The Problem: The "Ghost" of Delegation
The authors of this paper argue that our current way of tracking these agents is broken. We have "audit logs" (like a security camera) and "traces" (like a map of the path taken).
However, the paper claims that you cannot figure out which actions belonged to your specific delegation just by looking at these logs.
Here is an analogy: Imagine two different delivery drivers (Delegation A and Delegation B) are working in the same city. They both use the same roads (tools) and sometimes pass each other.
- The Old Way: We only have a log of every car that passed a specific intersection and the time it happened.
- The Problem: If Driver A and Driver B both pass the intersection at 2:00 PM, and their paths look similar, we can't tell which driver did what just by looking at the traffic log. We might guess they were together because they were close in time, but that's just a guess. If they overlap, retry, or split up, the guess becomes impossible.
The paper proves mathematically that without a specific label attached to the permission itself, it is impossible to reconstruct exactly what your delegated authority did. The "authority" (who gave the order) is completely separate from the "causality" (the order in which things happened).
The Solution: The "Smart Gateway" and the "Universal Badge"
To fix this, the authors propose a new system called CIM (Common Information Model) and a Gateway.
- The Gateway (The Security Guard): Imagine a security guard standing at the door of every tool the AI wants to use (like a file server, a chat app, or a database).
- The Universal Badge (The Delegation ID): When the AI starts a job, the system issues a unique, unchangeable "Badge ID" for that specific delegation.
- The Rule: Every time the AI touches anything, the Gateway checks for the Badge. If the AI is acting under your permission, the Gateway stamps that action with your Badge ID before it happens.
This is different from just adding a "Session ID" (like a ticket number for a single trip). A Session ID breaks if the AI splits the job into sub-teams or retries a task. The Badge ID stays with the authority, even if the AI spawns a sub-agent, runs tasks in parallel, or goes back and forth.
What This Allows Us to Do
With this new system, asking questions becomes easy and accurate, like looking up a specific customer in a database rather than guessing based on who was standing near the door.
- The "Blast Radius" Question: Instead of guessing, "What files did the AI touch between 2:00 and 2:30?" (which might include other people's work), you can ask: "Show me every single file touched by Badge #123, regardless of which tool was used or when."
- The "Sub-Agent" Question: If the main AI hired a sub-agent to do the dirty work, the Badge ensures that the sub-agent's actions are still clearly linked to your original delegation.
- The "Drift" Question: If the AI started reading safe files but then suddenly started reading secret files, the system can spot this "drift" in the Badge's activity log, even if the AI didn't ask for permission to change.
Important Limitations (What the Paper Does NOT Claim)
- It doesn't read minds: The system doesn't know if the AI intended to do something or if it was tricked (like by a "prompt injection"). It only records that the action happened under your delegation. If the AI was tricked into stealing a file, the system says, "Your delegation did this," not "The AI was hacked."
- It needs a door: The system only works if the AI goes through the "Gateway." If the AI finds a backdoor or uses a tool the Gateway isn't watching, those actions are invisible.
- It's not a prevention tool: It doesn't stop the AI from doing bad things; it just makes sure we can accurately see what happened afterward.
In Summary
The paper argues that as AI agents get more chaotic and complex, our old way of tracking them (looking at time and paths) fails. We need a new way of tracking that follows the permission itself, not just the path. By attaching a permanent "Badge" to every action at the moment it happens, we can finally reconstruct exactly what our delegated AI did, even when it's running in circles, splitting into teams, or working across many different systems.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.