Execution journal
LLM calls, tool calls, state changes, metrics, git operations, and custom events in append-only JSONL.
Derived analysis
Cost attribution and step outcomes in a separate
analysis.jsonl stream.Evaluation seam
EvalSubject adapters expose recorded behavior to evaluators such as Agent Judge.Modules
journal-core uses Jackson 2 and the SLF4J API.
The capture modules also depend on their respective Java SDKs, whose published bytecode requires Java 21.
Install
io.github.markpollack group ID and are available from Maven Central.
Documentation
Getting started
Record and persist a first run with
journal-core.Core concepts
Understand experiments, runs, event streams, analysis streams, feedback, and storage.
Capture SDK sessions
Project Claude Code and Gemini CLI results into Agent Journal.
Analyze runs
Query generated journals with DuckDB.
API reference
Stable 1.8.2 entry points, events, storage operations, and capture options.
Related projects
- Agent Workflow provides the separate
workflow-journalintegration module. - Agent Judge consumes evaluation subjects derived from recorded behavior.
- Markov fingerprinting is one downstream analysis technique for tool-call sequences.
Source code
Agent Journal on GitHub (BSL 1.1)