# ml-intern

- **ID:** 601
- **Kind:** code
- **URL:** https://github.com/huggingface/ml-intern
- **Authors:** Aksel Joonas Reedi, Henri Bonamy, Yoan Di Cosmo, Leandro von Werra, Lewis Tunstall
- **Venue:** Hugging Face (GitHub)
- **Published:** 2025
- **Source:** github
- **Access:** free
- **License:** Apache-2.0
- **License family:** Permissive (auto-classified)
- **Tags:** ml-intern, huggingface, coding-agent, smolagents, traces, cli, hf-jobs
- **Topics:** ML engineering agents, coding agents
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/601

## Summary

huggingface/ml-intern is a CLI/agent (smolagents lineage) that reads HF docs/papers/datasets, writes training code, and can run bash/read/write/edit locally or opt into HF Space sandbox tools and HF Jobs. Hosted inference goes through HF Inference Providers (HF_TOKEN); local models via LiteLLM prefixes ollama/vllm/lm_studio/llamacpp. Sessions auto-upload as Claude-Code-style JSONL traces to a private {user}/ml-intern-sessions Hub dataset (HF Agent Trace Viewer). Slack one-way notifications. Agentic loop max 300 iterations with 170k auto-compaction and a doom-loop detector. Apache-2.0. Python >=3.11. pip/uv tool install from the repo.

## Attributes

- **Purpose:** Open-source ML intern agent that researches, writes, and ships ML code on the Hugging Face ecosystem
- **Scale:** 10,726 stars; 1,169 forks at check. pyproject 0.1.0. Agentic loop max 300 iterations; context auto-compaction at 170k.
- **Time period:** GitHub created 2025-10-30; pushed 2026-07-30; updated 2026-08-14. Discord posted 2026-05-26.

## From the source (fetched 2026-10-03)

- **Repository:** huggingface/ml-intern (GitHub)
- **Created:** Oct 30, 2025 (GitHub)
- **Last push:** Sep 29, 2026 (GitHub)
- **Stars:** 10,809 (GitHub)
- **Forks:** 1,189 (GitHub)
- **Main language:** Python (GitHub)
- **Archived:** yes (GitHub)

## Research notes

- Primary: GitHub README + API (Apache-2.0, Python, 10726 stars / 1169 forks at check). Cite authors from README bibtex. Demo space https://smolagents-ml-intern.hf.space/. Related public dataset clem/ml-intern-sessions is already papers_export id 380; leftover is the GitHub repo so hf_* left blank. Discord posted the repo. Per-user private Hub traces are not a new public hosted corpus, so no datasets_local row.

## Related entries

- Related: [ML Intern Session Traces](https://papers.projxon.ai/entries/364) (dataset, #364)

## Similar entries

- [Prime Agent: A Self-Improving RLM Harness](https://papers.projxon.ai/entries/657) (other, #657)
- [How to Build Agentic Harness using Jev (Builder's Guide) — Avid / @Av1dlive](https://papers.projxon.ai/entries/1048) (post, #1048)
- [Agent Reach](https://papers.projxon.ai/entries/606) (code, #606)
- [Composer 2 Technical Report](https://papers.projxon.ai/entries/1108) (paper, #1108)
- [Devin for Startups](https://papers.projxon.ai/entries/634) (other, #634)
- [Agentic RL: Token-In, Token-Out Done Right (TITO)](https://papers.projxon.ai/entries/978) (post, #978)
