Before release

AgentTrustCI

JUnit tests for allowed tools, evidence-supported answers, and the order of tool calls. Run the checks beside ordinary application tests.

Project
Open source · Research prototype
Built with
Java 21 · JUnit 5 · LangChain4j
By
Sachin Gupta

The problem

An agent can produce a correct final answer while calling a forbidden tool, inventing a value, or taking actions in the wrong order. Output-only tests miss those differences.

How it works

Encode expectations in test cases, replay tool-call traces, and check policy, answer support, and the permitted sequence of actions with deterministic validators.

What is available

A self-contained Java framework and authored regression cases used in talks on agent governance. The associated manuscript is recorded as accepted at ICCA 2026.