Deontic Policies for Runtime Governance of Agentic AI Systems

Anupam Joshi, Tim Finin, Karuna Pande Joshi, Lalana KagalarXiv 2026

TL;DR

As Large Language Model (LLM) agents transition from simple chatbots to autonomous systems that invoke tools and execute financial transactions, traditional "allow/deny" security guardrails are no longer sufficient. This paper introduces AgenticRei, a runtime governance framework that uses deontic logic and Semantic Web technologies to enforce complex enterprise policies—such as obligations, dispensations, and conflict resolutions—completely outside the LLM. It achieves this with a sub-millisecond policy evaluation latency, making it practical for real-world deployment.

What Problem Does This Paper Address?

When LLM-driven agents operate autonomously across organizational boundaries, they introduce massive security, privacy, and compliance risks. Prompt-level guardrails are notoriously unreliable due to "security reasoning drift," where slight variations in an LLM's context can cause it to misinterpret its boundaries.

To fix this, the industry has moved toward external policy engines (like Open Policy Agent/Rego or Cedar) that intercept actions before they happen. However, these engines rely on flat Attribute-Based Access Control (ABAC) lists that only understand binary permit or prohibit choices. Real-world enterprise governance requires much more nuance:

  • Obligations: "If an agent accesses this regulated dataset, it must log the action within 60 seconds."
  • Dispensations: Waiving a standing obligation under specific, authorized conditions.
  • Semantic Grounding: Automatically applying rules to new data types based on an organizational hierarchy (e.g., knowing a "pediatric oncology record" inherits the restrictions of "Protected Health Information") without manually updating the policy code.
  • Principled Conflict Resolution: Handling overlapping or contradictory rules from different authorities using explicit meta-policies rather than arbitrary rule ordering.

Methods

The authors propose AgenticRei, a framework built on the Rei deontic policy framework and grounded in OWL/RDF (Web Ontology Language) semantics. Operating entirely outside the LLM, AgenticRei intercepts tool calls and agent-to-agent (A2A) messages using a three-step Extract-Evaluate-Apply pipeline:

  1. Extract: A middleware layer intercepts outbound actions and maps them into a structured ⟨subject, action, resource⟩ semantic triple.
  2. Evaluate: A high-performance logic engine (RDFox) queries a triple-store loaded with the Rei deontic rules and pluggable domain ontologies. It returns a deterministic verdict (PERMIT, PROHIBIT, or DEFAULT-DENY) along with any attached obligations.
  3. Apply: The middleware either allows the action to proceed (attaching the obligation to the tool result for the agent to fulfill) or blocks it entirely, returning a structured policy-violation message.

The runtime architecture is detailed in the diagram below:

Fig. 1. AgenticRei runtime architecture. Both tool-call interception and A2A message interception share the same PolicyEngine, AuditLogger, and ObligationManager.

Datasets

Because AgenticRei is a logic-based policy framework rather than a machine learning model, it does not require training datasets. Instead, the authors evaluated its expressive capabilities using five concrete, real-world policy scenarios ($P1$ through $P5$). These scenarios simulate complex governance environments, including healthcare compliance (handling HIPAA/PHI data hierarchies) and financial services (navigating autonomous high-value transactions, treasury approvals, and Bank Secrecy Act reporting thresholds).

Key Insights and Ideas

  • Separation of Permission and Consequence: Traditional engines conflate access control with behavioral rules. Deontic logic cleanly separates what an agent is allowed to do from what duties arise as a result of that action.
  • Ontological Scaling: By leveraging Semantic Web technologies, policies remain future-proof. If a hospital adds a new type of medical record to its domain ontology, AgenticRei automatically applies existing privacy rules to it via subclass reasoning, eliminating manual policy updates.
  • Governing the Governance: Autonomy thresholds (e.g., the maximum dollar amount an agent can transact without human approval) are treated as objects within the policy knowledge base. This means raising an agent's allowance requires an auditable policy update rather than a silent, risky configuration change.

Key Results

  • Sub-Millisecond Performance: In preliminary benchmarks, the RDFox logic engine evaluated complex policy pairs and obligation lookups in under 1 millisecond.
  • Low End-to-End Latency: The entire interception loop—including HTTP round-trip overhead—completed in under 10 milliseconds, well within the acceptable threshold for real-time, synchronous tool execution.
  • Advanced Expressibility: The authors successfully demonstrated a financial workflow ($P5$) where an agent is prohibited from making high-value payments unless it possesses a treasury credential, triggers a mandatory regulatory report upon execution, and waives that report if the counterparty belongs to an "exempt person" class. This level of policy composition is structurally impossible in flat-list engines like Rego or Cedar.

Limitations and Future Work

  • Simulated Credentials: Cryptographic signature verification is currently simulated via trusted-issuer matching. Full integration with production agent runtimes and cryptographic frameworks (like decentralized identifiers) is still underway.
  • Verifying Obligation Discharge: While the system successfully issues obligations and tracks deadlines, verifying that an agent actually fulfilled its duty requires a richer model. The authors plan to integrate W3C Verifiable Credentials to create a machine-verifiable loop for obligation discharge.
  • Policy Authoring Barriers: Writing formal logic and ontologies is notoriously difficult. The authors suggest that future work could involve using LLMs to translate natural-language enterprise policies into verified Rei code, combining the flexibility of generative AI with the safety of deterministic enforcement.

Summary updated

BibTeX
@misc{joshi2026deontic,
  author = {Anupam Joshi and Tim Finin and Karuna Pande Joshi and Lalana Kagal},
  title = {{Deontic Policies for Runtime Governance of Agentic AI Systems}},
  year = {2026},
  eprint = {2606.19464},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.19464},
}
Figure