1# Eval
2
3This eval assumes the working directory is the root of the repository. Run it with:
4
5```sh
6cargo run -p eval
7```
8
9The eval will optionally read a `.env` file in `crates/eval` if you need it to set environment variables, such as API keys.
10
11## Explorer Tool
12
13The explorer tool generates a self-contained HTML view from one or more thread
14JSON file. It provides a visual interface to explore the agent thread, including
15tool calls and results. See [./docs/explorer.md](./docs/explorer.md) for more details.
16
17### Usage
18
19```sh
20cargo run -p eval --bin explorer -- --input <path-to-json-files> --output <output-html-path>
21```
22
23Example:
24
25```sh
26cargo run -p eval --bin explorer -- --input ./runs/2025-04-23_15-53-30/fastmcp_bugifx/*/last.messages.json --output /tmp/explorer.html
27```