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.

CI Release 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 Concepts 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.6.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.6-py3-none-any.whl (132.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentops_toolkit-0.1.6.tar.gz
  • Upload date:
  • Size: 6.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for agentops_toolkit-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f6076c0a8d448498dade8b08477ff55904ce7f0b42007a7c44f6e432ff9b74bc
MD5 e490d18d8f56b35d6134113ab5d3c082
BLAKE2b-256 0393a1ff2e560ae107235a30113483f8e69679351de267013f5d2e4441e527da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentops_toolkit-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8a436bbc9e47095885d229070e745f194e447d43c97d5bd80c89f4c3b3e1a003
MD5 fb547d6f633ff82fee474947a756c8a8
BLAKE2b-256 50f5b089307eb37b70d807112a31394041e07ae50e9362cf8340052ed2f153bc

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