Skip to main content
lightsage evals run either runs a saved eval or creates and starts one directly. A run fans out across every prompt and agent, then repeats each pair according to --runs.

Commands

Create and run directly

Repeat --prompt, --judge, --agent, --cli, --mcp, --setup-command, --cleanup-command, --env, --skill, and --tag once per value. The response includes the created eval_id and the parent run id. Setup commands run sequentially before agent execution and fail the attempt fast if one exits unsuccessfully. Cleanup commands run best-effort after result capture and before sandbox deletion, including when agent execution fails.

Run a saved eval

Run the saved defaults:
Add a configuration when the run needs a saved repository, environment profile, skill set, or legacy tool selection:
You can replace saved prompts, persona, agents, CLIs, MCP servers, setup commands, cleanup commands, or repeat count for one launch. An explicitly empty clis, mcps, setup_commands, or cleanup_commands array in a JSON body disables the saved collection for that launch.

Monitor and inspect a run

The parent run reports its agents, persona, prompt count, runs per matrix cell, attempt count, status, and progress. Attempt-level analysis and trace records include the exact prompt, prompt index, agent, and repeat index. Inline environment values are write-only. Lightsage keeps them in private job configuration and does not return them in run, trace, result, or analysis responses.