trackio
A lightweight, local-first, and free experiment tracking library built on top of Hugging Face Datasets and Spaces.
What it is and what it does
Trackio is a lightweight experiment tracking library designed for machine learning workflows and autonomous agents. It stores experiment metadata, metrics, and media in a local SQLite database, avoiding the need for account creation or cloud signup. The library provides a wandb-compatible API (init, log, finish), so existing logging code can often be used without modification by importing trackio as wandb. It includes a Gradio-based web dashboard for viewing results, a CLI for querying experiment data with SQL, and optional integration with Hugging Face Spaces for collaborative sharing—all free.
The package depends on a modest set of runtime libraries: starlette and uvicorn for the dashboard server, gradio-client and huggingface-hub for Space integration, numpy and pillow for media handling, orjson for serialization, brotli for compression, python-multipart for form parsing, and tomli for config. It is designed to handle high-throughput parallel logging and to be LLM-friendly, with programmatic access to run management and SQL-based data querying for autonomous analysis.
Use it for:
- Log metrics from parallel training runs locally without cloud infrastructure or authentication.
- Replace wandb in existing scripts by importing trackio as wandb, keeping logging code unchanged.
- Query experiment data programmatically via CLI SQL interface for LLM-driven analysis and decision-making.
- Share experiment results by syncing local projects to a free Hugging Face Space for team collaboration.
- Embed live experiment dashboards on websites or blogs using Space URLs with query parameter filtering.
- Track autonomous agent experiments with high-throughput logging and direct database access for inspection.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Trackio is a local-first experiment tracking library that logs metrics, media, and configs to a SQLite database with a web dashboard, and optionally syncs to Hugging Face Spaces for sharing.
Yes. Trackio is actively maintained, has no known vulnerabilities, installs with low friction, and offers a genuinely useful local-first alternative to cloud-dependent trackers. The wandb API compatibility makes adoption frictionless. MIT licensing imposes no restrictions. It is well-suited for researchers, agents, and teams who want experiment tracking without signup or infrastructure overhead.
Install
trackio on PyPI
pip
pip install trackiouv
uv add trackiopoetry
poetry add trackioInstalling trackio
Before you install
Low friction: pure Python wheel with no compiled dependencies. Active maintenance—released 1 day ago with 1642 GitHub stars. Requires Python 3.10 or higher.
License in practice
MIT license (permissive): you can use, modify, and distribute Trackio freely in commercial and private projects without restriction.
Quickstart
pip install trackio
import trackio
trackio.init(project="my-project", config={"lr": 0.001})
trackio.log({"loss": 0.5})
trackio.finish()
trackio.show()
Requires Python 3.10 or higher.
Verify before relying
- Throughput limits for parallel experiments and SQLite write concurrency under real workloads.
- Performance characteristics when querying large experiment databases via CLI.
- Compatibility with custom frontends beyond the minimal starter template.
- Behavior and data consistency when syncing offline projects to Spaces with concurrent writes.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — brotli, gradio-client, huggingface-hub, numpy, orjson, pillow, python-multipart, starlette, tomli, uvicorn |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 606,512/month — #5,790 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: trackio-0.35.0-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
wandbwandb is a machine learning experiment tracking…
permissive · top 1,000 on PyPI
aimAim logs training runs and AI metadata, then…
permissive · top 15,000 on PyPI
comet-mlComet ML is an experiment tracking and logging…
permissive · top 15,000 on PyPI
tracemlTraceML tracks metrics, parameters, artifacts,…
permissive · top 15,000 on PyPI
dvc-studio-clientClient library for posting experiment metrics,…
permissive · top 5,000 on PyPI
dvcliveDVCLive logs machine learning metrics,…
permissive · top 15,000 on PyPI
azureml-mlflowIntegrates MLflow experiment tracking and model…
permissive · top 5,000 on PyPI
neptune-scaleNeptune-scale is a Python client library for…
permissive · top 5,000 on PyPI
mlflow-skinnymlflow-skinny is a lightweight client library…
permissive · top 1,000 on PyPI
valohai-utilsHelper library for integrating Python code with…
permissive · top 15,000 on PyPI