How to delegate evaluation
Use the eval passthrough and understand what happens when the evaluation engine is absent.
You want to evaluate a skill's behavior — and you need to know exactly what
agore-skill eval does and does not do.
The passthrough
eval is deliberately thin. It looks for a binary named agore-eval on your
PATH and, when found, hands over the entire invocation with all arguments
and streams intact:
agore-skill eval run --skill demo-skill --dataset evals/basic.yamlHere run --skill demo-skill --dataset evals/basic.yaml — everything after
eval — is passed verbatim to agore-eval as its arguments. The child
process inherits stdin, stdout and stderr, so interactive evaluation works
and you see the engine's output unmodified.
Two facts about the contract:
- Flag parsing is disabled on
evalitself. Arguments are never interpreted byagore-skill, so the engine's own flags (including things like--json) reach it untouched. - If
agore-evalitself exits non-zero,agore-skill evalfails withagore-eval failed: ...and returns that failure to the shell.
When the engine is not installed
agore-eval is a separate distribution. Without it, eval prints one line
and exits 0:
agore-eval binary not found in PATH. The evaluation engine is distributed separately and will be linked in a future release.
Note the exit code: zero. A missing engine is reported as guidance, not
as a failure — so a script that always runs eval will not break in
environments where evaluation was never set up. If you want the CI to fail
when evaluation is genuinely expected, make the engine's presence explicit
yourself, for example with command -v agore-eval.
Installing the engine
The evaluation engine ships separately from this CLI. Keep the two versions
decoupled: upgrading agore-skill never changes evaluation behavior, and
vice versa.
Related
- The command contract in full: eval reference
- Why evaluation is a separate binary: Architecture and package layout