Runtime Verification of AI Agent Actions in Intelligent Web Applications
AI agents embedded in web applications can execute syntactically valid commands without producing the state changes intended by a user. Tool completion, permission compliance and task correctness are therefore distinct verification obligations. This paper proposes a contract-based runtime verification framework that links an approved action specification to commit-time authorization and evidence-qualified outcome assessment. The framework combines semantic target binding, version-aware execution, stable operation identifiers, authoritative commit evidence and explicit frame conditions. A three-valued outcome monitor distinguishes verified completion, witnessed violation and insufficient evidence, while a separate admission gate prevents specified inadmissible transitions. Two conditional propositions establish admission safety and the soundness of reported completion under stated mediation and observation assumptions. A worked administrative-portal example demonstrates stale-state rejection, ambiguous tool outcomes and reconciliation without unsafe retries. An executable finite abstraction exhaustively evaluates 64 admission configurations and 16 observation configurations, exposing counterexamples to snapshot-only checks and tool-return-based success claims. These results validate the specified Boolean decision logic, not real-world agent performance. The contribution is an application-oriented integration of established verification and security principles, accompanied by a reproducible analysis and a deployment evaluation protocol. The framework clarifies which assurances require application ownership and which remain unavailable to browser-only agents.
Authors
- Teja Kolli Venkata Krishna
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24782004
- Primary Topic
- Access Control and Trust
- Type
- article
- Field-Weighted Citation Impact
- 0.00