Skip to main content

AgentOps CLI for standardized evaluation workflows

Project description

AgentOps Toolkit

AgentOps CLI for evaluation, observability, and operational workflows for Microsoft Foundry Agents and Models.

License: MIT Status: Preview Python 3.11+ CLI Built on Microsoft Foundry

Overview

AgentOps Toolkit is a CLI built on Microsoft Foundry that standardizes evaluation and operational workflows for AI agents and models, helping teams run, monitor, and automate AgentOps processes.

The project enables:

  • Consistent local and CI execution of agent evaluations
  • Reusable evaluation policies through bundles
  • Operational observability through tracing, monitoring, and run inspection
  • Stable machine-readable outputs for automation
  • Human-readable reports for PR reviews and quality gates

Operational capabilities include:

  • Standardized evaluation workflows
  • Run history and result inspection
  • Tracing and observability
  • Monitoring (dashboards and alerts)
  • CI/CD automation
  • Operational reporting and analysis

Core outputs:

  • results.json (machine-readable)
  • report.md (human-readable)

Exit code contract:

  • 0 execution succeeded and all thresholds passed
  • 2 execution succeeded but one or more thresholds failed
  • 1 runtime or configuration error

Quickstart

Quickstart demo: agentops init and eval run

1) Install

python -m venv .venv
# activate your venv in the current shell
python -m pip install -U pip
python -m pip install agentops-toolkit

2) Initialize and Configure

agentops init

This creates .agentops/ with starter bundles, datasets, and run configs for common scenarios (model quality, RAG, agent workflow, content safety).

Set your Foundry project endpoint:

export AZURE_AI_FOUNDRY_PROJECT_ENDPOINT="https://<resource>.services.ai.azure.com/api/projects/<project>"

Then edit .agentops/run.yaml to set your agent_id and model deployment name.

Authentication uses DefaultAzureCredential — run az login locally, or use service principal env vars in CI.

3) Run Evaluation

agentops eval run

Results are written to .agentops/results/latest/:

  • results.json — machine-readable scores
  • report.md — human-readable summary

To run a different scenario:

agentops eval run --config .agentops/run-rag.yaml

To regenerate the report from existing results:

agentops report generate

See docs/concepts.md for an overview of bundles, datasets, evaluators, backends, and the configuration model.

Commands

Command Description Status
agentops --version Show installed version
agentops init [--path DIR] Scaffold project workspace, starter files, and coding agent skills
agentops eval run [--config PATH] Evaluate a dataset against a bundle
agentops eval compare --runs ID1,ID2 Compare two past runs
agentops report generate [--in FILE] Regenerate report.md from results.json
agentops workflow generate Generate GitHub Actions workflow
agentops skills install [--platform <p>] Install coding agent skills (Copilot, Claude)
agentops run list|show List or inspect past runs 🚧
agentops bundle list|show Browse bundle catalog 🚧
agentops dataset validate|describe Dataset utilities 🚧
agentops trace init Tracing setup 🚧
agentops monitor setup|show|configure Monitoring operations 🚧

Planned commands return a friendly message indicating they are not yet implemented.

Documentation

Concepts and Architecture

  • Concepts — bundles, datasets, evaluators, backends, configuration model
  • How It Works — architecture, request flow, full schema reference
  • Bundles — bundle authoring and evaluator configuration

Tutorials

Operations

Contributing

See CONTRIBUTING.md for architecture rules, testing expectations, and contribution workflow.

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

agentops_toolkit-0.1.5.tar.gz (6.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentops_toolkit-0.1.5-py3-none-any.whl (131.8 kB view details)

Uploaded Python 3

File details

Details for the file agentops_toolkit-0.1.5.tar.gz.

File metadata

  • Download URL: agentops_toolkit-0.1.5.tar.gz
  • Upload date:
  • Size: 6.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agentops_toolkit-0.1.5.tar.gz
Algorithm Hash digest
SHA256 c513cd9e22712350f9861e79f7584c8cba7baf4167019627fb69797865f6955d
MD5 cc2f9b666087488cd9245a23b7d7d47e
BLAKE2b-256 f896f0277c2cf53129b5b7104ad4dfc7617e11e66869787ad45593e001a2eaae

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentops_toolkit-0.1.5.tar.gz:

Publisher: release.yml on Azure/agentops

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentops_toolkit-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for agentops_toolkit-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b3ccbf406afac463848ea641a0b61cde28b6c63a7eec10074139bb58df2b8a93
MD5 509ccd83803bf097ef493f6e1614c4a5
BLAKE2b-256 f600b9544e8d433a938fe98af0f305de0d118efa2b6f8eeccd7ac331c8012dc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentops_toolkit-0.1.5-py3-none-any.whl:

Publisher: release.yml on Azure/agentops

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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