Skip to main content

EvalScope Evaluator (agent-eval)

PyPI Python License: MIT

The evaluator of EvalScope — an agent-driven evaluation framework. It ships the agent-eval CLI: scenario packages as versioned YAML "exam papers", an ExecutionAgent that drives the system under test, and layered scoring (format gate → rule engine → LLM judge → vision).

Package name ai-eval-scope, import name agent_eval, CLI command agent-eval. Python ≥ 3.11.

Install

pip install ai-eval-scope                 # core: rule-based evaluation (no LLM deps)
pip install "ai-eval-scope[llm]"          # + LLM judge (OpenAI / Anthropic compatible)
pip install "ai-eval-scope[agent]"        # + ExecutionAgent runtime (DeepAgents-based)
pip install "ai-eval-scope[vision]"       # + vision evaluation (Playwright screenshots)
pip install "ai-eval-scope[datasets]"     # + dataset download (HuggingFace / ModelScope)
pip install "ai-eval-scope[agent,llm]"    # typical setup: execute + judge

uv tool install "ai-eval-scope[agent,llm]"          # uv: global CLI install
uvx --from "ai-eval-scope[agent,llm]" agent-eval --help   # one-off run, nothing installed

Quickstart

# ① Configure the judging model (interactive wizard: provider → API key → connectivity test)
agent-eval models set

# ② Open the workbench and describe what you want to evaluate in plain language
agent-eval start

# …or run the whole chain non-interactively (execute → evaluate → report → upload)
agent-eval pipeline --package chat --task "safety_*" --upload

Model configuration

agent-eval models set walks you through provider / protocol selection (any OpenAI- or Anthropic-compatible endpoint, including a custom base_url), hidden API-key input, and per-role model confirmation:

  • text — LLM judge (required for AI scoring)
  • vision — screenshot evaluation (needed by vision rule sets)
  • agent — execution-side model that drives the system under test (falls back to text)
agent-eval models list    # show config (API keys masked)
agent-eval models test    # one live call per configured role, with latency
agent-eval models clear   # remove stored config (including keys)

Keys are stored in ~/.agent_eval/llm.json with 0600 permissions and are never printed or logged.

Development

git clone https://github.com/domonic18/ai-eval-scope.git
cd ai-eval-scope/evaluator
uv sync --group dev                 # dev toolchain (PEP 735 dependency group)
uv run playwright install chromium  # only needed for vision-evaluation tests
uv run agent-eval --help
uv run pytest tests/unit -q         # fast gate; `make test` at the repo root for the full suite

Documentation

Full command handbook, scenario-package layout, and evaluation walkthroughs live in the repo docs:

License

MIT

Metadata

Release files for ai-eval-scope 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-eval-scope 0.5.0
File Size Uploaded Provenance
ai_eval_scope-0.5.0.tar.gz 1.5 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-eval-scope 0.5.0
File Interpreter ABI Platform
ai_eval_scope-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.6 MB

Release files / ai_eval_scope-0.5.0.tar.gz

Download URL ai_eval_scope-0.5.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
bf71f7bfba7025f041cf5b3d2b45759b9663c44826cc0d14a9ba3f167a57b812
BLAKE2b-256 checksum
How to use checksums
655ca6741252d267565555c14aeeefea7d265a9b6b6f4c98e92248756c192aed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ai_eval_scope-0.5.0-py3-none-any.whl

Download URL ai_eval_scope-0.5.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
879df727b8548590fb9fb7026b2d6b09a82c216e91a58787ac21cf24aaa091b0
BLAKE2b-256 checksum
How to use checksums
208d78e950127532bc07b48ce94eb67c5894af141d24a21f3abd673a2fd1b9f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ai-eval-scope 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page