# How I automate my own job at Hugging Face using agents — Niels Rogge, Hugging Face <!-- ref: @content/youtube/aie/how-i-automate-my-own-job-at-hugging-face-using-agents-niels-rogge-hugging-face tags: [agents, research outreach, GitHub automation, Hugging Face, model hosting, cron jobs, evaluation, open models] version: 2 updated_at: 2026-11-24T04:33:29.949Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=FLUoowDJg4I)** # How I automate my own job at Hugging Face using agents — Niels Rogge, Hugging Face *Synthesized from Niels Rogge's talk on AI Engineer, 2026-08-20.* Niels Rogge, a machine learning engineer at Hugging Face, describes the community science team and how he automated its researcher outreach with agents. ## Core Thesis Niels Rogge argues that the repetitive part of his job, asking researchers to move model weights and datasets from Google Drive, GitHub releases, Dropbox or Zenodo onto Hugging Face, can be handed to an agent. He started with a deterministic pipeline in 2024, then moved follow-up work to a fully autonomous agent once models were good enough, and concludes that a single CLI, one skill and a sandbox are often all an agent needs. ## Key Insights - **The problem.** Researchers often host artifacts on third-party services, which hurts discoverability. Niels opened GitHub issues and pull requests with the same template, asking researchers to release checkpoints or datasets on Hugging Face and to add model or dataset cards. Hundreds of papers appear on arXiv daily, so doing this by hand did not scale. - **Version one, a fixed pipeline.** Each night a cron job run through GitHub Actions reads new arXiv papers, checks GitHub READMEs and the Hub, and opens an issue or a pull request. It is a Python script calling LLM APIs at each step with no agent framework, following Anthropic's advice to start simple. The pipeline was drawn with the Excalidraw MCP server in Cursor. - **Version two, an autonomous follow-up agent.** Replies to the issues were the next bottleneck. He moved follow-up to a Claude Agents SDK agent running in a Modal batch, one container per GitHub issue. Its tools are Bash and the Hugging Face CLI skill, and it runs on GLM 5.2 through Hugging Face inference providers. - **Tracing.** He uses Langfuse to inspect prompts, inputs, outputs, cost and latency. - **Results.** The agents create hundreds of issues a night. Of the thousands of issues, he reports only two negative replies, one asking the agent to stop. A model card template was filled in automatically, and the most upvoted issue, for Tiny Recursive Models, drew more than 60 upvotes before the model was released on Hugging Face. He acknowledged that the agent does not disclose that it is a bot, reasoning that people reply with the same content they would have given him. - **Side projects.** A Daily Papers X account using the same workflow passed 90,000 followers and posts every four hours, and he is reviving Papers With Code as a benchmark and education site. - **Conclusion.** Open models are now good enough to replace closed ones for this task, and for his use case agents beat workflows. He stresses evaluation, pointing to Hamel Husain's LLM evals FAQ. ## Actionable Takeaways 1. Start with a deterministic cron pipeline that calls an LLM API at each step, and add an autonomous agent only where the next step is hard to script. 2. Run the agent on a batch platform with one container per work item, such as Modal, so hundreds of items run in parallel overnight. 3. Give the agent one CLI and one skill, here the Hugging Face CLI skill, plus a sandbox, rather than custom code. 4. Trace every LLM call with Langfuse, recording inputs, outputs, prompts, cost and latency. 5. Set up evaluation before scaling output, because volume alone can produce unwanted noise. ## Notable Quotes > "they post exactly the same stuff as I was doing before manually" — Niels Rogge, on the agent's issue replies > "I can replace a lot of custom codes, thousands of lines of code, with nowadays just a simple agent" — Niels Rogge --- *Related: `@protocol/eval` · `@content/web/huggingface/2026-11-27-os-omni-computer-use-benchmark` · `@content/youtube/ai-jason/how-to-build-proactive-agents-self-improving-company-fully-explained` · `@content/youtube/yifan-bth/the-complete-claude-code-workflow-90-skip-this` · `@content/youtube/david-ondrej/fine-tune-the-biggest-open-source-models-even-with-a-bad-pc`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*