OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Evaluation & Observability

Mltrace

Mltrace is an open-source Python tool that adds coarse-grained lineage and tracing observability to machine-learning pipelines. It logs data and component versions, stores component-run information, and provides UI and CLI views for tracing outputs, inspecting runs, and flagging results for review.

Independent OpenViST project profile, based on linked sources.

Mltrace — Python-based machine-learning pipelines
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Mltrace when a team wants a shared, coarse-grained record of pipeline runs and a way to follow outputs back through their producing steps during debugging or review.

Who it is for

  • Agile or multidisciplinary teams collaborating on machine-learning pipelines
  • Teams working with complex data pipelines that need run history and output lineage

Documented uses

  • Trace the pipeline steps that produced a particular output.
  • Review recent component runs and inspect a component’s run history.
  • Flag outputs and see which component runs are commonly involved in producing flagged results.
  • Define data and machine-learning tests for pipeline components.
Before you choose

Requirements & limits

The project is open source under the Apache-2.0 license. The README documents a self-hosted development setup using Docker and PostgreSQL.

  • The documented logging workflow is Python-based; logging from other file types is listed as a future direction.
  • The setup described in the README uses Docker, PostgreSQL credentials, and client-side database configuration.
  • Trace inspection is available through both a UI and a CLI, with commands including history, recent, trace, flag, unflag, and review.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up the documented development environment

Start Mltrace’s database and server, configure Python logging, and launch the UI as described in the project README.

Before you start

  • Docker installed
  • A cloned Mltrace release
  • PostgreSQL credentials set for the project
  • Python and the project requirements for client-side logging

Steps

  1. From the repository root, set your database credentials and run docker-compose build followed by docker-compose up.

  2. Install client dependencies with the command below and the command below.

    Documented command
    pip install -r requirements.txt
    Documented command
    pip install -e .
  3. Set DB_SERVER to the server IP or localhost; use DB_URI instead if you changed the database URI in docker-compose.yaml.

  4. Check that .flaskenv PostgreSQL credentials match .postgresenv, then open the server address on port 8080; for the development UI, run yarn install and yarn start in ./mltrace/server/ui.

Expected outcome

A documented development setup with the database/server running and the UI available for viewing pipeline traces.

Guide limitations

  • The README describes these instructions as a prototype/development setup and directs general users to the official documentation.
  • The instructions require configuring database credentials and a client connection.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
23 October 2026
Original website title
loglabs/mltrace · Official homepage title · retained in its source language