Release Workflow
AgentBridge is not production-stable yet, but the repository has a release path ready for future PyPI publishing.
Local Release Checks
Run these before creating a release tag:
python -m pip install -e ".[dev,langgraph,pydantic-ai]"
python -m pytest -q
agentbridge versions --json
agentbridge capability-matrix --markdown
agentbridge conformance --backend mock
python -m build
python -m twine check dist/*
Version Update
- Update
versioninpyproject.toml. - Update release notes or changelog once one exists.
- Confirm docs/version_policy.md matches adopted dependency ranges.
- Commit the version change.
Tag Format
Use vMAJOR.MINOR.PATCH tags:
git tag v0.1.0
git push origin v0.1.0
Pushing a v* tag triggers .github/workflows/release.yml.
PyPI Trusted Publishing
The release workflow uses PyPI trusted publishing through pypa/gh-action-pypi-publish.
Before the first real release:
- Create the PyPI project or reserve the package name.
- Configure PyPI trusted publishing for this GitHub repository.
- Require the
pypiGitHub environment for publish approvals if desired. - Verify the built package metadata with
twine check.
Release Workflow Jobs
build: builds source and wheel distributions and uploads them as artifacts.publish: downloads distributions and publishes to PyPI from thepypienvironment.
Current Policy
Until v1, releases should be marked alpha and should not claim production stability. Adapter support must remain tied to the capability matrix and conformance tests.