DEV Community

Cover image for Antigravity: How I Built an Autonomous Linux FinOps & Bloat Killer in Python ⚡
jo@yusef
jo@yusef

Posted on

Antigravity: How I Built an Autonomous Linux FinOps & Bloat Killer in Python ⚡

Every engineer who manages Linux servers or cloud VMs knows this headache: over time, disk space mysteriously vanishes.

You find yourself digging through journalctl logs, cleaning untagged Docker layers, hunting zombie processes, and wondering why your cloud storage bill just spiked.

To solve this, I built Antigravity — an open-source, autonomous Linux Zero-Bloat, Telemetry & FinOps Engine written in Python.


🌌 Why FinOps Matters on Linux Servers

In production environments (AWS, GCP, Hetzner), disk space isn't just a technical metric — it's an ongoing monthly expense.

When your disks fill up with stale logs and abandoned Docker caches, engineering teams are forced to allocate larger storage volumes (AWS EBS gp3). Antigravity directly addresses this by calculating raw disk bloat and translating it into real projected monthly and annual dollar waste (USD).


⚡ Key Capabilities

  • 🛰️ Sub-Second Deadweight Telemetry: Audits /var/cache/apt/archives, measures active systemd journal pressure, and scans Docker reclaimable layers.
  • 💰 FinOps Economic Waste Engine: Evaluates wasted storage against AWS EBS pricing benchmarks ($0.12/GB-month) to give teams instant cost visibility.
  • 🔍 Zombie & Leak Hunter: Inspects the OS process table for zombie PIDs and runaway memory consumers.
  • 🧹 Sandboxed Zero-G Purge: Vacuums stale logs down to a safe 3-day window and cleans residual package archives with zero risk to user files or databases.
  • 🎨 Modern Rich Terminal UI: Pure terminal aesthetics with zero heavy web server overhead.

🚀 Try It in 30 Seconds

You can test Antigravity on any Linux machine with Python 3.10+:

git clone https://github.com/EngJoDev/antigravity.git
cd antigravity
chmod +x run.sh

Run deep audit & FinOps report

./run.sh scan

Safely achieve Zero-Gravity

./run.sh purge


🌟 Open Source & Contributions

Antigravity is 100% free and open-source under the MIT license.

⭐ Check out the project, explore the code, and leave a Star on GitHub:
https://github.com/EngJoDev/antigravity

I would love to hear your feedback, ideas for new features, and thoughts on cloud cost optimization in the comments below!

Top comments (0)