Skip to main content

External CLI for evaluating Fred agent turns via /agents/evaluate

Project description

fred-deepeval-cli

External CLI for evaluating one Fred agent turn through POST /agents/evaluate.

Purpose

This project provides a small external CLI that:

  • calls a Fred pod /agents/evaluate endpoint
  • receives an EvalTrace
  • classifies the turn outcome
  • resolves an evaluation preset from agent_tags
  • computes structural checks
  • scores the trace with DeepEval

Commands

make dev
make eval-dev
make test
make code-quality
make cli
make score BASE_URL=http://127.0.0.1:8000/fred/agents/v2 AGENT_ID=fred.test.assistant INPUT="echo bonjour" SESSION_ID=eval-001 USER_ID=alice
make sql-scenarios BASE_URL=http://127.0.0.1:8000/fred/agents/v2

## Documentation

| Topic | File |
| --- | --- |
| Evaluate any Fred agent pod | `docs/evaluating-any-fred-agent.md` |
| RAG evaluation  approach and metrics | `docs/rag-evaluation-rfc.md` |
| RAG local setup guide | `docs/rag-local-setup.md` |
| SQL evaluation | `docs/sql-evaluation.md` |
| OTel export strategy | `fred/docs/swift/rfc/AGENT-EVALUATION-RFC.md §13` |

## Architecture — EVAL-01 Phase 1

This CLI is being restructured into a reusable library core so the Fred
Control Plane evaluation worker can call it directly without spawning a subprocess.

- `fred_deepeval_cli/core/`  callable library (models, evaluator, profiles, scorer, judge factory)
- `fred_deepeval_cli/cli/`  thin CLI adapter over the core
- `fred_deepeval_cli/worker_adapter.py`  public entrypoint for the Control Plane worker

The CLI interface and JSON output remain unchanged.
See EVAL-01 Phase 1 issue and `fred/docs/swift/rfc/AGENT-EVALUATION-RFC.md §7.3`.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fred_deepeval_cli-0.1.1.tar.gz (14.6 kB view details)

Uploaded Source

File details

Details for the file fred_deepeval_cli-0.1.1.tar.gz.

File metadata

  • Download URL: fred_deepeval_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fred_deepeval_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b3755ec8be559d8892e63bfcac1c5c4a35aee7a9adb602ce95921884532d4768
MD5 9d0f28cc75883f66852676b880aa37a6
BLAKE2b-256 d9967adc79a7d677ed9b962cfb2f0545164a5fec0bf1e078c8a8068acda079aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page