Convert
The convert command converts evaluation files between formats: YAML ↔ JSONL, and Agent Skills evals.json → AgentV EVAL YAML.
YAML to JSONL
Section titled “YAML to JSONL”agentv convert evals/dataset.eval.yamlOutputs a .jsonl file alongside the input.
JSONL to YAML
Section titled “JSONL to YAML”agentv convert evals/dataset.jsonlOutputs a .eval.yaml file alongside the input.
Agent Skills evals.json to EVAL YAML
Section titled “Agent Skills evals.json to EVAL YAML”agentv convert evals.jsonConverts an Agent Skills evals.json file into an AgentV EVAL YAML file. The converter:
- Maps
prompt→inputmessage array - Maps
expected_output→expected_output - Maps
assertions→assertevaluators (llm-judge) - Resolves
files[]paths relative to the evals.json directory - Adds TODO comments for AgentV-specific features (workspace setup, code judges, rubrics)
This is a one-way conversion — use it as a starting point, then enhance the generated YAML with AgentV features.
When to Use
Section titled “When to Use”- evals.json → YAML to onboard Agent Skills evaluations into AgentV with full feature access
- YAML → JSONL for large-scale evaluations, programmatic processing, or compatibility with other tools
- JSONL → YAML for human editing, adding execution config, or better readability