Google Open-Sources Magika: AI File Type Detector at 99% Accuracy
alex_verem · x · 2026-08-02
Traditional file type detection relies heavily on extensions, which are easily spoofed. Google has open-sourced Magika, an AI-powered tool that identifies file types by reading their actual content.
- Technology: Employs a highly optimized deep learning model (just a few MBs) that runs in milliseconds on a single CPU.
- Performance: Trained on 100 million samples across 200+ file types, achieving 99% accuracy at 5ms per file.
- Scale: Already deployed internally for Gmail attachments and Google Drive, processing hundreds of billions of files weekly.
- Availability: Free and open-source on GitHub with 17.9k stars; runs entirely locally without cloud accounts.
More from coding & agent
- ERP•AI launches headless SaaS with $0 seats that bills machines: $1 buys 4,000 record writes — rohanpaul_ai · 2026-10-16
- FDE-Gym benchmark shows huge gap on real AI delivery tasks: top model scores 0.563 — DeepLethe · 2026-10-16
- Vibe-coded dashboard leaked franchise financials before anyone logged in — shauntrennery · 2026-10-16
- Fintech HR built a sourcing agent on 60,000 past applicants — 30 qualified candidates in a month — G0NZ0BOY · 2026-10-16
- Orchestrating a 100-image portrait of humanity for aliens with ChatGPT, Argon and p5.brush — dx8xb · 2026-10-16
- 3x DGX Spark cluster runs GLM-5.3-Flash locally behind a proxy, 1.75M tokens/day at 119W — Teknium · 2026-10-16