ageval-cli
Operate ageval CLI (lock/run/plugin/view/publish/release/executors/campaign/evidence/status/cancel/jobs/results): flags, --set pointers, exit codes, --probe, offline agent path (AGEVAL_OFFLINE_AGENT), ACP entry readiness, plugin install, suite upload. Use when running ageval lock/run, PASS/FAIL/ERROR, trajectory export, Hub upload. Do not invent flags.
- License 许可
- MIT
- 所属仓库
- ZJU-REAL/ageval
- 最近更新
- 2026-11-14
- Stars
- ★ 81
- Forks
- 3
01 前言 Front Matter
- name
- ageval-cli
- description
- Operate ageval CLI (lock/run/plugin/view/publish/release/executors/campaign/evidence/status/cancel/jobs/results): flags, --set pointers, exit codes, --probe, offline agent path (AGEVAL_OFFLINE_AGENT), ACP entry readiness, plugin install, suite upload. Use when running ageval lock/run, PASS/FAIL/ERROR, trajectory export, Hub upload. Do not invent flags.
02 资源文件 3
- 参考文档agents/openai.yaml236 B
- 参考文档references/commands.md13.5 KB
- 参考文档references/failures.md3.8 KB
03 SKILL.md 正文
ageval CLI
uv sync --frozen --all-packages
uv run ageval --help
Public commands: ageval lock ageval run ageval replay ageval checkpoints ageval campaign tasks jobs view plugin evidence ageval status ageval cancel executors publish release login agent registry cache results. No submit. Path arguments are dataset roots. ageval view also accepts a directory of dataset roots.
uv run ageval lock examples/core --task config-minimal
uv run ageval run examples/core --task acp-local-min
uv run ageval run examples/core --task acp-docker-min --profiles examples/core/profiles.docker.yaml
uv run ageval run examples/datasets/minimal-demo --task terminal-jsonl-agg
uv run ageval run official/demo@0.1.0 --dir tmp
uv run ageval view official/demo@0.1.0
uv run ageval run … --probe # lock + preflight, no Agent
uv run ageval executors -v
uv run ageval plugin install plugins/nooa
--profiles replaces the dataset's default profiles.yaml. --agent and --profiles are mutually exclusive. --agent pi (and other shipped short ids) needs no agent install. --model requires --agent and overrides this run’s model.id (not ageval results upload-suite --model). ageval results analyze is separate: default analyzer stats; hack and review take --agent plus --model for an openai-http or anthropic-http package. Analysis does not change PASS or evaluation/checks.json. --set allowlist: /parameters/seed, /parameters/active_profile, /agent_profiles/<role>/{model,model/id,model/api,model/timeout,model/watchdog,model/reasoning/effort,executor,api_key,base_url,options/<key>}. model is a nested object. Not limits.*.
TTY prints a short recap (no digest / sha256). A pipe keeps JSON. ageval run --json forces the run document.
Exit: 0 PASS / probe ready; 1 FAIL / probe not ready; 2 ERROR.
Single Attempt evidence: <dataset>/.ageval/runs/<id>/ (lock.json, result.json, trajectory.jsonl; optional evaluation/observation.jsonl for evaluate-phase SDK invoke; optional evaluation/checks.json for evaluator checks).
--probe missing E2B_API_KEY or ssh locator → ready false, started false.
Offline: AGEVAL_OFFLINE_AGENT=1 must not PASS agent tasks.
Hub Leaderboard needs suite upload (ageval results upload-suite), not a lone results upload.
ageval replay <dataset> --run <attempt_id> [--evaluate] re-executes retained terminal actions in a new environment. It does not call the solver model. Exit 0 when the new observations match, 1 on the first meaningful divergence, 2 when the command refuses or the replay fails. --evaluate is the only way that Attempt gets PASS or FAIL. Detail: references/commands.md.
ageval run <dataset> --task <id> --resume <attempt_id> continues one unsealed Attempt in place. Exit 2, and no new result.json, when result.json already exists, the lock digest does not match, or the environment is still busy. --resume-suite skips settled PASS / FAIL / ERROR and continues a matching unsealed slot in place; a slot with no matching activity header starts a new Attempt. ageval results regrade <dataset> --run <attempt_id> scores a finished Attempt again from task-artifacts/ and verifier-collect/ (new Attempt, no agent run, collect commands are not re-run). Default --resume-suite skips ERROR; --retry-errors re-runs those slots. --replace-slot still replaces one named slot.
Flags: uv run ageval <cmd> --help. Source: src/ageval/cli/main.py.
ageval run <dataset> --max-tasks N runs at most N distinct eligible tasks in plan order (integer ≥ 1), including every remaining Always-k slot of each. --resume-suite <id> --max-tasks N skips settled slots first and preserves earlier rows. --retry-errors makes ERROR slots eligible. The cap is CLI/job only, excluded from Dataset defaults and config fingerprint, and incompatible with --replace-slot. Unscheduled tasks get no result/cancel placeholders. The slice finishes normally; Hub still checks full bound-version coverage.
Detail: references/commands.md, references/failures.md.
04 同仓库更多 Skills
echo
暂无简介
verify-ageval
Verify ageval by driving the public CLI: doctor, a lock that rejects a bad profile, and one minimal-demo task on local plus openai-http against the in-repo loopback gateway. Use when checking lock/run, seal invariants, or whether a credential skip was reported honestly. Triggers: verify ageval, loopback gateway, AGEVAL_SKIP_REAL_ACP, not run.
eval-ops-pitfalls
Pre-run environment checks and suite troubleshooting: dead proxies, invocation timeouts, package mirrors, model routing, environment_image_unresolved, widespread failures, evaluator dependencies, permissions, and CLI/schema mismatches. Use when preparing an evaluation run or diagnosing acp_timeout, HTTP_PROXY, AGEVAL_AGENT_INVOKE_TIMEOUT, AGEVAL_APT_MIRROR, PEP668, or test collection failures.
ageval-sdk-harness
Write dataset run.py with ageval_sdk (RunContext, Agent/AgentSession, ToolSet, RunTerminal, publish). Use for task run.py, sessions, tool guards, optional evaluator.py LLM-as-judge. Triggers: AgentSession, RunTerminal, ScriptError, ctx.publish_json, write run.py, evaluator.py. SDK never decides PASS or holds host credentials.
ageval-plugin
Author ageval.plugin/1: exclusive and chain slots, registry resolve, environment or executor implementations, image_layers bake. Use for plugin.yaml, attach_stdio hosts, trajectory_collect, README capability and parameter tables. Not an app store. Never invent slots.
ageval-platform
ageval platform map: authority (docs/design vs ARCHITECTURE vs Issues), Core vs dataset ownership, red lines (no secrets, mechanism-named adapters), evidence grades, which sibling skill to load. Use when entering the repo, asking "what is ageval", "who owns PASS", "read order", or "evidence grade". Not a substitute for docs/design.