Judge or a Jury with them, the evidence and the runtime, then call judge() or vote().
You get back every original answer, which requirement it was about and what each model or tool call did, and you decide
separately whether your application may rely on it. Compilers, tests and analyzers stay in charge of what they can settle;
a model is asked only where a written requirement needs interpretation.
Formerly Agent Judge. The Maven coordinates (io.github.markpollack:agent-judge-*) and Java packages are unchanged.
agent-judge-ai-core for EARS and RFC 2119 requirements, agent-judge-json-jackson2 for stored results and
agent-judge-assertj for test assertions, all at 1.0.0; Getting started lists all
14 modules.
What you get
Specifications that execute
EARS and RFC 2119 requirements are native values. Judge one requirement, or hand a jury the whole roster and
investigate it in one pass.
A linter for the spec itself
New in 1.0.0: requirements are read whole and as CommonMark, strict loading names every problem with its line, and
RequirementDocuments.assertValid(dir) keeps a specification valid from one test.Refuses a prompt it cannot afford
New in 1.0.0: a generated audit measures the whole request first and returns
ERROR, never FAIL, instead of
sending an oversized prompt.Five answers, kept apart
PASS, FAIL, ABSTAIN, NOT_APPLICABLE and ERROR stay distinct. A
Verdict keeps the roster, every original answer and
the invocations, then derives its conclusion.Reliance is your call
Application policy is a separate step. Withholding reliance on a PASS does not rewrite the verdict, and the policy
result is stored beside it.
Results you can read in six months
Strict V6 storage keeps the complete evaluation, and retained reads and assertions run no producers or policies.
Compose like code
Simple, cascaded and meta juries, explicit
AllOf parents with typed assignments, and voting strategies you choose.Deterministic judges and adapters
Build, command, coverage and file judges, plus runtimes for Spring AI and Agent Client and evidence bridges for
LangChain4j and Koog.
1.0.0 in brief
Agent Judge is now Agent Eval, and it moves from 0.18.0 to 1.0.0; there is no 0.19.0. Requirement documents are read whole, strictly and as CommonMark, with a specification linter. Generated audits refuse an oversized prompt before calling. Generated-answer invocations store message digests instead of messages (generated-answer:v3). Three API changes need
attention when you upgrade from 0.18.0: EvalModel is no longer an EvalRuntime, BuildSuccessJudge is no longer a
CommandJudge, and code compiled against 0.18.0 must be recompiled. The What’s New page
lists each one. Versions do not follow semantic versioning: a deliberate breaking change moves the major version.
The tutorial, with its eleven fundamentals modules and the PetClinic case study, uses released 1.0.0.
Requirements, evidence and execution
Keep using javac, JUnit and static analysis for questions they can settle. Use a model or agent when checking a written requirement needs interpretation. Prepared evidence is supplied explicitly; workspace, tools and timeout are configured on an investigative backend.EarsJudge and Rfc2119Judge assess one actual requirement. EarsJury and Rfc2119Jury assess a
selected roster. A generated investigative roster enters its backend once for the whole roster;
that backend can make several internal model and tool calls. A structured runtime executes once
per requirement and retains those individual invocation owners.
The PetClinic case study uses the same unchanged subject:
The model-backed rows replay archived responses. Fresh replay verifies the configured public
caller and retention, rather than establishing new model findings about the subject.
Keep the result and the reliance decision
AJudgment keeps PASS, FAIL, ABSTAIN, NOT_APPLICABLE and ERROR distinct. A Verdict additionally
retains the roster, actual requirement associations, child attempts and original results.
Native facts and invocation ownership stay attached; absent recorded usage remains unknown.
A refused native result preserves its complete original, including its own Checks and invocations.
Application policy is a separate decision. Withholding reliance on a PASS Verdict does not rewrite
its conclusion. Producer AssertJ stages evaluate once, cache the complete result or failure,
and can apply policy once. V6 storage retains the corresponding EvaluationResult. Retained reads
and assertions execute no producers or policies.
Build the configured example
Add the 1.0.0 dependencies and provide requirements, evidence and runtime configuration.
Executable requirements
Run prepared and whole-roster callers without inference.
PetClinic case study
Preserve RFC13, EARS6 and EARS52 while separating assessment from merge policy.
Read and retain results
Understand conclusions, native evidence, refusals and V6 storage.
Resources
- Source
- 1.0.0 release notes
- Tutorial
- Configured API reference
- Migrating from 0.17 to 0.18
- What’s New
- Historical 0.17 migration