Terminal App (mldebugger)
A terminal tool bundled with the SDK (short alias mld). Log in, check project status, and browse/compare evaluation results from the terminal.
- Running
mldebuggerwith no arguments launches the interactive dashboard (TUI). - From CI and scripts, use the subcommands (e.g.
mldebugger status,--jsonsupported).
1. Log in
Run mldebugger login once and enter your endpoint and API key interactively.
mldebugger login
# API endpoint [https://api.adansons.ai]: ← Enter for the default
# API key (paste — input hidden): ****
# ✓ Logged in as you@example.com · profile <org> · https://api.adansons.ai

The stored credentials are also used by the SDK (Tracer / Evaluator / DataFilter) as-is (Authentication).
Not registered yet? mldebugger login --register opens the sign-up page.
2. Interactive dashboard (TUI)
mldebugger

Select a model / version in the tree on the left to see its details (state, metric trends, Next Action) on the right.

Press h to render a heatmap in the terminal.

You can also list issues (i), view Agent Analysis (a), request an evaluation (e), upload recorded data (p), and delete / rename (x / n).
Note
Model registration (upload) happens when the SDK records your model. Data recorded with
SDK v0.5.0+ can also be uploaded from the Terminal App: select the version and press p
(Upload recorded data).
3. Main commands
Status & results
mldebugger status # project status tree (model ▸ version)
mldebugger results show <model> <version> # metric trends + issue breakdown
mldebugger results compare <model> <vA> <vB> # compare two versions
Upload recorded data (v0.5.0)
Data recorded locally by a Tracer / Logger / DataFilter can be uploaded as-is — without the inference script or the model. Collect first and send later, or re-send just what failed.
# send everything not uploaded yet
mldebugger upload my_model v1
# choose what to send (also for re-sending already-uploaded data)
mldebugger upload my_model v1 --tracer # Tracer data
mldebugger upload my_model v1 --datafilter # DataFilter data
mldebugger upload my_model v1 --logger # Logger data
# narrow by epoch / dataset_type, choose the merge mode
mldebugger upload my_model v1 --tracer --epoch 3 --dataset-type val --mode merge
| Option | Meaning |
|---|---|
--tracer / --datafilter / --logger |
What to send. Omitted: everything not uploaded yet |
--epoch N\|none |
One epoch to send. none = rows recorded without an epoch. Omitted: same as the script's upload() |
--dataset-type NAME |
Only rows of that dataset_type (train / val / pool, …). Omitted: all |
--mode merge\|replace\|replace_all |
Tracer data only. Default merge (see Tracing & Evaluation) |
-y, --yes |
Upload without asking for confirmation |
--json |
Emit machine-readable JSON |
In the dashboard, select a version with local data and press p; pick the target, epoch,
dataset_type and mode with the arrow keys, then enter. Progress is shown in the dashboard.
- Targets data recorded with SDK v0.5.0+ and saved with
wait_for_save(). Older data is sent with the script'supload()as before. - Uploading requires login (
mldebugger login). --dataset-typecannot be combined with--mode replace_all.- Exit codes:
0success (including nothing to send),1failure / abort,2bad usage.
Set up coding-agent guides (mldebugger agent, v0.5.0)
Installs MLdebugger's integration guide as a skill for your coding agent (Claude Code / Codex / Cursor / GitHub Copilot). Once installed, asking the agent to "integrate MLdebugger" lets it read your repository and work through installation and authentication, ModelSpec, tracing, evaluation, AL strategy recommendation, DataFilter extraction, visualization and production logging — each step with completion criteria. It works offline and needs no login.
mldebugger agent install claude # add to the current project (default)
mldebugger agent install claude --global # use in all your projects
mldebugger agent status # where it is installed, and whether it is current
mldebugger agent update # refresh installed guides to this SDK's version
mldebugger agent uninstall claude # remove
Replace claude with codex / cursor / copilot.
- The guides are copied into the directory your agent reads skills from. Nothing else in the project, and none of the agent's own settings, is touched.
- If you edited the installed files,
install/update/uninstallstop rather than overwrite or delete them — add--forceto proceed. - After updating the SDK, run
mldebugger agent update(agent statusreports outdated guides).
Command cheat sheet
| Command | Main args / flags | Purpose |
|---|---|---|
mldebugger login |
--register / --endpoint / --api-key / --name |
Log in |
mldebugger logout / whoami |
— | Log out / check connection |
mldebugger status |
[model] --json --detailed --all --limit N |
Project status |
mldebugger results list |
<model> <version> |
List results |
mldebugger results show |
<model> <version> --select-by latest\|method_name\|result_name --heatmap --dataset-type |
Metrics / issues / heatmap |
mldebugger results compare |
<model> <vA> <vB> |
Version comparison |
mldebugger results analyses |
<model> <version> --limit N --json |
List Agent Analyses |
mldebugger upload |
<model> <version> --tracer / --datafilter / --logger --epoch --dataset-type --mode -y --json |
Upload recorded data |
mldebugger agent |
install / uninstall / update / status <agent> --global --force |
Coding-agent guides |
mldebugger usage |
--from --to --json |
Organization usage |
mldebugger docs ask |
"<question>" --lang |
Ask the documentation AI |
mldebugger profile |
list / use / add / remove |
Switch between API keys |
mldebugger config |
list / get <key> / set <key> <value> |
Configuration |
4. Configuration (mld config)
| Key | Default | Description |
|---|---|---|
preferred_language |
en |
Default language for Agent Analysis / docs (e.g. ja) |
timezone |
local |
Timestamp display (local / utc) |
update_check |
on |
Notify on new SDK versions |
agent_analysis |
on |
Enable/disable Agent Analysis (below) |
5. Enabling / disabling Agent Analysis
Agent Analysis is enabled by default and can be turned off.
mld config set agent_analysis off # disable
mld config set agent_analysis on # enable
The env var MLD_AGENT_ANALYSIS=on|off overrides it temporarily.
Next steps
- Getting Started — the basic flow with the SDK
- Agent Analysis — use the features behind the
akey from Python