Written by: Vineeth Voruganti

The purpose of this page is to document the release workflow for the SDK.

This is currently a manual process that involves building the SDKs locally and pushing them up to their respective registries.

Python SDK

I will go into the ~/honcho/sdks/python directory and run teh following command to build the distribution.

uv build

Ensure that the pyproject.toml has the correct version number as desired.

Then I’ll first push the distribution to the test registry for pypi which is held at https://test.pypi.org/project/honcho-ai/

This registry is defined in the pyproject.toml file as an additional index. The publish is done using a authentication token. These tokens are in 1password, but currently restricted to the founders.

uv publish --index testpypi --token <token>

Once the package is pushed and we confirm that everything looks good on the test website we can push to the main registry.

uv publish --token <token>

[NOTE] These are different tokens for the different registries.

Node SDK

the SDK is developed using bun and pushed up to the npmjs.org registry.

Currently we are pushing this in a way that requires you to authenticate to via a web browser. I currently have an account that is a member of an organization that owns the @honcho-ai/core and @honcho-ai/sdk packages.

The commands are:

bun build # build the package
bun publish # publish the package

Again ensure that the package.json has the correct version number as desired