agentops-accelerator 0.4.1__tar.gz → 0.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/AGENTS.md +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/CHANGELOG.md +16 -0
- agentops_accelerator-0.4.2/PKG-INFO +114 -0
- agentops_accelerator-0.4.2/README.md +61 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/README.md +1 -1
- {agentops_accelerator-0.4.1/src/agentops/templates → agentops_accelerator-0.4.2/plugins/agentops}/skills/agentops-config/SKILL.md +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/skills/agentops-eval/SKILL.md +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/pyproject.toml +4 -6
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/foundry_config.py +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/foundry_control.py +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/results_history.py +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/prompt_deploy.py +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/runtime.py +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/azd_eval_init.py +127 -35
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-deploy-dev-azd.yml +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-deploy-dev.yml +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-deploy-prompt-agent.yml +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-deploy-qa-azd.yml +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-deploy-qa.yml +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-pr-prompt-agent.yml +1 -1
- {agentops_accelerator-0.4.1/plugins/agentops → agentops_accelerator-0.4.2/src/agentops/templates}/skills/agentops-config/SKILL.md +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/skills/agentops-eval/SKILL.md +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-deploy-dev-azd.yml +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-deploy-dev.yml +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-deploy-prompt-agent.yml +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-deploy-qa-azd.yml +1 -1
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-deploy-qa.yml +1 -1
- agentops_accelerator-0.4.2/src/agentops_accelerator.egg-info/PKG-INFO +114 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops_accelerator.egg-info/requires.txt +4 -6
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_azd_eval_init.py +175 -2
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/uv.lock +9 -11
- agentops_accelerator-0.4.1/PKG-INFO +0 -283
- agentops_accelerator-0.4.1/README.md +0 -229
- agentops_accelerator-0.4.1/src/agentops_accelerator.egg-info/PKG-INFO +0 -283
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.claude-plugin/marketplace.json +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.gitattributes +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/actions/azure-oidc-login/action.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/code-quality-py.instructions.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/copilot-instructions.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/dependabot.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/extensions/agentops-skills/extension.mjs +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/plugin/marketplace.json +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/skills/release-management/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/workflows/_build.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/workflows/agentops-watchdog.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/workflows/ci.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/workflows/cut-release.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/workflows/e2e.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/workflows/release.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.github/workflows/staging.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.gitignore +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.pre-commit-config.yaml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.vscode/launch.json +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.vscode/settings.json +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/.vscode/tasks.json +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/CONTRIBUTING.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/LICENSE +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/SECURITY.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/bundles.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/ci-github-actions.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/concepts.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/doctor-checks.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/doctor-explained.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/e2e-live-architecture.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/e2e-live-setup.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/foundry-evaluation-sdk-built-in-evaluators.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/how-it-works.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/media/agentops-diagrams.vsdx +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/media/foundry-control-plane.png +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/release-process.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/tutorial-end-to-end.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/tutorial-hosted-agent-quickstart.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/docs/tutorial-prompt-agent-quickstart.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/examples/flat-quickstart/README.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/examples/flat-quickstart/agentops.yaml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/examples/flat-quickstart/dataset.jsonl +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/icon.png +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/infra/e2e/agent-app/Dockerfile +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/infra/e2e/agent-app/app.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/infra/e2e/agent-app/requirements.txt +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/infra/e2e/bootstrap.bicep +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/infra/e2e/bootstrap.parameters.example.json +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/infra/e2e/perrun.bicep +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/launch.json +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/media/foundry.svg +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/media/quickstart.gif +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/.vscodeignore +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/LICENSE +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/package.json +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/plugin.json +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/skills/agentops-agent/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/skills/agentops-dataset/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/skills/agentops-governance/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/skills/agentops-report/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/plugins/agentops/skills/agentops-workflow/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/create_support_agent.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/cut-release.ps1 +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/cut-release.sh +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/e2e_aggregate_summary.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/e2e_data/basic.jsonl +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/e2e_data/rag.jsonl +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/e2e_data/tools.jsonl +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/e2e_demo.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/e2e_hosted_agent.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/e2e_make_transcript.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/e2e_render_config.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/release.ps1 +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/release.sh +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/setup-e2e-new-tenant.ps1 +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/staging.ps1 +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/staging.sh +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/sync-skills.ps1 +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/scripts/sync-skills.sh +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/setup.cfg +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/__main__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/_legacy_ids.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/analyzer.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/_rbac_authorization.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/catalog.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/errors.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/governance.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/latency.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/observability.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/opex.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/opex_workspace.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/posture.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/posture_rules/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/posture_rules/content_filter.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/posture_rules/diagnostics.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/posture_rules/local_auth.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/posture_rules/managed_identity.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/posture_rules/network.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/rbac_openai_data_plane.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/regression.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/release_readiness.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/safety.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/checks/spec_conformance.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/cockpit.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/config.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/findings.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/history.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/knowledge/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/knowledge/waf-checklist.csv +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/llm_assist/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/llm_assist/_base.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/llm_assist/_bundle_rule.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/llm_assist/_client.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/llm_assist/_dataset_rules.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/llm_assist/_engine.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/llm_assist/_prompt_rules.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/llm_assist/_spec_rules.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/production_telemetry.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/report.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/server/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/server/app.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/server/auth.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/server/chat.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/server/protocol.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/_credentials.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/azure_monitor.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/azure_resources.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/spec_detectors/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/spec_detectors/_base.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/spec_detectors/agents_md.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/sources/spec_detectors/spec_kit.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/agent/time_range.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/cli/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/cli/app.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/core/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/core/agentops_config.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/core/azd_eval.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/core/config_loader.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/core/evaluators.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/core/governance.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/core/release_evidence.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/core/results.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/mcp/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/mcp/server.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/azd_runner.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/cloud_results.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/cloud_runner.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/comparison.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/diagnostics.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/invocations.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/official_eval.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/orchestrator.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/publisher.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/reporter.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/thresholds.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/assert_runner.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/cicd.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/eval_analysis.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/evidence_pack.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/initializer.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/preflight.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/redteam_runner.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/setup_wizard.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/skills.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/trace_promotion.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/workflow_analysis.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/.gitignore +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/agent-server/Dockerfile +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/agent-server/README.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/agent-server/main.bicep +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/agent.yaml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/agentops.yaml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/foundry.svg +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/icon.png +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-deploy-prod-azd.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-deploy-prod.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-pr.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/pipelines/azuredevops/agentops-watchdog.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/project.gitignore +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/sample-traces.jsonl +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/skills/agentops-agent/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/skills/agentops-dataset/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/skills/agentops-governance/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/skills/agentops-report/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/skills/agentops-workflow/SKILL.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/smoke.jsonl +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/waf-checklist.README.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/waf-checklist.csv +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-deploy-prod-azd.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-deploy-prod.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-pr-prompt-agent.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-pr.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/templates/workflows/agentops-watchdog.yml +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/utils/__init__.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/utils/azd_env.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/utils/azure_endpoints.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/utils/colors.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/utils/dotenv_loader.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/utils/foundry_discovery.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/utils/logging.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/utils/telemetry.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/utils/yaml.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops_accelerator.egg-info/SOURCES.txt +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops_accelerator.egg-info/dependency_links.txt +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops_accelerator.egg-info/entry_points.txt +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops_accelerator.egg-info/top_level.txt +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/TESTING.md +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/fixtures/fake_adapter.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/fixtures/fake_eval_runner.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/integration/.gitkeep +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/integration/test_cli_flat_schema.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/integration/test_pipeline_smoke.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/.gitkeep +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_analyzer.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_categories.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_checks_errors.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_checks_foundry_config.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_checks_observability.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_checks_opex.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_checks_opex_workspace.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_checks_rbac_openai_data_plane.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_checks_regression.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_checks_safety.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_checks_spec_conformance.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_cli.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_config.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_findings.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_history.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_opex_workspace_check.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_posture_rules.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_results_history.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agent_server.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_agentops_config.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_assert_and_redteam_runners.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_azd_env.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_azd_eval.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_azd_runner.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_azure_endpoints.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_azure_resources_discovery.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_cicd.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_cli_cockpit_connection_summary.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_cli_cockpit_port_conflict.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_cli_commands.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_cli_explain.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_cloud_results.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_cloud_runner.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_cockpit.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_diagnostics.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_doctor_catalog.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_doctor_cli_explain.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_dotenv_loader.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_e2e_render.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_eval_analysis.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_eval_run_grader_errors.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_evaluators.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_foundry_discovery.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_governance.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_init_command.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_initializer.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_invocations.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_knowledge_loader.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_llm_assist.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_llm_assist_spec_rules.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_mcp_server.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_official_eval.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_pipeline_publisher.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_pipeline_reporter.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_preflight.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_production_telemetry.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_prompt_deploy.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_release_evidence.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_runtime_conversation.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_runtime_model_config.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_setup_wizard.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_shared_credentials.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_skills.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_skills_sync.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_telemetry.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_time_range.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_trace_promotion.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tests/unit/test_workflow_analysis.py +0 -0
- {agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/tombstones/vscode/CDN_DEPRECATION_REQUEST.md +0 -0
|
@@ -472,7 +472,7 @@ Authentication rule (Windows-friendly):
|
|
|
472
472
|
|
|
473
473
|
Recommended default behavior:
|
|
474
474
|
- Keep Foundry cloud mode as the default for `name:version` agents
|
|
475
|
-
- Install
|
|
475
|
+
- Install AgentOps normally; Foundry runtime dependencies are part of the default package
|
|
476
476
|
- Keep Azure SDK imports inside functions (lazy) in `pipeline/` and `agent/`
|
|
477
477
|
- Do not hardcode `api_version` in `get_openai_client()` — the SDK picks it
|
|
478
478
|
|
|
@@ -5,6 +5,22 @@ This format follows [Keep a Changelog](https://keepachangelog.com/) and adheres
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.4.2] - 2026-06-17
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **`agentops eval init` now works with both old and new `azure.ai.agents` azd
|
|
12
|
+
extensions.** Version 0.1.40 of the extension renamed the eval subcommand from
|
|
13
|
+
`azd ai agent eval init` to `azd ai agent eval generate`, which made
|
|
14
|
+
`agentops eval init` hard-fail with `Command "init" is deprecated, use 'azd ai
|
|
15
|
+
agent eval generate' instead`. AgentOps now invokes `generate` first and
|
|
16
|
+
transparently falls back to the legacy `init` subcommand when an older
|
|
17
|
+
extension does not recognise `generate`. The fallback only triggers on
|
|
18
|
+
subcommand-name/deprecation errors; genuine failures (authentication, project
|
|
19
|
+
endpoint, timeouts) are still surfaced immediately and unchanged. All
|
|
20
|
+
previously passed flags (`--project-endpoint`, `--agent`,
|
|
21
|
+
`--gen-instruction-file`, `--eval-model`, `--dataset`, `--evaluator`) and the
|
|
22
|
+
recipe discovery/persistence behaviour are preserved.
|
|
23
|
+
|
|
8
24
|
## [0.4.1] - 2026-06-15
|
|
9
25
|
|
|
10
26
|
### Changed
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentops-accelerator
|
|
3
|
+
Version: 0.4.2
|
|
4
|
+
Summary: Release readiness gates and evidence for Microsoft Foundry agents
|
|
5
|
+
License: MIT License
|
|
6
|
+
|
|
7
|
+
Copyright (c) Microsoft Corporation.
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in all
|
|
17
|
+
copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
+
SOFTWARE.
|
|
26
|
+
|
|
27
|
+
Requires-Python: >=3.11
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
License-File: LICENSE
|
|
30
|
+
Requires-Dist: typer<1.0,>=0.12
|
|
31
|
+
Requires-Dist: pydantic<3,>=2
|
|
32
|
+
Requires-Dist: ruamel.yaml<1.0,>=0.18
|
|
33
|
+
Requires-Dist: azure-ai-projects<3.0,>=2.0.1
|
|
34
|
+
Requires-Dist: azure-ai-evaluation<2.0,>=1.0
|
|
35
|
+
Requires-Dist: azure-identity<2.0,>=1.17
|
|
36
|
+
Requires-Dist: azure-monitor-opentelemetry<2.0,>=1.6
|
|
37
|
+
Requires-Dist: pandas<4.0,>=2.0
|
|
38
|
+
Provides-Extra: mcp
|
|
39
|
+
Requires-Dist: mcp<2,>=1.0; extra == "mcp"
|
|
40
|
+
Provides-Extra: agent
|
|
41
|
+
Requires-Dist: fastapi<1.0,>=0.110; extra == "agent"
|
|
42
|
+
Requires-Dist: uvicorn[standard]<1.0,>=0.30; extra == "agent"
|
|
43
|
+
Requires-Dist: httpx<1.0,>=0.27; extra == "agent"
|
|
44
|
+
Requires-Dist: cryptography>=42; extra == "agent"
|
|
45
|
+
Requires-Dist: markdown<4.0,>=3.6; extra == "agent"
|
|
46
|
+
Requires-Dist: azure-monitor-query<3.0,>=1.3; extra == "agent"
|
|
47
|
+
Requires-Dist: azure-monitor-opentelemetry<2.0,>=1.6; extra == "agent"
|
|
48
|
+
Requires-Dist: azure-identity<2.0,>=1.17; extra == "agent"
|
|
49
|
+
Requires-Dist: azure-mgmt-cognitiveservices<15.0,>=13.5; extra == "agent"
|
|
50
|
+
Requires-Dist: azure-mgmt-monitor<7.0,>=6.0; extra == "agent"
|
|
51
|
+
Requires-Dist: azure-mgmt-authorization<5.0,>=4.0; extra == "agent"
|
|
52
|
+
Dynamic: license-file
|
|
53
|
+
|
|
54
|
+
<h1 align="center">AgentOps Accelerator</h1>
|
|
55
|
+
|
|
56
|
+
<p align="center">
|
|
57
|
+
<b>Evaluate. Ship. Observe. Own.</b>
|
|
58
|
+
<br/>
|
|
59
|
+
Continuous evaluation, safety testing, observability, and release readiness for Microsoft Foundry agents.
|
|
60
|
+
</p>
|
|
61
|
+
|
|
62
|
+
<p align="center">
|
|
63
|
+
<a href="https://aka.ms/agentops-accelerator"><b>Documentation</b></a> |
|
|
64
|
+
<a href="https://pypi.org/project/agentops-accelerator/">PyPI</a> |
|
|
65
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=AgentOpsAccelerator.agentops-accelerator">VS Code Extension</a> |
|
|
66
|
+
<a href="https://github.com/Azure/agentops/releases/latest">Latest release</a>
|
|
67
|
+
</p>
|
|
68
|
+
|
|
69
|
+
<p align="center">
|
|
70
|
+
<a href="https://pypi.org/project/agentops-accelerator/"><img alt="PyPI" src="https://img.shields.io/pypi/v/agentops-accelerator.svg?label=PyPI&color=blue"/></a>
|
|
71
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=AgentOpsAccelerator.agentops-accelerator"><img alt="VS Code Extension" src="https://img.shields.io/badge/VS%20Code-Extension-007ACC.svg?logo=visualstudiocode"/></a>
|
|
72
|
+
<a href="https://github.com/Azure/agentops/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/Azure/agentops/actions/workflows/ci.yml/badge.svg?branch=develop"/></a>
|
|
73
|
+
<a href="https://github.com/Azure/agentops/actions/workflows/release.yml"><img alt="Release" src="https://github.com/Azure/agentops/actions/workflows/release.yml/badge.svg"/></a>
|
|
74
|
+
<a href="https://github.com/Azure/agentops/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-green.svg"/></a>
|
|
75
|
+
</p>
|
|
76
|
+
|
|
77
|
+
AgentOps Accelerator helps Microsoft Foundry agent teams evaluate quality, prepare releases, monitor behavior, and stay accountable after launch. It gives you a practical starting point for agent operations, with Foundry integration as the default path and deeper setup guidance in the full docs.
|
|
78
|
+
|
|
79
|
+
## Get started
|
|
80
|
+
|
|
81
|
+
```powershell
|
|
82
|
+
python -m pip install agentops-accelerator
|
|
83
|
+
agentops init
|
|
84
|
+
agentops eval analyze
|
|
85
|
+
agentops eval run
|
|
86
|
+
agentops doctor --evidence-pack
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## What it helps you do
|
|
90
|
+
|
|
91
|
+
Use AgentOps Accelerator when you need to:
|
|
92
|
+
|
|
93
|
+
- Evaluate an agent before release
|
|
94
|
+
- Compare changes across versions
|
|
95
|
+
- Capture release evidence
|
|
96
|
+
- Monitor agent quality and regressions
|
|
97
|
+
- Give teams a repeatable way to own agent behavior in production
|
|
98
|
+
|
|
99
|
+
The accelerator keeps the local workflow simple, then points you to the full
|
|
100
|
+
docs when you are ready to configure pipelines, dashboards, and release
|
|
101
|
+
practices.
|
|
102
|
+
|
|
103
|
+
## Learn more
|
|
104
|
+
|
|
105
|
+
For setup guides, tutorials, architecture, CI/CD guidance, Doctor checks, and
|
|
106
|
+
evaluator reference, see:
|
|
107
|
+
|
|
108
|
+
<p align="center">
|
|
109
|
+
<a href="https://aka.ms/agentops-accelerator"><b>https://aka.ms/agentops-accelerator</b></a>
|
|
110
|
+
</p>
|
|
111
|
+
|
|
112
|
+
## Contributing
|
|
113
|
+
|
|
114
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for development, testing, and contribution guidance.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<h1 align="center">AgentOps Accelerator</h1>
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<b>Evaluate. Ship. Observe. Own.</b>
|
|
5
|
+
<br/>
|
|
6
|
+
Continuous evaluation, safety testing, observability, and release readiness for Microsoft Foundry agents.
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<a href="https://aka.ms/agentops-accelerator"><b>Documentation</b></a> |
|
|
11
|
+
<a href="https://pypi.org/project/agentops-accelerator/">PyPI</a> |
|
|
12
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=AgentOpsAccelerator.agentops-accelerator">VS Code Extension</a> |
|
|
13
|
+
<a href="https://github.com/Azure/agentops/releases/latest">Latest release</a>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
<p align="center">
|
|
17
|
+
<a href="https://pypi.org/project/agentops-accelerator/"><img alt="PyPI" src="https://img.shields.io/pypi/v/agentops-accelerator.svg?label=PyPI&color=blue"/></a>
|
|
18
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=AgentOpsAccelerator.agentops-accelerator"><img alt="VS Code Extension" src="https://img.shields.io/badge/VS%20Code-Extension-007ACC.svg?logo=visualstudiocode"/></a>
|
|
19
|
+
<a href="https://github.com/Azure/agentops/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/Azure/agentops/actions/workflows/ci.yml/badge.svg?branch=develop"/></a>
|
|
20
|
+
<a href="https://github.com/Azure/agentops/actions/workflows/release.yml"><img alt="Release" src="https://github.com/Azure/agentops/actions/workflows/release.yml/badge.svg"/></a>
|
|
21
|
+
<a href="https://github.com/Azure/agentops/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-green.svg"/></a>
|
|
22
|
+
</p>
|
|
23
|
+
|
|
24
|
+
AgentOps Accelerator helps Microsoft Foundry agent teams evaluate quality, prepare releases, monitor behavior, and stay accountable after launch. It gives you a practical starting point for agent operations, with Foundry integration as the default path and deeper setup guidance in the full docs.
|
|
25
|
+
|
|
26
|
+
## Get started
|
|
27
|
+
|
|
28
|
+
```powershell
|
|
29
|
+
python -m pip install agentops-accelerator
|
|
30
|
+
agentops init
|
|
31
|
+
agentops eval analyze
|
|
32
|
+
agentops eval run
|
|
33
|
+
agentops doctor --evidence-pack
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## What it helps you do
|
|
37
|
+
|
|
38
|
+
Use AgentOps Accelerator when you need to:
|
|
39
|
+
|
|
40
|
+
- Evaluate an agent before release
|
|
41
|
+
- Compare changes across versions
|
|
42
|
+
- Capture release evidence
|
|
43
|
+
- Monitor agent quality and regressions
|
|
44
|
+
- Give teams a repeatable way to own agent behavior in production
|
|
45
|
+
|
|
46
|
+
The accelerator keeps the local workflow simple, then points you to the full
|
|
47
|
+
docs when you are ready to configure pipelines, dashboards, and release
|
|
48
|
+
practices.
|
|
49
|
+
|
|
50
|
+
## Learn more
|
|
51
|
+
|
|
52
|
+
For setup guides, tutorials, architecture, CI/CD guidance, Doctor checks, and
|
|
53
|
+
evaluator reference, see:
|
|
54
|
+
|
|
55
|
+
<p align="center">
|
|
56
|
+
<a href="https://aka.ms/agentops-accelerator"><b>https://aka.ms/agentops-accelerator</b></a>
|
|
57
|
+
</p>
|
|
58
|
+
|
|
59
|
+
## Contributing
|
|
60
|
+
|
|
61
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for development, testing, and contribution guidance.
|
|
@@ -46,7 +46,7 @@ skills from the extension/plugin.
|
|
|
46
46
|
Run this from the repository where you want skills checked in:
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
|
-
python -m pip install "agentops-accelerator
|
|
49
|
+
python -m pip install "agentops-accelerator @ git+https://github.com/Azure/agentops.git@main"
|
|
50
50
|
agentops skills install --platform copilot --force
|
|
51
51
|
```
|
|
52
52
|
|
|
@@ -17,7 +17,7 @@ then return here once there is a `name:version` or URL.
|
|
|
17
17
|
|
|
18
18
|
## Step 0 - Prerequisites
|
|
19
19
|
|
|
20
|
-
1. `pip install "agentops-accelerator
|
|
20
|
+
1. `pip install "agentops-accelerator @ git+https://github.com/Azure/agentops.git@main"` if `agentops` is missing.
|
|
21
21
|
2. Run `agentops eval analyze` first. If it reports missing or ambiguous
|
|
22
22
|
target/dataset/scenario signals, use this skill to adapt the config.
|
|
23
23
|
3. If `agentops.yaml` does not exist, run `agentops init` first. The init
|
|
@@ -15,7 +15,7 @@ with a `name:version` or URL.
|
|
|
15
15
|
|
|
16
16
|
## Step 0 - Setup
|
|
17
17
|
|
|
18
|
-
1. Install if missing: `pip install "agentops-accelerator
|
|
18
|
+
1. Install if missing: `pip install "agentops-accelerator @ git+https://github.com/Azure/agentops.git@main"`.
|
|
19
19
|
2. If `agentops.yaml` does not exist at the project root, run `agentops init`.
|
|
20
20
|
The init wizard prompts (azd-style) for the Foundry project endpoint,
|
|
21
21
|
agent reference, and dataset path, persists each answer to
|
|
@@ -13,17 +13,15 @@ dependencies = [
|
|
|
13
13
|
"pydantic>=2,<3",
|
|
14
14
|
"ruamel.yaml>=0.18,<1.0",
|
|
15
15
|
"azure-ai-projects>=2.0.1,<3.0",
|
|
16
|
-
]
|
|
17
|
-
license = { file = "LICENSE" }
|
|
18
|
-
|
|
19
|
-
[project.optional-dependencies]
|
|
20
|
-
mcp = ["mcp>=1.0,<2"]
|
|
21
|
-
foundry = [
|
|
22
16
|
"azure-ai-evaluation>=1.0,<2.0",
|
|
23
17
|
"azure-identity>=1.17,<2.0",
|
|
24
18
|
"azure-monitor-opentelemetry>=1.6,<2.0",
|
|
25
19
|
"pandas>=2.0,<4.0",
|
|
26
20
|
]
|
|
21
|
+
license = { file = "LICENSE" }
|
|
22
|
+
|
|
23
|
+
[project.optional-dependencies]
|
|
24
|
+
mcp = ["mcp>=1.0,<2"]
|
|
27
25
|
agent = [
|
|
28
26
|
"fastapi>=0.110,<1.0",
|
|
29
27
|
"uvicorn[standard]>=0.30,<1.0",
|
|
@@ -60,7 +60,7 @@ def _no_foundry_control_finding(diag: dict) -> Finding:
|
|
|
60
60
|
recommendation=(
|
|
61
61
|
"Set `sources.foundry_control.project_endpoint` (or the "
|
|
62
62
|
"`AZURE_AI_FOUNDRY_PROJECT_ENDPOINT` env var) in "
|
|
63
|
-
"`.agentops/agent.yaml`, install
|
|
63
|
+
"`.agentops/agent.yaml`, install AgentOps, "
|
|
64
64
|
"and grant the running identity at least `Reader` on the "
|
|
65
65
|
"Foundry project. If this project does not use Foundry, "
|
|
66
66
|
"set `sources.foundry_control.enabled: false` to opt out "
|
|
@@ -91,7 +91,7 @@ def collect_foundry_control(
|
|
|
91
91
|
diagnostics["status"] = "skipped"
|
|
92
92
|
diagnostics["reason"] = (
|
|
93
93
|
"azure-ai-projects / azure-identity not installed "
|
|
94
|
-
"(install agentops-accelerator
|
|
94
|
+
"(install agentops-accelerator)"
|
|
95
95
|
)
|
|
96
96
|
log.info("azure-ai-projects unavailable: %s", exc)
|
|
97
97
|
return FoundryControlPayload(diagnostics=diagnostics)
|
|
@@ -301,7 +301,7 @@ def _collect_foundry_eval_runs(
|
|
|
301
301
|
diagnostics["status"] = "skipped"
|
|
302
302
|
diagnostics["reason"] = (
|
|
303
303
|
"azure-ai-projects / azure-identity not installed "
|
|
304
|
-
"(install agentops-accelerator
|
|
304
|
+
"(install agentops-accelerator)"
|
|
305
305
|
)
|
|
306
306
|
log.info("Foundry cloud eval history unavailable: %s", exc)
|
|
307
307
|
return [], diagnostics
|
{agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/pipeline/prompt_deploy.py
RENAMED
|
@@ -338,7 +338,7 @@ def _project_client(endpoint: str) -> Any:
|
|
|
338
338
|
except ImportError as exc:
|
|
339
339
|
raise RuntimeError(
|
|
340
340
|
"prompt-agent deployment requires azure-ai-projects and "
|
|
341
|
-
"azure-identity; install agentops-accelerator
|
|
341
|
+
"azure-identity; install agentops-accelerator"
|
|
342
342
|
) from exc
|
|
343
343
|
|
|
344
344
|
credential = DefaultAzureCredential(
|
|
@@ -153,7 +153,7 @@ def load_evaluator(preset: EvaluatorPreset) -> EvaluatorRuntime:
|
|
|
153
153
|
raise RuntimeError(
|
|
154
154
|
"Evaluators require the 'azure-ai-evaluation' package. "
|
|
155
155
|
"Install the Foundry extra in this virtual environment. "
|
|
156
|
-
"Run: python -m pip install
|
|
156
|
+
"Run: python -m pip install agentops-accelerator"
|
|
157
157
|
) from exc
|
|
158
158
|
|
|
159
159
|
cls = getattr(module, preset.class_name, None)
|
{agentops_accelerator-0.4.1 → agentops_accelerator-0.4.2}/src/agentops/services/azd_eval_init.py
RENAMED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
"""Wrapper helpers for ``azd ai agent eval
|
|
1
|
+
"""Wrapper helpers for ``azd ai agent eval`` recipe generation.
|
|
2
|
+
|
|
3
|
+
The ``azure.ai.agents`` azd extension renamed this subcommand in 0.1.40:
|
|
4
|
+
``azd ai agent eval init`` became ``azd ai agent eval generate``. These helpers
|
|
5
|
+
prefer the new ``generate`` name and fall back to the legacy ``init`` name so
|
|
6
|
+
AgentOps keeps working across extension versions.
|
|
7
|
+
"""
|
|
2
8
|
|
|
3
9
|
from __future__ import annotations
|
|
4
10
|
|
|
@@ -62,9 +68,11 @@ def run_azd_eval_init(
|
|
|
62
68
|
force: bool = False,
|
|
63
69
|
timeout_seconds: float = AZD_EVAL_TIMEOUT_SECONDS,
|
|
64
70
|
) -> AzdEvalInitResult:
|
|
65
|
-
"""Run ``azd ai agent eval
|
|
71
|
+
"""Run ``azd ai agent eval generate`` and persist ``eval_recipe``.
|
|
66
72
|
|
|
67
|
-
|
|
73
|
+
Prefers the ``generate`` subcommand (azure.ai.agents >= 0.1.40) and falls
|
|
74
|
+
back to the legacy ``init`` subcommand on older extensions. The azd command
|
|
75
|
+
remains the source of truth for generating datasets,
|
|
68
76
|
evaluators, and rubric assets. AgentOps only delegates the command, finds the
|
|
69
77
|
generated recipe, and records the recipe path in ``agentops.yaml`` so future
|
|
70
78
|
gates are deterministic.
|
|
@@ -95,17 +103,18 @@ def run_azd_eval_init(
|
|
|
95
103
|
f"{AZD_EXTENSION_NAME}`), then rerun `agentops eval init`."
|
|
96
104
|
)
|
|
97
105
|
|
|
98
|
-
|
|
106
|
+
base_command = ["azd", "--no-prompt", "ai", "agent", "eval"]
|
|
107
|
+
arguments: list[str] = []
|
|
99
108
|
project_endpoint = _project_endpoint_from_config_or_env(resolved_config)
|
|
100
109
|
if project_endpoint:
|
|
101
|
-
|
|
110
|
+
arguments.extend(["--project-endpoint", project_endpoint])
|
|
102
111
|
agent_name = _agent_name_from_config(resolved_config)
|
|
103
112
|
if agent_name:
|
|
104
|
-
|
|
113
|
+
arguments.extend(["--agent", agent_name])
|
|
105
114
|
effective_dataset = dataset or _dataset_from_config(resolved_config)
|
|
106
115
|
instruction_file = _prompt_file_from_config(resolved_config)
|
|
107
116
|
if effective_dataset is None and instruction_file is not None:
|
|
108
|
-
|
|
117
|
+
arguments.extend(
|
|
109
118
|
[
|
|
110
119
|
"--gen-instruction-file",
|
|
111
120
|
_command_path(instruction_file, workspace=root),
|
|
@@ -113,47 +122,29 @@ def run_azd_eval_init(
|
|
|
113
122
|
)
|
|
114
123
|
eval_model = _eval_model_from_config(resolved_config)
|
|
115
124
|
if eval_model:
|
|
116
|
-
|
|
125
|
+
arguments.extend(["--eval-model", eval_model])
|
|
117
126
|
if effective_dataset is not None:
|
|
118
127
|
effective_dataset = _azd_dataset_from_agentops_dataset(
|
|
119
128
|
effective_dataset,
|
|
120
129
|
workspace=root,
|
|
121
130
|
)
|
|
122
|
-
|
|
131
|
+
arguments.extend(
|
|
123
132
|
["--dataset", _command_path(effective_dataset, workspace=root)]
|
|
124
133
|
)
|
|
125
134
|
for evaluator in _azd_evaluators_from_config(resolved_config):
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
try:
|
|
129
|
-
completed = subprocess.run(
|
|
130
|
-
command,
|
|
131
|
-
cwd=str(root),
|
|
132
|
-
text=True,
|
|
133
|
-
encoding="utf-8",
|
|
134
|
-
errors="replace",
|
|
135
|
-
capture_output=True,
|
|
136
|
-
timeout=timeout_seconds,
|
|
137
|
-
check=False,
|
|
138
|
-
)
|
|
139
|
-
except FileNotFoundError as exc:
|
|
140
|
-
raise AzdBackendError(
|
|
141
|
-
"azd was not found on PATH. Install the Azure Developer CLI and the "
|
|
142
|
-
f"`{AZD_EXTENSION_NAME}` extension, then rerun `agentops eval init`."
|
|
143
|
-
) from exc
|
|
144
|
-
except subprocess.TimeoutExpired as exc:
|
|
145
|
-
raise AzdBackendError(
|
|
146
|
-
f"{' '.join(command)} timed out after {timeout_seconds:g}s."
|
|
147
|
-
) from exc
|
|
135
|
+
arguments.extend(["--evaluator", evaluator])
|
|
148
136
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
137
|
+
completed = _run_eval_subcommand(
|
|
138
|
+
base_command,
|
|
139
|
+
arguments,
|
|
140
|
+
cwd=root,
|
|
141
|
+
timeout_seconds=timeout_seconds,
|
|
142
|
+
)
|
|
152
143
|
|
|
153
144
|
recipe = find_eval_yaml(root)
|
|
154
145
|
if recipe is None:
|
|
155
146
|
raise AzdBackendError(
|
|
156
|
-
"azd ai agent eval
|
|
147
|
+
"azd ai agent eval completed, but AgentOps could not find the "
|
|
157
148
|
"generated eval.yaml. Move it under the workspace root or src/<agent>/ "
|
|
158
149
|
"and set `eval_recipe:` in agentops.yaml."
|
|
159
150
|
)
|
|
@@ -175,6 +166,107 @@ def _find_recipe_if_unambiguous(workspace: Path) -> Optional[Path]:
|
|
|
175
166
|
return None
|
|
176
167
|
|
|
177
168
|
|
|
169
|
+
# azd renamed this subcommand in the ``azure.ai.agents`` extension 0.1.40:
|
|
170
|
+
# ``init`` became ``generate``. Try the new name first and fall back to the
|
|
171
|
+
# legacy name so AgentOps works whether the consumer has an old or new
|
|
172
|
+
# extension installed.
|
|
173
|
+
_EVAL_SUBCOMMANDS: tuple[str, ...] = ("generate", "init")
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
def _eval_subcommand_unsupported(*outputs: str) -> bool:
|
|
177
|
+
"""Return True when azd reports the eval subcommand name is unknown/deprecated.
|
|
178
|
+
|
|
179
|
+
Matches the azd/cobra-style messages emitted when an installed
|
|
180
|
+
``azure.ai.agents`` extension does not recognise a subcommand name (older
|
|
181
|
+
extensions lack ``generate``) or reports the legacy ``init`` name as
|
|
182
|
+
deprecated (newer extensions). Centralised here so the fallback decision is
|
|
183
|
+
unit-testable and robust to minor wording changes.
|
|
184
|
+
"""
|
|
185
|
+
haystack = " ".join(text.lower() for text in outputs if text)
|
|
186
|
+
return any(
|
|
187
|
+
phrase in haystack
|
|
188
|
+
for phrase in (
|
|
189
|
+
"unknown command",
|
|
190
|
+
"unrecognized",
|
|
191
|
+
"is not a valid",
|
|
192
|
+
"invalid command",
|
|
193
|
+
"is deprecated, use",
|
|
194
|
+
)
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
def _azd_failure_detail(completed: "subprocess.CompletedProcess[str]") -> str:
|
|
199
|
+
return (
|
|
200
|
+
completed.stderr.strip()
|
|
201
|
+
or completed.stdout.strip()
|
|
202
|
+
or f"exit code {completed.returncode}"
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
def _run_eval_subcommand(
|
|
207
|
+
base_command: list[str],
|
|
208
|
+
arguments: list[str],
|
|
209
|
+
*,
|
|
210
|
+
cwd: Path,
|
|
211
|
+
timeout_seconds: float,
|
|
212
|
+
) -> "subprocess.CompletedProcess[str]":
|
|
213
|
+
"""Run ``azd ai agent eval <subcommand>`` resiliently across extensions.
|
|
214
|
+
|
|
215
|
+
Prefers ``generate`` (azure.ai.agents >= 0.1.40) and falls back to the
|
|
216
|
+
legacy ``init`` subcommand when the installed extension does not recognise
|
|
217
|
+
``generate``. A non-zero result that is not a subcommand-name problem (for
|
|
218
|
+
example an authentication or endpoint error) is surfaced immediately rather
|
|
219
|
+
than masked by the fallback, preserving the previous error behaviour.
|
|
220
|
+
"""
|
|
221
|
+
last_completed: Optional["subprocess.CompletedProcess[str]"] = None
|
|
222
|
+
for subcommand in _EVAL_SUBCOMMANDS:
|
|
223
|
+
command = [*base_command, subcommand, *arguments]
|
|
224
|
+
try:
|
|
225
|
+
completed = subprocess.run(
|
|
226
|
+
command,
|
|
227
|
+
cwd=str(cwd),
|
|
228
|
+
text=True,
|
|
229
|
+
encoding="utf-8",
|
|
230
|
+
errors="replace",
|
|
231
|
+
capture_output=True,
|
|
232
|
+
timeout=timeout_seconds,
|
|
233
|
+
check=False,
|
|
234
|
+
)
|
|
235
|
+
except FileNotFoundError as exc:
|
|
236
|
+
raise AzdBackendError(
|
|
237
|
+
"azd was not found on PATH. Install the Azure Developer CLI and "
|
|
238
|
+
f"the `{AZD_EXTENSION_NAME}` extension, then rerun `agentops eval "
|
|
239
|
+
"init`."
|
|
240
|
+
) from exc
|
|
241
|
+
except subprocess.TimeoutExpired as exc:
|
|
242
|
+
raise AzdBackendError(
|
|
243
|
+
f"{' '.join(command)} timed out after {timeout_seconds:g}s."
|
|
244
|
+
) from exc
|
|
245
|
+
|
|
246
|
+
if completed.returncode == 0:
|
|
247
|
+
return completed
|
|
248
|
+
|
|
249
|
+
if _eval_subcommand_unsupported(completed.stderr, completed.stdout):
|
|
250
|
+
# This subcommand name is not supported (or is deprecated) by the
|
|
251
|
+
# installed extension. Remember it and try the next candidate.
|
|
252
|
+
last_completed = completed
|
|
253
|
+
continue
|
|
254
|
+
|
|
255
|
+
# A real failure (not a subcommand-name issue): surface it now.
|
|
256
|
+
raise AzdBackendError(
|
|
257
|
+
f"azd ai agent eval {subcommand} failed: {_azd_failure_detail(completed)}"
|
|
258
|
+
)
|
|
259
|
+
|
|
260
|
+
if last_completed is not None:
|
|
261
|
+
detail = _azd_failure_detail(last_completed)
|
|
262
|
+
else: # pragma: no cover - _EVAL_SUBCOMMANDS is never empty
|
|
263
|
+
detail = (
|
|
264
|
+
"no azd eval subcommand (generate/init) was accepted by the "
|
|
265
|
+
f"installed `{AZD_EXTENSION_NAME}` extension"
|
|
266
|
+
)
|
|
267
|
+
raise AzdBackendError(f"azd ai agent eval failed: {detail}")
|
|
268
|
+
|
|
269
|
+
|
|
178
270
|
def _dataset_from_config(config_path: Path) -> Optional[Path]:
|
|
179
271
|
data = load_yaml(config_path)
|
|
180
272
|
raw_dataset = data.get("dataset")
|
|
@@ -74,7 +74,7 @@ __AILZ_PREFLIGHT_COMMAND__
|
|
|
74
74
|
versionSpec: "3.11"
|
|
75
75
|
- bash: |
|
|
76
76
|
python -m pip install --upgrade pip
|
|
77
|
-
python -m pip install "agentops-
|
|
77
|
+
python -m pip install "agentops-accelerator__AGENTOPS_INSTALL_SPEC__"
|
|
78
78
|
displayName: Install AgentOps Toolkit
|
|
79
79
|
|
|
80
80
|
__EVAL_TASKS__
|
|
@@ -50,7 +50,7 @@ stages:
|
|
|
50
50
|
|
|
51
51
|
- bash: |
|
|
52
52
|
python -m pip install --upgrade pip
|
|
53
|
-
python -m pip install "agentops-
|
|
53
|
+
python -m pip install "agentops-accelerator__AGENTOPS_INSTALL_SPEC__"
|
|
54
54
|
displayName: Install AgentOps Toolkit
|
|
55
55
|
|
|
56
56
|
__EVAL_TASKS__
|
|
@@ -48,7 +48,7 @@ stages:
|
|
|
48
48
|
scriptLocation: inlineScript
|
|
49
49
|
inlineScript: |
|
|
50
50
|
python -m pip install --upgrade pip
|
|
51
|
-
python -m pip install "agentops-
|
|
51
|
+
python -m pip install "agentops-accelerator__AGENTOPS_INSTALL_SPEC__"
|
|
52
52
|
python -m agentops.pipeline.prompt_deploy stage \
|
|
53
53
|
--config "$(AGENTOPS_CONFIG)" \
|
|
54
54
|
--environment "$(TARGET_ENVIRONMENT)" \
|
|
@@ -74,7 +74,7 @@ __AILZ_PREFLIGHT_COMMAND__
|
|
|
74
74
|
versionSpec: "3.11"
|
|
75
75
|
- bash: |
|
|
76
76
|
python -m pip install --upgrade pip
|
|
77
|
-
python -m pip install "agentops-
|
|
77
|
+
python -m pip install "agentops-accelerator__AGENTOPS_INSTALL_SPEC__"
|
|
78
78
|
displayName: Install AgentOps Toolkit
|
|
79
79
|
|
|
80
80
|
__EVAL_TASKS__
|
|
@@ -46,7 +46,7 @@ stages:
|
|
|
46
46
|
|
|
47
47
|
- bash: |
|
|
48
48
|
python -m pip install --upgrade pip
|
|
49
|
-
python -m pip install "agentops-
|
|
49
|
+
python -m pip install "agentops-accelerator__AGENTOPS_INSTALL_SPEC__"
|
|
50
50
|
displayName: Install AgentOps Toolkit
|
|
51
51
|
|
|
52
52
|
__EVAL_TASKS__
|
|
@@ -73,7 +73,7 @@ stages:
|
|
|
73
73
|
scriptLocation: inlineScript
|
|
74
74
|
inlineScript: |
|
|
75
75
|
python -m pip install --upgrade pip
|
|
76
|
-
python -m pip install "agentops-
|
|
76
|
+
python -m pip install "agentops-accelerator__AGENTOPS_INSTALL_SPEC__"
|
|
77
77
|
python -m agentops.pipeline.prompt_deploy stage \
|
|
78
78
|
--config "$(AGENTOPS_CONFIG)" \
|
|
79
79
|
--environment "$(TARGET_ENVIRONMENT)" \
|
|
@@ -17,7 +17,7 @@ then return here once there is a `name:version` or URL.
|
|
|
17
17
|
|
|
18
18
|
## Step 0 - Prerequisites
|
|
19
19
|
|
|
20
|
-
1. `pip install "agentops-accelerator
|
|
20
|
+
1. `pip install "agentops-accelerator @ git+https://github.com/Azure/agentops.git@main"` if `agentops` is missing.
|
|
21
21
|
2. Run `agentops eval analyze` first. If it reports missing or ambiguous
|
|
22
22
|
target/dataset/scenario signals, use this skill to adapt the config.
|
|
23
23
|
3. If `agentops.yaml` does not exist, run `agentops init` first. The init
|
|
@@ -15,7 +15,7 @@ with a `name:version` or URL.
|
|
|
15
15
|
|
|
16
16
|
## Step 0 - Setup
|
|
17
17
|
|
|
18
|
-
1. Install if missing: `pip install "agentops-accelerator
|
|
18
|
+
1. Install if missing: `pip install "agentops-accelerator @ git+https://github.com/Azure/agentops.git@main"`.
|
|
19
19
|
2. If `agentops.yaml` does not exist at the project root, run `agentops init`.
|
|
20
20
|
The init wizard prompts (azd-style) for the Foundry project endpoint,
|
|
21
21
|
agent reference, and dataset path, persists each answer to
|
|
@@ -114,7 +114,7 @@ __AILZ_PREFLIGHT_COMMAND__
|
|
|
114
114
|
|
|
115
115
|
- name: Install AgentOps Toolkit
|
|
116
116
|
run: |
|
|
117
|
-
uv pip install --system "agentops-
|
|
117
|
+
uv pip install --system "agentops-accelerator__AGENTOPS_INSTALL_SPEC__"
|
|
118
118
|
|
|
119
119
|
__EVAL_STEPS__
|
|
120
120
|
|