How I automate my own job at Hugging Face using agents - Niels Rogge, Hugging Face

AI Engineer20m 37s
0 comments · 0 votesOpen discussionClose discussion
Sign in to join the discussion

    Video summary

    Niels Rogge describes how the Hugging Face community science team helps researchers make model weights, datasets and documentation easier to discover. The original manual process finds a paper's repository, checks its README and associated artifacts, asks authors about missing releases, and improves incomplete model or dataset cards. Niels Rogge explains that increasing publication volume made this repetitive outreach difficult to sustain manually.

    Niels Rogge first implemented a predictable workflow using a Python script with LLM API calls at defined steps. A nightly GitHub Actions job processes research papers and may open GitHub issues or documentation pull requests, while tracing records prompts, inputs, outputs, latency and cost. Niels Rogge chose this structure for control and predictability, distinguishing it from an autonomous agent that selects tools repeatedly until a task is finished.

    Niels Rogge later automated follow-up with a more flexible agent built using the Claude Agent SDK. The described setup uses a model through Hugging Face inference providers, Bash, the Hugging Face CLI and a reusable CLI skill, with Modal containers processing individual GitHub issues in parallel. Niels Rogge says the model was recently changed to GLM 5.2; the talk presents that choice as a deployment decision rather than an independent model comparison.

    Niels Rogge still starts follow-up batches manually through an editor skill, even though the initial outreach runs overnight. The agents can respond to GitHub discussions, complete model-card templates using papers and repository documentation, and post resulting artifact links to an internal Slack channel. Examples illustrate the range of follow-up work, but the talk does not present a controlled assessment of the accuracy of every generated message or documentation change.

    Niels Rogge says recipients are not told that the outreach is automated, explaining that disclosure might make them dismiss an issue. Niels Rogge reports mostly positive responses while acknowledging negative reactions and the possibility of low-quality automated outreach. The conclusion emphasizes evaluation and argues that, for this particular follow-up task, an agent with a CLI, skill and sandbox can replace substantial custom workflow code; it does not establish that autonomous agents are preferable for every process.

    Original YouTube thumbnailWatch on YouTube