Skip to main content

Vercel Hatchery

Hatchery is an agent deployed to Vercel, reachable from its web UI, Slack, and GitHub. It requires Vercel services and credentials to run; installing the Python package alone does not configure a deployment.

Build and publish

From the repository root, run make build to build the frontend, wheel, and source archive, or make ci to also check the lockfile and run backend and frontend tests and lint. The frontend build writes into hatchery/static/ and runs before uv build; both the wheel and source archive include the UI. Check that PyPI dependencies work in a clean install; the development lockfile is not installed with the package.

To publish, use the manual Publish to PyPI GitHub Actions workflow on main. It runs make ci, passes the built archives to a separate pypi environment job, and runs make publish there with uv trusted publishing. Publishing locally without GitHub's OIDC identity will fail; no PyPI API token is needed. The Makefile selects the version from pyproject.toml, so bump it before each release. A version already on PyPI cannot be uploaded again.

One-time setup:

  1. In this GitHub repository, create an environment named pypi (Settings → Environments). Restrict deployments to main and consider requiring reviewer approval.
  2. On PyPI, register a GitHub trusted publisher with owner vercel-labs, repository hatchery, workflow filename publish.yml, and environment pypi. For the first release of vercel-hatchery, use a pending publisher under your PyPI account's Publishing settings; for an existing project, use its Publishing settings. A pending publisher does not reserve the name.
  3. Run the workflow manually from GitHub Actions, selecting main. The PyPI fields and workflow filename/environment must match exactly. No token or GitHub secret is required.

The Python package is imported as hatchery; the PyPI distribution is vercel-hatchery. For local development instructions, see the repository's top-level README and frontend/README.md.

Release files for vercel-hatchery 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vercel-hatchery 0.1.0
File Size Uploaded
vercel_hatchery-0.1.0.tar.gz 666.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vercel-hatchery 0.1.0
File Interpreter ABI Platform
vercel_hatchery-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / vercel_hatchery-0.1.0.tar.gz

Download URL vercel_hatchery-0.1.0.tar.gz
Size 666.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b4cfd3ddde8cab7a338d053524c686b90757e45439e63ccef717e1f1481a8bb4
BLAKE2b-256 checksum
How to use checksums
0b15bbc631544cb47feee45ebb4aae999d3a4dda35cf0dc1400c061333cc1ccf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / vercel_hatchery-0.1.0-py3-none-any.whl

Download URL vercel_hatchery-0.1.0-py3-none-any.whl
Size 688.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7cfc06ea78ba39fa5dd9cbe9f8a41f866013b54dcb31f50f983558f2c516212
BLAKE2b-256 checksum
How to use checksums
9e645c9bfe6acdc8f64c34b7f3081807512c12da63df226f623057fb848e80a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page