Optimize your storage and compute costs with Monte Carlo’s new Cost Agent
Warehouse costs are rising. The data needed to explain why — query history, lineage, schema metadata, usage patterns — is scattered across systems that don’t talk to each other. Finding the specific tables and pipelines responsible, at scale, without a dedicated analyst to do the forensics, takes time most teams don’t have.
This results in cleanup cycles getting deferred, wasteful jobs continuing to run, and bills that climb quarter after quarter.
The Monte Carlo Cost Agent is built to address this issue. This new agent, part of Monte Carlo’s fleet making up the intelligent Agent Trust Platform, continuously analyzes your warehouse for storage waste and compute inefficiency, surfaces the biggest opportunities for cost reduction ranked by impact, and helps your team act. This can be done either through a point-and-click UI or directly inside Claude Code, Cursor, or any AI coding agent you already use.
The visibility problem behind warehouse spend
Warehouse bills are high for predictable reasons: tables accumulate, pipelines run past their useful life, and compute jobs fire on schedules written for use cases that no longer exist. For most data and AI engineering teams, connecting the dots fast enough to act on these ballooning costs requires pulling from too many places at once.
Most teams have high-level cost visibility but lack specific, safe-to-act-on recommendations, such as which tables to drop, which pipelines to rewrite, or which warehouse configurations to adjust. Crucially, they don’t have an understanding into whether it’s actually safe to make desired cost reduction changes given what depends on certain data assets or processes downstream.
This situation changes with Monte Carlo’s Cost Agent.
Cost Agent capabilities
The Cost Agent draws on query history, lineage, schema metadata, and usage signals that Monte Carlo already has access to, turning them into a prioritized action list. This requires no additional instrumentation or data exports to external tools.
The Cost Agent covers two distinct cost problems: storage waste and compute inefficiency.
Storage optimization
The first information display as part of this agent’s workflow, the Data tab, presents a persistent report view — structured analysis you can scan, filter, and act on rather than a free-form conversation. It includes the following:
- Storage optimization candidates ranked by size and risk — every table the agent identifies as a cleanup opportunity, ordered by storage footprint and annotated with a waste pattern (unread, zombie pipeline, dead-end) and risk tier (Low risk / Needs review).
- Downstream dependency counts — for every candidate, you can see how many downstream assets depend on it before making any changes. This is the check that makes recommendations actionable rather than theoretical.
- Filter by database, schema, risk level, or category — narrow to the scope relevant to your current review cycle without losing the full picture.
- “Explain with AI” — click any row and the agent loads full context for that specific table into the chat: why it was flagged, what its lineage looks like, what the risk is, and what the recommended action is.
- Export — pull the full candidate list to CSV for offline review or stakeholder sign-off before cleanup.
Compute insights
Storage is typically a fraction of a warehouse bill. Compute represents a significant chunk of spend, but it’s nearly invisible until you’re already over budget.
The Cost Agent chat can now answer compute questions directly. Ask “Which are my most expensive queries?” and the agent analyzes your query history, returning a prioritized list of cost drivers with specific recommendations:
- High-frequency pipelines running too often that should be batched
- Long-running dbt models that should be converted to incremental
- Dev queries consuming disproportionate compute relative to their purpose
- Warehouse overload patterns — warehouses sized too large for their actual workload, or idling with auto-suspend thresholds set too high
The compute layer runs on the Cost Agent’s own dedicated agent graph — a separate execution pipeline purpose-built for cost analysis, delivering faster, more focused responses as we continue expanding optimization coverage.

Two ways to use it: UI or your AI coding agent
In the Monte Carlo UI
Monte Carlo platform users can navigate to the Cost Agent section within Agentic Operations to start using this tool immediately, no additional setup is required. They will see two options for engaging with the agent:
Data tab — this is the right starting point for structured review. Browse candidates, apply filters, check downstream counts, and use “Explain with AI” to go deeper on any specific table without leaving the page.
Chat tab — the interface that lets you ask open-ended questions about your cost and storage picture. “What are our largest tables that haven’t been queried in 90 days?” “Which schemas are growing fastest?” “Which dbt models are the most expensive to run?” The agent has full context of your warehouse and, if you’ve already filtered in the Data tab, carries that context into the conversation.
In Claude Code, Cursor, or any AI coding agent
For teams working inside an AI coding environment, the Cost Agent’s underlying capabilities are available through the Monte Carlo Agent Toolkit — no context switching, no browser tab required.
The toolkit includes two skills that surface cost and performance intelligence directly in your editor:
storage-cost-analysis — identifies storage waste and estimates cleanup savings, using lineage to verify safety before surfacing any recommendation. Downstream dependencies are checked automatically, so every suggestion comes with the context needed to act on it confidently.
performance-diagnosis — diagnoses slow pipelines and expensive queries across Airflow, dbt, Databricks, and other platforms.
Both skills connect to Monte Carlo live via the MCP server, so recommendations reflect your actual warehouse state, not a cached snapshot.
Claude Code setup:
/plugin marketplace add monte-carlo-data/mc-agent-toolkit
/plugin install mc-agent-toolkit@mc-marketplace
Authenticate via /mcp, then ask: “What’s costing us the most in storage?” or “Which queries are the most expensive?” — the matching skill activates automatically.
Cursor setup:
bash <(curl -fsSL https://raw.githubusercontent.com/monte-carlo-data/mc-agent-toolkit/main/plugins/cursor/scripts/install.sh)
Full setup instructions and support for additional agents (GitHub Copilot, OpenCode, Codex) are in the Agent Toolkit docs.
Get started
The Cost Agent is available now to all Monte Carlo customers. If you’re already connected to a warehouse, navigate to getmontecarlo.com/agentic-operations/cost — the Data tab will be populated with your top storage candidates. For compute insights, ask the agent directly: “Which are my most expensive queries?”
To see it against your own warehouse, schedule a demo.