Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 2.68 KB

README.md

File metadata and controls

65 lines (49 loc) · 2.68 KB

comet-python-sdk

A read-only copy of the comet_ml Python package source as published on PyPI (with its built-in crash-report address removed), plus agent skills for using it. It is meant for browsing and for coding agents and MCP servers that need to read the SDK source.

  • Install the SDK: pip install comet-ml (this repo is not an installable package).
  • Docs: https://www.comet.com/docs/v2/
  • Versions: each git tag (e.g. 3.59.0) matches the PyPI release of the same version.

Agent skills

Skills that teach coding agents (Claude Code, Cursor, Codex, Copilot, ...) to use Comet:

Skill For
comet-experiments Adding Comet tracking to training code, running experiments and sweeps
comet-views Building dashboard views and Python/JavaScript panels in code
comet-query Answering questions from a Comet server's experiments and metrics
comet-registry Registering, promoting and loading models
comet-ml Shared reference: credentials, configuration, finding APIs in the source

Install them into your agent:

npx skills add comet-ml/comet-python-sdk

In Claude Code, the comet plugin installs the skills together with the Comet MCP server:

/plugin install comet --marketplace comet-ml/comet-python-sdk

They work best with the Comet MCP server connected (.mcp.json in this repo shows the configuration). Set COMET_API_KEY (and optionally COMET_WORKSPACE) in the environment, or run comet login once.

Each skill states the SDK version it was checked against, and every sync checks that the skills only cite APIs present in the new release.

Examples

examples/ has small runnable scripts, one best practice each: datasets as artifacts, training, sweeps, comparing runs, building views, custom panels, registering and serving models. They double as the skills' test suite (python examples/run_examples.py).

Repository layout

  • comet_ml/: generated from each PyPI release. Do not edit.
  • skills/: the agent skills. .claude/skills and .agents/skills link here.
  • examples/: runnable best-practice examples, also the skills' tests.
  • AGENTS.md (also CLAUDE.md): instructions for agents reading this repo.
  • update_repo.py, .github/workflows/sync.yml: the automatic sync from PyPI.
  • scripts/check_skills.py: checks the skills against the synced SDK.

Issues and pull requests are not accepted here; for help, see https://www.comet.com/docs/v2/.