finops-agent
Public Docker image of Open-source, CLI-first, multi-cloud infrastructure cost reasoning agent.
1.2K
Open-source, CLI-first, multi-cloud infrastructure cost reasoning agent.
Connect to your cloud billing APIs, detect waste, spot anomalies, forecast spend — and get plain-English explanations powered by an LLM of your choice. All without your data ever leaving your machine.
docker pull mathumathi247/finops-agent:latest
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
-v ~/.aws:/home/finops/.aws:ro \
mathumathi247/finops-agent:latest \
collect
Then:
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
-v ~/.aws:/home/finops/.aws:ro \
mathumathi247/finops-agent:latest \
summary
| Cloud | Cost Data | Resources |
|---|---|---|
| AWS | Cost Explorer API | EC2, EBS, RDS, ELB, NAT Gateway, EKS |
| GCP | BigQuery billing export | Compute VMs, Persistent Disks, LBs, GKE |
| Azure | Cost Management API | VMs, Managed Disks, LBs, AKS, Storage, App Service |
| OCI | Usage API | Compute, Block Volumes, LBs, OKE |
All four SDKs are included in the image — no separate pulls needed.
# Collect cost + resource data (last 30 days)
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
-v ~/.aws:/home/finops/.aws:ro \
mathumathi247/finops-agent:latest collect
# Cost breakdown by service and region
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
mathumathi247/finops-agent:latest summary
# AI-powered full bill explanation
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
mathumathi247/finops-agent:latest explain-bill
# Find idle and unattached resources
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
mathumathi247/finops-agent:latest find-waste
# Detect and explain cost spikes
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
mathumathi247/finops-agent:latest explain-spike
# Monthly cost forecast
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
mathumathi247/finops-agent:latest forecast
Mount only the clouds you use — all read-only:
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
-v ~/.aws:/home/finops/.aws:ro \ # AWS
-v ~/.config/gcloud:/home/finops/.config/gcloud:ro \ # GCP
-v ~/.azure:/home/finops/.azure:ro \ # Azure
-v ~/.oci:/home/finops/.oci:ro \ # OCI
mathumathi247/finops-agent:latest summary
The -v ~/.finops-agent mount persists your local SQLite database between runs. Without it, collected data is lost when the container exits.
Add to ~/.bashrc or ~/.zshrc to use it just like the native CLI:
alias finops='docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
-v ~/.aws:/home/finops/.aws:ro \
-v ~/.config/gcloud:/home/finops/.config/gcloud:ro \
-v ~/.azure:/home/finops/.azure:ro \
-v ~/.oci:/home/finops/.oci:ro \
mathumathi247/finops-agent:latest'
# Then just use:
finops summary
finops find-waste --provider aws
finops explain-bill
- name: Collect daily cost data
run: |
docker run --rm \
-v $HOME/.finops-agent:/home/finops/.finops-agent \
-e AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} \
-e AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} \
mathumathi247/finops-agent:latest collect --provider aws
- name: Find waste
run: |
docker run --rm \
-v $HOME/.finops-agent:/home/finops/.finops-agent \
mathumathi247/finops-agent:latest find-waste --output json
The LLM is used only to explain already-computed results in plain English. All cost detection and waste analysis runs without one.
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
mathumathi247/finops-agent:latest \
config set llm.provider local
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
mathumathi247/finops-agent:latest \
config set llm.api_key gsk_your_groq_key
docker run --rm \
-v ~/.finops-agent:/home/finops/.finops-agent \
mathumathi247/finops-agent:latest \
config set llm.base_url https://api.groq.com/openai/v1
Supports: Groq (free tier), Ollama (fully local), OpenAI, Anthropic, Google Gemini.
:ro flag on all credential mounts~/.finops-agent/finops.db on your machine| Tag | Description |
|---|---|
latest | Most recent stable release |
0.3.0 | Current release — AWS, GCP, Azure, OCI |
0.2.0 | Previous release |
Pin to a specific version tag in production and CI pipelines.
Content type
Image
Digest
sha256:0b2788a44…
Size
267.7 MB
Last updated
3 months ago
docker pull mathumathi247/finops-agent