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 message array
  • Maps expected_outputexpected_output
  • Maps assertionsassert evaluators (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.

  • 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