Deterministic Legal Agents: A Canonical Primitive API for Auditable Reasoning over Temporal Knowledge Graphs
–arXiv.org Artificial Intelligence
For autonomous legal agents to operate safely in high-stakes domains, they require a foundation of absolute determinism and auditability-guarantees that standard Retrieval-Augmented Generation (RAG) frameworks cannot provide. When interacting with temporal knowledge graphs that model the complex evolution of legal norms, agents must navigate versioning, causality, and hierarchical structures with precision, a task for which black-box vector search is ill-suited. This paper introduces a new architectural pattern to solve this: a formal Primitive API designed as a secure execution layer for reasoning over such graphs. Instead of a monolithic query engine, our framework provides a library of canonical primitives-atomic, composable, and auditable primitives. This design empowers planner-guided agents to decompose complex legal questions into transparent execution plans, enabling critical tasks with full verifiability, including: (i) precise point-in-time version retrieval, (ii) robust causal lineage tracing, and (iii) context-aware hybrid search. Ultimately, this architecture transforms opaque retrieval into auditable reasoning, turning the agent's internal process from a black box into a verifiable log of deterministic primitives and providing a blueprint for building the next generation of trustworthy legal AI.
arXiv.org Artificial Intelligence
Nov-5-2025
- Country:
- South America > Brazil (0.50)
- Genre:
- Workflow (1.00)
- Industry:
- Information Technology > Security & Privacy (0.68)
- Law > Statutes (0.67)
- Technology:
- Information Technology > Artificial Intelligence
- Cognitive Science > Problem Solving (0.68)
- Natural Language
- Information Retrieval > Query Processing (0.34)
- Large Language Model (0.49)
- Text Processing (0.46)
- Representation & Reasoning
- Agents (0.68)
- Logic & Formal Reasoning (0.68)
- Semantic Networks (0.62)
- Temporal Reasoning (0.60)
- Information Technology > Artificial Intelligence