This release is a pre-release and may not be stable for production use.
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.
What a deployment needs
- Postgres (
DATABASE_URL,DATABASE_URL_UNPOOLED) for users, agents, chats, and Rotor state. Tables are created on startup. Upgrading from 0.1 drops and alters nothing; seedocs/arch/store.mdfor which tables are new. - A Git storage repo for agent files (
HATCHERY_STORAGE_REPO), reached through the Connect GitHub app (GITHUB_CONNECTOR). HATCHERY_SECRETS_KEYfor agent secrets, andHATCHERY_SERVE_DOMAINplus its wildcard domain for agent web addresses.- Queue subscribers for
hatchery.agent.runtime(topicshatchery-dispatcher-v1,hatchery-dispatcher-maintenance-v1) andhatchery.app.server:worker_event(topichatchery-worker-events-v1), as inpyproject.toml. A wrapper project must declare the same topics. These are the same topics as 0.1.
See the repository's top-level README for what each setting does.
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:
- In this GitHub repository, create an environment named
pypi(Settings → Environments). Restrict deployments tomainand consider requiring reviewer approval. - On PyPI, register a GitHub trusted publisher with owner
vercel-labs, repositoryhatchery, workflow filenamepublish.yml, and environmentpypi. For the first release ofvercel-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. - 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.2.0.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vercel_hatchery-0.2.0.dev0.tar.gz | 15.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vercel_hatchery-0.2.0.dev0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.4 MB
Release files / vercel_hatchery-0.2.0.dev0.tar.gz
| Download URL | vercel_hatchery-0.2.0.dev0.tar.gz |
|---|---|
| Size | 15.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2bf7f6ac30e2005e8845fc99728c138640bf382651b50a01487072c8fc8366b
|
|
BLAKE2b-256 checksum How to use checksums |
67c007206e1738d40502dd2bac91d0d11353ce0efd9ad82cd989b1746d0914db
|
| 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.2.0.dev0-py3-none-any.whl
| Download URL | vercel_hatchery-0.2.0.dev0-py3-none-any.whl |
|---|---|
| Size | 15.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff75c0b44c1a4efc25e238e964c35258754201f8c7f726fcb21b6c07644ccec5
|
|
BLAKE2b-256 checksum How to use checksums |
7c5172aa7426d4092e6a006d0da0427a57a9a487bdbfe6f91ad2baf85f2c33c0
|
| 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}
|