Preparing Your Package
Let's prepare your agent for publication by setting up Poetry packaging.
Setting up pyproject.toml
Verify that your pyproject.toml
looks like the snippet below. Edit the values to match your agent and personal details.
Building Your Package
Use Poetry to build your package:
Install Python 3.10+ and pipx
First, ensure you have Python 3.10+ installed. Then install pipx:
Install Poetry Package Manager
Install Poetry using pipx:
This creates distribution files in your dist/
folder.
Verify Your Build
Make sure your package builds successfully without any errors. A clean build without warnings or errors will ensure smooth deployment to Naptha Hub.
Next Steps
Your package is ready! Let's move on to deploying it to Naptha Hub →