Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

az-scout-plugin-strategy-advisor

⚠️ Work in Progress — This plugin is under active development. APIs, models, and behaviors may change without notice. It is not recommended for production use at this time.

Strategy Advisor plugin for az-scout — capacity deployment strategy recommendations.

Features

  • UI tab — Strategy Advisor form with subscription picker, workload constraints, and results rendering
  • API route — POST /plugins/strategy/capacity-strategy to compute deployment strategies
  • MCP tool — capacity_strategy tool for AI agents to obtain deployment recommendations
  • Strategy engine — Evaluates (region, SKU) combinations against zones, quotas, restrictions, spot scores, pricing, confidence, and inter-region latency

Strategies

The engine recommends one of: single_region, active_active, active_passive, sharded_multi_region, burst_overflow, time_window_deploy, progressive_ramp.

Setup

# Install alongside az-scout
uv pip install -e .

# The plugin is auto-discovered at startup
az-scout

Structure

src/az_scout_strategy/
├── __init__.py          # Plugin class + module-level `plugin` instance
├── engine.py            # Capacity strategy computation engine
├── models.py            # Pydantic models (request/response)
├── routes.py            # FastAPI APIRouter (POST /capacity-strategy)
├── tools.py             # MCP tool function
└── static/
    ├── html/
    │   └── strategy-tab.html  # HTML fragment (fetched by JS at runtime)
    └── js/
        └── strategy-tab.js    # Tab UI logic

Dependencies

This plugin depends on the following az-scout core modules:

  • az_scout.azure_api — ARM API calls (SKUs, quotas, spot scores, prices)
  • az_scout.scoring.deployment_confidence — Confidence scoring
  • az_scout.services._evaluation_helpers — Shared evaluation utilities
  • az_scout.services.region_latency — Inter-region latency data

Quality checks

uv run ruff check src/ tests/
uv run ruff format --check src/ tests/
uv run mypy src/
uv run pytest

Versioning

Uses CalVer (YYYY.MM.MICRO) via hatch-vcs. Tag and push to release:

git tag v2026.2.0
git push origin v2026.2.0

License

MIT

Disclaimer

This tool is not affiliated with Microsoft. All capacity, pricing, and latency information are indicative and not a guarantee of deployment success. Spot placement scores are probabilistic. Quota values and pricing are dynamic and may change between planning and actual deployment. Latency values are based on Microsoft published statistics and must be validated with in-tenant measurements.

Metadata

Release files for az-scout-plugin-strategy-advisor 2026.3.0

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

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for az-scout-plugin-strategy-advisor 2026.3.0
File Size Uploaded Provenance Actions
az_scout_plugin_strategy_advisor-2026.3.0.tar.gz 126.2 kB With provenance Details for az_scout_plugin_strategy_advisor-2026.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for az-scout-plugin-strategy-advisor 2026.3.0
File Interpreter ABI Platform Actions
az_scout_plugin_strategy_advisor-2026.3.0-py3-none-any.whl Python 3 none any Details for az_scout_plugin_strategy_advisor-2026.3.0-py3-none-any.whl

Total release size: 148.0 kB

Release files / az_scout_plugin_strategy_advisor-2026.3.0.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL az_scout_plugin_strategy_advisor-2026.3.0.tar.gz
Size 126.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e7a8f84451c3d34d5b05b7f7982b99a69b70502d0e4bbf65a5ebb15a2b7131ae
BLAKE2b-256 checksum
How to use checksums
ed32ef731fc637959ec20d06ea3d21d1203d12029a635994b1bf987679435833
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 10, 2026.

Transparency log

Release files / az_scout_plugin_strategy_advisor-2026.3.0-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL az_scout_plugin_strategy_advisor-2026.3.0-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5e983f042d84c0e3c896d2721d0bb1774eee3642248634cddbd54747f0fe38d
BLAKE2b-256 checksum
How to use checksums
155fff071ea5699c27c2fd370f43da7d5eb81ef349a310c4362a204ed9345863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 10, 2026.

Transparency log

Security for az-scout-plugin-strategy-advisor 2026.3.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.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for az_scout_plugin_strategy_advisor-2026.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 10, 2026.

Transparency log

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