Skip to main content
What’s New β†’ Current release: 0.9.0 Β· Java 21 Β· three modules On main, not yet released (0.10.0-SNAPSHOT). Two new modules: experiment-agent-client (AgentClientInvoker, with options from Agent Client) and experiment-runtime (canonical acquisition through Agent Client and Agent Journal, with immutable per-item results). Breaking: AgentExperiment takes a Function<AgentJudgingInput, Jury> that builds a fresh jury for every item, judges use the Agent Eval 0.19 API (Judge.judge() with no context), ClaudeSdkInvoker and the phase journal are removed, and a run needs -Dexperiment.writer.revision. Unknown cost, tokens and duration are recorded as unknown, not zero. Resolve 0.10.0-SNAPSHOT from the Central snapshot repository; provenance markpollack/agent-experiment@b5d323c. None of this is in 0.9.0.

Overview

Agent Experiment provides a repeatable lifecycle for agent evaluations: load versioned fixture or Git-backed datasets, provision isolated workspaces, invoke an agent, judge results with Agent Eval juries, persist structured evidence, and compare variants. experiment-core has no direct agent-SDK integration. experiment-claude adds Claude Code SDK invocation (ClaudeSdkInvoker) and semantic evaluation (SemanticDiffJudge), while experiment-workflow adapts typed Agent Workflow executions and journaled step costs to the common AgentInvoker contract. The framework records source and dataset revisions, dirty state, configuration, knowledge hashes, workspaces, results, costs/tokens, and journals. Exact replay still depends on callers pinning the external model, CLI, tools, network services, and other nondeterministic inputs.

Architecture

Dataset

Git-managed fixture datasets with items, before/reference snapshots, and version tracking

AgentExperiment

Orchestrates the full loop: load items, invoke agent, judge, aggregate, persist

Comparison Engine

Compare runs across variants with per-judge deltas, regression detection, and summary statistics

Sessions & Sweeps

Group variant results into sessions, group sessions into sweeps for multi-run analysis

ReEvaluator

Post-hoc re-scoring of stored results without re-invoking agents

JudgeExperiment

Run a judge as the system under test against labeled datasets

Modules

Documentation

Getting Started

Run your first experiment: dataset, agent, jury, variant comparison

Creating Experiments

Design datasets, configure variants, wire custom judges

Jury System

Build cascaded juries for tiered evaluation

API Reference

Core types, runner, comparison, storage, re-evaluation

Quick Start

The public template provides a complete starting point with variant configuration, workflow invokers, default-on journal capture, and a credential-free smoke test.

Release and Compatibility

Version 0.9.0 records Agent Eval’s verdict interpretation beside each result and uses Workflow 0.12.3. Earlier results remain readable and are not rewritten; InterpretationReExport can add readings while preserving stored verdicts. Release notes. Version 0.6.0 moves runtime judging to Agent Eval 0.14.0. Stored results use Agent Experiment-owned RecordedJudgment and RecordedVerdict projections. Existing 0.5 / Agent Eval 0.13 result files load automatically and preserve normalized outcomes, reasoning, checks, labels, metadata, and available composite evidence. Re-saving writes the new format; obsolete range bounds, categorical allow-lists, and unnamed legacy composite identity cannot be reconstructed losslessly. Standalone consumers resolve Agent Journal/Capture 1.10.0, Jackson 2.22.2, and Jackson 3.2.2 without an AgentWorks BOM. The parent artifact publishes one aggregate CycloneDX 1.6 JSON SBOM, and the stable release includes signed binaries, sources, and Javadocs with the project BSL text.

Role in the Lab

Agent Experiment is the execution layer that ties the other AgentWorks projects together: Public experiments built on this lifecycle include:

Source

GitHub

Source code (BSL 1.1) β€” three modules in 0.9.0, five on main