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→inputprompt text - Maps
expected_output→ expected-outcome rubric criteria, not AgentVexpected_output - Maps
assertions[]andexpectations[]→llm-rubricrubric criteria - Maps
files[]→input_files - Maps
skill_name→tags.skilland records adapter provenance metadata - Adds TODO comments for AgentV-specific features (workspace setup, script graders, rubrics)
AgentV can run detected Agent Skills evals.json files directly through the
built-in read adapter. Use convert to import the definition into an editable
AgentV YAML file without running a target.
When to Use
Section titled “When to Use”- evals.json → YAML to onboard Agent Skills evaluations into editable AgentV YAML
- YAML → JSONL for large-scale evaluations, programmatic processing, or compatibility with other tools
- JSONL → YAML for human editing, adding execution config, or better readability