Not just AI cost investigator.
Not just AI cost investigator.
Ghosthunter is an open source agentic AI FinOps investigator designed to analyze cloud billing fluctuations and identify root causes of cost increases. Unlike traditional FinOps tools that often require administrative access to cloud environments, Ghosthunter operates primarily by reading exported CSV billing data. The tool is built on a dual model architecture that separates reasoning from execution to enhance security and accuracy. One model, such as Claude Opus, generates hypotheses and proposes investigative steps, while a second model, such as Claude Sonnet, validates and executes those steps within a controlled environment. The application focuses on providing specific, evidence based reports rather than generic cost saving recommendations. Its primary capabilities include generating falsifiable hypotheses, citing specific rows and columns from billing data, and producing plain English reports that detail what changed in a cloud budget and why. The system is designed with a security first approach referred to as paranoid mode, which utilizes a seven layer code validator to screen commands for shell injections or unauthorized operators. It strictly enforces read only patterns and prohibits mutating verbs to ensure that the tool cannot alter production environments. In a typical workflow, a user provides a billing slice to the investigator, which then forms a series of investigative moves. Ghosthunter can operate in different modes depending on the user's security requirements. In its default state, it prints commands for the user to run manually, ensuring a zero blast radius. An active mode allows the tool to run commands directly using read only credentials within a sandboxed account, while a demo mode allows for the replay of bundled scenarios without API calls or cloud access. The tool also includes hard caps on investigations, such as a maximum of fifteen commands or a ten minute time limit per session. Ghosthunter is released under the MIT License and is intended for finance and engineering teams who require granular insights into cloud spending without granting third party access to their infrastructure. Technical requirements include the use of specific LLM providers for the reasoning and validation models. The tool maintains security by using provider scoped environments and avoiding long lived credentials or network access beyond a documented allowlist. By keeping data on the user's side and utilizing code first checks that cannot be overridden by prompts, the application maintains a high level of integrity during the financial investigation process.