Prerequisites
1
Install the CLI
2
Set your DSN
3
Verify your setup
✔.Evaluation workflow
A typical CLI evaluation workflow follows four steps:1. List available evaluations and datasets
2. Inspect an evaluation
3. Run the evaluation
Limit prompts per dataset
Set a custom timeout
Enable debug logging
4. View past results
View full evaluation history
Command reference
Flags reference
Scripting and CI/CD
Exit codes
Shell script example
GitHub Actions example
Tips
Quick smoke test
Use
--max-prompts 5 for a fast sanity check before running the full evaluation.Always run doctor first
If something seems wrong,
kya doctor will tell you exactly which part of the pipeline is broken.Combine with SDK
Use the CLI for ad-hoc testing and the SDK for automated pipelines. Both create runs visible in the dashboard.
Pipe output
CLI output is designed for both humans and machines. Combine with
grep or jq for custom reporting.