Trident: A Tri-LLM Architecture for Securing Dynamic Agentic AI Systems

Vishnu Asutosh Dasu, Lilit Avetisyan, Jorge Guajardo, Gang Tan
11/25/2026
cs.AI

No confident code implementation found for this paper.

Abstract

AI agents are ubiquitous and form a central part of many systems, from software development to autonomous vehicles. They are most useful for data-dependent tasks, where external untrusted data can legitimately determine their next action.

Show full abstract

However, indirect prompt injection attacks exploit this dependency. Existing system-level defenses limit these attacks with planning restrictions, information-flow control, tool policies, and human approval. In this paper, we present TRIDENT, a secure agentic AI framework that supports data-dependent replanning, while provably bounding how much untrusted data can influence planning and ensuring that its security policies come only from trusted inputs. TRIDENT splits the agent across three LLMs: a Planner-LLM that never reads raw untrusted text, a Data-LLM that reads it but holds no permissions, and a Policy-LLM that writes the policies. A reference monitor checks every LLM output deterministically. The monitor lets the planner learn from untrusted data only through finite-range answers and feedback, and meters them against an influence budget $β$ and a feedback budget $σ$. For fixed trusted inputs and randomness, the attacker can select among at most $2^{β+σ}$ observable traces, and every executed call passes the root policy. We prove both guarantees and machine-check the proofs in a Lean formalization of the security model. We also evaluate TRIDENT with four models on AgentDojo and on ReplanInject, a new benchmark of tasks whose plans depend on the injected content, and we test it against adaptive attacks. On ReplanInject, TRIDENT completes 54\% to 74\% of tasks under attack, more on average than any other defense we evaluate, and with a human in the loop, no tested attack succeeds.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dasu2026trident,
  title  = {Trident: A Tri-LLM Architecture for Securing Dynamic Agentic AI Systems},
  author = {Vishnu Asutosh Dasu and Lilit Avetisyan and Jorge Guajardo and Gang Tan},
  year   = {2026},
  eprint = {2611.35150},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.35150v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.35150.svg)](https://codeofpaper.com/paper/2611.35150)

Discussion