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.2.0.tar.gz (142.2 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.2.0-py3-none-any.whl (137.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: miliario-0.2.0.tar.gz
  • Upload date:
  • Size: 142.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 7300f307f5cef9102d3eb18dd281cda2cbc8143ba0aca2d1fca4b40a5d12c1a4
MD5 295f081def1087ecae241a3b34a50788
BLAKE2b-256 f2f0cec942407137849ad853d3112487d2199bd884512d1d9564d69e4bfb7794

See more details on using hashes here.

File details

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

File metadata

  • Download URL: miliario-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 137.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acd62c001350d8c137bfc891b8986122da9fa8834ae75c15677576a7921e199d
MD5 f4368cc568dbdb7e529cdb52ba1a77ac
BLAKE2b-256 5f811820968f32d366e234227e51339c5f89a3a9a08ccc625432115260c6c255

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