Skip to content

Convert

The convert command converts evaluation files between formats: YAML ↔ JSONL, and Agent Skills evals.json → AgentV EVAL YAML.

Terminal window
agentv convert evals/dataset.eval.yaml

Outputs a .jsonl file alongside the input.

Terminal window
agentv convert evals/dataset.jsonl

Outputs a .eval.yaml file alongside the input.

Terminal window
agentv convert evals.json

Converts an Agent Skills evals.json file into an AgentV EVAL YAML file. The converter:

  • Maps promptinput prompt text
  • Maps expected_output → expected-outcome rubric criteria, not AgentV expected_output
  • Maps assertions[] and expectations[]llm-rubric rubric criteria
  • Maps files[]input_files
  • Maps skill_nametags.skill and 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.

  • 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