Skip to main content

miliario — self-hosted ML experiment tracking & LLM observability (imports as `miliario`; the historical `mlop` import keeps working)

Project description

miliario Python client

The Python client for miliario — a self-hosted ML experiment tracker & LLM/agent observability platform:

pip install miliario
import miliario

The historical mlop-sl distribution is an alias of miliario, and the historical import mlop / mlop CLI / MLOP_* environment variables keep working as thin compatibility shims — existing code needs no changes.

Full usage docs: https://slenser0.tech/docs (raw markdown for AI agents: /docs.md).

Install from source

git clone https://github.com/SLENSER0/ml_logger
cd ml_logger
pip install .

MCP server (Claude Code / Cursor)

miliario mcp runs a read-only MCP stdio server over your miliario instance, so coding agents can answer questions like "which run had the best val_acc?" or "why did eval costs spike yesterday?".

pip install 'miliario[mcp]'

Register with Claude Code:

claude mcp add miliario -e MILIARIO_API_KEY=mlps_... -e MILIARIO_HOST=https://slenser0.tech -- miliario mcp

Or in a generic MCP client config (Cursor mcp.json and similar):

{
  "mcpServers": {
    "miliario": {
      "command": "miliario",
      "args": ["mcp"],
      "env": {
        "MILIARIO_API_KEY": "mlps_...",
        "MILIARIO_HOST": "https://slenser0.tech"
      }
    }
  }
}

If MILIARIO_API_KEY is unset, the server falls back to the token stored by miliario login. Tools: list_projects, list_runs, list_metrics, get_metric_series, search_spans, get_costs, get_run_url.

Original repo: mlop-ai/mlop

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miliario-0.1.0.tar.gz (138.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miliario-0.1.0-py3-none-any.whl (132.4 kB view details)

Uploaded Python 3

File details

Details for the file miliario-0.1.0.tar.gz.

File metadata

  • Download URL: miliario-0.1.0.tar.gz
  • Upload date:
  • Size: 138.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for miliario-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e13fd1c6f422d52c888315d1229501c29ffb8ab629bc931eef05479fc714d18b
MD5 56702af08dd24983b4ab2062fbcd329b
BLAKE2b-256 1b9e2f9030c5763aef784782b51b43207eacce0b3ae552fe4febe72c57397974

See more details on using hashes here.

File details

Details for the file miliario-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: miliario-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 132.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for miliario-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e12d943bb09076b8341627e61965fb768304d5bf1dc63c0df9b98e117d8e7f23
MD5 105eefc8bdae4765a5ae3fdfeafa859f
BLAKE2b-256 790ecc5393c840fa00a26c46d9d0a7a019694b1db9b9bfec7c2aca93716d9199

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page