← All entries
Code2025#601

ml-intern

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.

Venue
Hugging Face (GitHub)
Source
github
Access
free
License
Apache-2.0
License family
Permissive
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.
Added
Aug 14, 2026
Verified
Aug 14, 2026
Research status
done
Found via
#random-papers

From the source

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

Fetched Oct 3, 2026 from GitHub. These numbers change; the curated fields above do not come from here.

Tags

ml-internhuggingfacecoding-agentsmolagentstracesclihf-jobs

Topics

ML engineering agents, coding agents

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

  • Datasetresearch profile2026added Jul 17, 2026793 downloads/moshares a link

    ML Intern Session Traces

    clem

    A dataset of ML Intern coding agent session traces uploaded from local runs, stored as JSON Lines files with one file per session. Each trace is converted to a Claude-Code-style event stream containing user messages, assistant messages, tool calls, tool results, model metadata, and timestamps, viewable in the Hugging Face Agent Trace Viewer. It is intended for research and analysis of coding agent behavior, though traces may contain sensitive information from local development environments.

Similar entries