---
title: "Shipping huggingface_hub every week with AI, open tools, and a human in the loop"
description: "huggingface_hub, the Python client underlying libraries such as transformers, datasets, diffusers, and sentence-transformers, moved from releases every four to six weeks to a weekly cadence. A single manually triggered GitHub Actions workflow now computes versions, manages branches, tags and publishes both huggingface_hub and the hf CLI, creates downstream RC test branches, and handles post-release tasks. An open-weights model drafts structured release notes and Slack announcements using PR metadata and documentation diffs, while OpenCode, HF Inference Providers, PyPI Trusted Publishing, and pinned, checksum-verified tooling provide the stack. Deterministic manifest validation checks missing or extra PR references, then a human reviews and publishes the drafts. The reported result is weekly shipping at about $0.25 per full release, with more consistent notes, earlier downstream breakage detection, and shorter contributor feedback loops."
---

# Shipping huggingface\_hub every week with AI, open tools, and a human in the loop

[Hugging Face](https://yomu.fyi/company/hugging-face) · Lucain Pouget, Célina Hanouti · Jun 23, 2026

**Type:** Problem & solution

## Summary

huggingface\_hub, the Python client underlying libraries such as transformers, datasets, diffusers, and sentence-transformers, moved from releases every four to six weeks to a weekly cadence. A single manually triggered GitHub Actions workflow now computes versions, manages branches, tags and publishes both huggingface\_hub and the hf CLI, creates downstream RC test branches, and handles post-release tasks. An open-weights model drafts structured release notes and Slack announcements using PR metadata and documentation diffs, while OpenCode, HF Inference Providers, PyPI Trusted Publishing, and pinned, checksum-verified tooling provide the stack. Deterministic manifest validation checks missing or extra PR references, then a human reviews and publishes the drafts. The reported result is weekly shipping at about $0.25 per full release, with more consistent notes, earlier downstream breakage detection, and shorter contributor feedback loops.

## Context

The previous release process took four to six weeks and combined automated publishing with manual versioning, branching, downstream CI triage, release-note writing, announcements, and post-release updates. Writing notes across tens of PRs and preparing announcements could consume a half-day of focused work, while the team needed safeguards against AI-generated notes dropping or inventing PRs.

## Approach / What changed

A hand-triggered GitHub Actions workflow automates versioning, tagging, publishing, downstream RC branches, announcements, archiving, post-release bumps, shipped-PR comments, and CLI documentation updates. An open-weights model drafts notes and announcements; deterministic code builds a PR manifest, validates references, and requests corrections, while a human reviews and publishes the final materials. PyPI Trusted Publishing uses GitHub OIDC, and the OpenCode runtime is pinned and SHA256-verified.

## Takeaways

- The workflow validates AI-generated release notes against a deterministic manifest of PRs from squash-merge commits, identifying missing or extra references and re-prompting the agent to correct discrepancies.
- Documentation diffs from changed Markdown files under docs/ are supplied to the model so release-note details such as CLI examples are grounded in the actual PR documentation.
- The reported cadence increased to weekly releases, with full release-note and announcement generation costing about $0.25; downstream RC branches also surface integration breakages earlier.

**Tags:** [CI/CD](https://yomu.fyi/topic/ci-cd), [LLMs](https://yomu.fyi/topic/llm), [Open Source](https://yomu.fyi/topic/open-source), [Python](https://yomu.fyi/topic/python), [Testing](https://yomu.fyi/topic/testing)

- Source: [Hugging Face](https://huggingface.co/blog/huggingface-hub-release-ci)
- Source URL: https://huggingface.co/blog/huggingface-hub-release-ci
- Ingested by Yomu: 2026-08-29T01:51:06.437Z

[Read original post](https://huggingface.co/blog/huggingface-hub-release-ci)
