gradio-app/trackio
A lightweight, local-first, and free experiment tracking library from Hugging Face 🤗
What it solves
Trackio is a lightweight, free experiment tracking library designed to replace heavy cloud-dependent tools. It specifically addresses the needs of both human researchers and AI agents by providing a local-first logging system that doesn't require account creation and offers high-throughput data storage for parallel experiments.
How it works
Trackio logs metrics, configurations, and media to a local SQLite database, which can be "frozen" into Parquet files for efficiency. It uses a non-blocking background thread to batch and write logs every 0.5 seconds, ensuring that training loops are not slowed down by I/O. For visualization, it provides a Gradio-inspired dashboard that can be run locally, self-hosted on private infrastructure, or deployed for free to Hugging Face Spaces for collaboration and embedding in websites via IFrames.
Who it’s for
- ML Researchers: Those seeking a free, local-first alternative to Weights & Biases with a familiar API.
- AI Agent Developers: Developers building autonomous ML experiments who need a programmatic CLI and SQL interface to query experiment data.
- Collaborative Teams: Users who want to share live dashboards via Hugging Face Spaces without managing complex infrastructure.
Highlights
- W&B Compatible: API compatible with
wandb.init,wandb.log, andwandb.finishfor easy drop-in replacement. - LLM-Friendly: Includes a CLI for programmatic access and direct SQL querying of experiment data.
- Local-First Design: No account required to start logging; data stays local by default.
- High Throughput: Non-blocking architecture allows thousands of log calls per second.
- Extensible: Built with Python and Svelte 5, making it easy to fork and customize both the backend and the frontend dashboard.
Related
- Dispatch
- Dispatch
- Project
- Project
- Dispatch