Install
git clone git@github.com:huggingface/ml-intern.git && cd ml-intern && uv sync && uv tool install -e .
$
An Apache-2.0 autonomous ML-engineering agent built on smolagents that reads papers, trains models, and ships them with deep access to docs, datasets, and cloud compute. Its ToolRouter dispatches across HF docs, repos, datasets, papers, and Jobs, GitHub code search, and either local bash/read/write/edit tools or, with --sandbox-tools, private HF Spaces and GPU sandboxes. Run it interactively or headless to fine-tune models or test training scripts; it routes models through HF Inference Providers and includes a doom-loop detector and auto-compaction.