MLflow Agent Rules

A platform for experiment tracking, model management, evaluation, and LLM observability.

On this page

Overview

MLflow's CLAUDE.md covers local development, the tracking layer, and contribution rules. It provides credential-free provider stubs, coordinates dependency cooldown settings, names test environments, and keeps unrelated changes out of the same squash-merged pull request.

Documents

├── 
├──  · symlink → CLAUDE.md
├── .github
│   └── 
└── mlflow
    └── server
        ├── js
        │   ├── src
        │   │   ├── experiment-tracking
        │   │   │   └── pages
        │   │   │       └── experiment-scorers
        │   │   │           └── 
        │   │   └── shared
        │   │       └── web-shared
        │   │           └── traces-table
        │   │               ├── data
        │   │               │   └── 
        │   │               └── 
        │   └── 
        └── 

Patterns in this file

01 / Verification by change type

Make gated interfaces reviewable without credentials

The local server can substitute a fake provider CLI so authentication probes pass and the interface renders. The guide labels those stubs as development and CI tools, allowing review without real provider calls.

Source excerpt starting at line 43.
Features gated on an external provider/credentials can be rendered without realkeys, cost, or nondeterminism via credential-free stubs (see `dev/dev_stubs/`):

02 / Hard prohibitions

Preserve a wider tenancy contract during a narrow change

Tracking-store edits must retain workspace-aware validation even when motivated by single-tenant behavior. The accompanying rule requires matching workspace test variants.

Source excerpt starting at line 15.
- When touching the SQLAlchemy tracking store, keep all workspace-aware paths and validations intact; never drop workspace plumbing even if the change focuses on single-tenant behavior

03

Synchronize a dependency policy across package managers

The repository applies a seven-day cooldown through Python, npm, and Yarn configuration. The guide also extends the policy to new npx invocations so one-off commands do not bypass it.

Source excerpt starting at line 91.
7-day cooldown on new package releases to guard against compromised or brokenversions that get pulled and yanked within a few days. Keep these in sync:

04 / Contribution etiquette

Connect patch scope to the merge strategy

The one-concern rule explains that squash merging combines unrelated work into one commit. That makes separate reverts and later reasoning harder, which supplies the practical reason to split changes.

Source excerpt starting at line 181.
cost rather than adding to it, and since this repo squash-merges, they land asone commit that can't be reverted piece by piece and is hard to reason aboutlater. When in doubt, split.

Ideas for your repo

  1. Provide credential-free fixtures for gated UI states.
  2. Test the broader tenancy contract when changing a shared store.
  3. Apply dependency-age policy consistently across toolchains.
  4. Explain how merge strategy affects patch scope and reversibility.
Sponsored byModem

Give your agents the whole story.

These instructions explain how to work in MLflow. Modem shows your agents what customers said, who is affected, and what changed.

See how Modem works