Aim

From VectorSpaceLab/AREX-Skill · View interactive version

Aim is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use Aim for experiment tracking SDK instrumentation, local/remote run storage, CLI/UI/server workflows, storage maintenance, and ML framework logging integrations.

How to use this skill

Skill file

Aim repo skill

Use this skill when a task involves Aim experiment tracking: Python SDK instrumentation, local Aim repositories, run/metric/media/artifact logging, query expressions, Aim CLI/UI/server operation, remote tracking, storage/run maintenance, watcher notifications, or ML framework callback integrations.

First checks

  1. Install the base public package when Aim is not already available:

```bash

python -m pip install aim

```

  1. Confirm the package and entry points:

```bash

python -c "import aim; print(getattr(aim, 'version', 'unknown'))"

aim version

```

  1. For a reusable diagnostic, run:

```bash

python scripts/check_aim_environment.py --check-optional

```

  1. Prefer explicit repository paths in both CLI and SDK workflows. Avoid relying on whatever current directory the agent or job scheduler happens to use.

Route by task

Root references

Root script

Operating guardrails

Minimal SDK pattern

from aim import Repo, Run

repo = Repo.from_path("./aim-repo", init=True)
run = Run(repo=repo, experiment="demo", system_tracking_interval=None, capture_terminal_logs=False)
try:
    run["hparams"] = {"lr": 1e-3, "batch_size": 32}
    run.track(0.5, name="loss", step=0, epoch=0, context={"subset": "train"})
finally:
    run.close()
    repo.close()

Minimal CLI pattern

aim init --repo ./aim-repo
aim up --repo ./aim-repo --host 127.0.0.1 --port 43800

For remote training, route to cli-and-services: usually start aim server on the storage host and point SDK clients at an aim://... URL.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.