Metraipolis › archive › dc_5f6abd20cc45
Symbolic Temporal Supervision of LLM Agents Using Contracts — arXiv:2609.18128
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.18128
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T17:11:43.193Z
- SHA-256 of the archived text
94369aafab88cad4b83698a34835ff51bf02654a4f2d85b09de2d7e1061a5420- Stable URL of this page
https://metraipolis.com/documento/dc_5f6abd20cc45
How to cite
Symbolic Temporal Supervision of LLM Agents Using Contracts — arXiv:2609.18128 — arXiv (en), https://arxiv.org/abs/2609.18128 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5f6abd20cc45 (Metraipolis archive dc_5f6abd20cc45, sha256 94369aafab88cad4b83698a34835ff51bf02654a4f2d85b09de2d7e1061a5420)
BibTeX
@misc{dc5f6abd20cc45,
title = {Symbolic Temporal Supervision of LLM Agents Using Contracts — arXiv:2609.18128},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.18128},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5f6abd20cc45; sha256 94369aafab88cad4b83698a34835ff51bf02654a4f2d85b09de2d7e1061a5420},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.18128. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large language model (LLM) agents augmented by tools can automate complex, multi-step tasks, such as web navigation, code generation, and workflow orchestration, by acting on external systems through tool calls. However, hallucinations, distributional instability, and adversarial manipulations in LLMs, and the irreversible consequences of certain tool calls can lead to harmful outcomes. Existing safeguards either grade recorded trajectories post hoc with stochastic LLM judges or block unsafe actions one call at a time, and no single deterministic artifact supports both roles. We present ContrAgent, a contract-based framework for symbolic temporal supervision of LLM agents. ContrAgent captures an agent's behavior as a sequence of tool calls and formalizes it as a trace over a fixed set of checkable predicates. It then specifies required behaviors using assume-guarantee contracts in linear temporal logic over finite traces (LTLf). Each contract is compiled to a deterministic finite automaton (DFA) that serves two roles: gating agent actions online and evaluating recorded traces offline. A contract library, acting as a reusable knowledge base, is maintained independently of the agent's model and can be applied across different agents within the same task domain. We show the effectiveness of our approach on four benchmarks spanning both roles, where ContrAgent matches state-of-the-art LLM-judge and rule-based guardrail baselines while producing deterministic, reproducible verdicts and, in the online mode, orders-of-magnitude lower per-call latency. Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-09-17 in cs.LO). Categorie arXiv: Artificial Intelligence (cs.AI) ; Logic in Computer Science (cs.LO). Pagina del lavoro: https://arxiv.org/abs/2609.18128 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-15T16:17:30.225Z dalla pagina https://arxiv.org/catchup/cs.LO/2026-09-17?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).