agent-ops-check v0.2.0 新增可選即時評測執行器
agent-ops-check v0.2.0 adds an optional live eval runner for AI agents
agent-ops-check v0.2.0 為 AI 智能體新增可選的即時評測執行器,讓工具可將已生成的案例實際交由智能體執行。eval 會驗證 agent-evals.yaml,只有使用 --live 或設定 live: true 才會呼叫智能體;預設為 dry-run,並會提醒即時模式可能令智能體採取真實行動。
agent-ops-check is my open-source CLI that scans an AI agent for missing guardrails and writes eval cases. Until now it stopped at writing them. v0.2.0 adds an optional live eval runner so you can actually run those cases against your agent.
The static scan is unchanged: it still only writes cases, and a scan without --llm still makes no network calls.
What's new
-
agent-ops-check eval: validatesagent-evals.yamland calls the agent only with--liveorlive: true. Dry-run is the default, and live mode warns that the agent may take real actions. -
Optional Python package
agent-ops-evals(Python 3.11+), built on pydantic-evals 2.59.0 (MIT). Node and Python exchange files only: YAML in,results.jsonout. The Node tool keeps working when Python isn't installed, and if Python and uv are both missing the command prints install steps and exits. -
Targets in
agent-evals.yaml: an HTTP endpoint, a Python callable, a CLI command, or a Pydantic AI agent. - Packs: LLMail-Inject samples from Microsoft (MIT), OWASP-tagged cases generated from the same templates as the static scan, a JSONL file a scan already wrote, and benign emails.
- Deterministic yes/no checks: a planted canary leaked, a forbidden tool was called, a secret pattern leaked, or a benign case that should be answered was refused (over-block).
-
Network promise: still true for the static scan.
evalcontacts only the agent you configure, nothing else. -
CI: a new
python-evaljob installs the package and runs the Python tests against fake HTTP and CLI agents. The existing Node jobs are unchanged. -
examples/agent-evals.yamldry-runs from a checkout.
Not in this release
An AI/LLM judge, promptfoo export, and a static-versus-live scorecard are planned for later phases.
Release notes: https://github.com/ultimatixarup/agent-ops-check/releases/tag/v0.2.0
Feedback and issues are welcome on GitHub.
Personal project built on my own time. Not affiliated with or endorsed by my employer.
來源:DEV Community · dev.to