Skip to content

Repository files navigation

Azure FinOps Agent

License: MIT Latest release .NET Vue

Turn Azure cost, governance, and optimization work into a conversation.

Azure FinOps Agent analyzes live Azure data, scores FinOps maturity, finds savings, creates charts and executive decks, and generates reviewable remediation scripts. It can read and apply approved non-destructive changes with the signed-in user's delegated permissions; it never deletes Azure resources.

Try the hosted demo · View the presentation

Azure FinOps Agent

Capabilities

  • Live cost, budget, Advisor, Resource Graph, reservation, and savings-plan analysis
  • Crawl / Walk / Run FinOps maturity scoring with evidence
  • Microsoft Graph, Log Analytics, and Cost Export integrations through incremental consent
  • Public Azure pricing and service-health questions without signing in
  • CSV, TSV, JSON, XLSX, PDF, Parquet, and image analysis
  • Scheduled background jobs with durable run history
  • Charts, HTML presentations, and reviewable Azure CLI or PowerShell scripts

Architecture

flowchart LR
    User --> UI[Vue 3 SPA]
    UI --> API[.NET 10 API]
    API --> SDK[GitHub Copilot SDK]
    API --> Jobs[Job Scheduler]
    Jobs --> SDK
    SDK --> Model[Azure OpenAI]
    SDK --> Tools[Azure tools]
    Tools --> ARM[ARM / Cost Management]
    Tools --> Graph[Microsoft Graph]
    Tools --> Logs[Log Analytics]
    Entra[Microsoft Entra ID] --> API
Loading

The app runs as a Linux container on Azure App Service. Azure Developer CLI provisions Azure Container Registry, Azure OpenAI, monitoring, managed identities, RBAC, App Service, and the optional Entra application.

Deploy to your Azure subscription

Prerequisites

  • Azure CLI
  • Azure Developer CLI
  • An Azure subscription where you can create resources and role assignments
  • Permission to create an Entra app registration, or an existing app registration to reuse

Deploy

az login --tenant <tenant-id>
az account set --subscription <subscription-id>
azd auth login
azd up

azd up prompts for an environment and region, provisions the stack, builds the image in ACR, and prints the application URL. To reuse existing resources or change defaults, use azd env set; see Azure deployment permissions and azure.yaml.

Remove the deployment with:

azd down --purge

Try without Azure access

  • Ask a public pricing or Azure service-health question.
  • Upload a sample from demo-data.

Run locally

Prerequisites

Configure

cd src/Dashboard
dotnet user-secrets set "AzureOpenAI:Endpoint" "https://<your-resource>.openai.azure.com/"
dotnet user-secrets set "AzureOpenAI:DeploymentName" "<your-deployment>"

Optional settings:

  • AzureOpenAI:TenantId when the model resource is in a different tenant from the Azure CLI default
  • Microsoft:ClientId, Microsoft:ClientSecret, and Microsoft:TenantId to enable Azure sign-in locally
  • ApplicationInsights:ConnectionString for telemetry

Build and run

cd src/Dashboard/frontend
npm ci
npm run build

cd ..
$env:ASPNETCORE_ENVIRONMENT = "Development"
dotnet run --urls http://localhost:5000

Open http://localhost:5000.

Security

  • OAuth uses PKCE, nonce validation, incremental delegated consent, and explicit resource scopes.
  • The user's Azure RBAC and consented scopes remain the effective authorization boundary.
  • Azure DELETE and mutating action POST operations are blocked in code.
  • Generated downloads and session transcripts are ownership-checked.
  • Production secrets belong in managed identities, App Service settings, or GitHub Actions secrets—not in source control.

See SECURITY.md for reporting vulnerabilities and docs/session-management.md for session behavior.

Contributing

See CONTRIBUTING.md, SUPPORT.md, and the Code of Conduct.

License

MIT

About

AI-powered FinOps and InfraOps agent for Azure. Replace a multi-week assessment with one conversation: maturity scoring, quantified savings, CFO-ready deck, ready-to-run remediation scripts. Read and write on your behalf, never delete.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

27 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages