ModelFarebeta
Back to AI Toolkit

Magika

Identify file content types before processing uploads.

Tool

Security · Documentation reviewed 2026-11-10. Not independently tested.

When it helps

Routing mixed documents and binary files to the appropriate parser.

What to consider

Content classification is not malware detection; retain separate upload validation and scanning.

Getting started

Try the CLI on non-sensitive sample files and check its supported formats.

Repository evidence

Stars: 18,854 · License: Apache-2.0

Last code push: 2026-11-20

Statistics retrieved: 2026-11-23T00:42:59+00:00

Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.

Adding model calls?

Plan the tokens, retries, and fallback costs before connecting your tools.

Open the planner