Handlebar Python SDK
Python SDKs for implementing Handlebar, the agentic governance runtime.
Supports popular agent frameworks, such as google-adk.
About
Project structure
This repository is a monorepo containing installable packages for different JS/TS agent building frameworks.
handlebar-google-adk- Handlebar for Google ADKhandlebar-core- contains framework-agnostic logic for building rules.
For each package, check out its specific README.
Frameworks coming soon:
- langchain (+ for python, not in this repository)
- crew
- openai
- ...and your favourite (open an issue requesting it and we'll add it to the roadmap)
How-to
- Sign-up for a Handlebar account
- Install the appropriate Handlebar framework for your agents and configure it (refer to the
./packageshere for more details) - Create an API key for your org and configure your project with
HANDLEBAR_API_KEYenvironment variable/secret - ... and that's it! Handlebar is working to monitor and enforce rules on your agents
N.b.: Developer docs are coming soon.
Roadmap
Immediate updates:
- Other agent frameworks + python frameworks
- Agent escalations (e.g. human-in-the-loop)
Handlebar is in early development. We have a lot of functionality planned, but need your feedback on what you need to help you build better agents.
- Please feel free to open an issue if you have any feedback or suggestions
- or join our Discord to talk to us directly
Contributing
We welcome contributions from the community: bug reports, feedback, feature requests
Developing
Requirements
mise(mise-en-place)
Initial setup
mise ito install uv dependenciesuv sync --all-packagesto sync the local packages
Code Commands
mise.toml provides shortcuts for code maintenance tasks:
mise r formatto run ruff formattermise r lintto run ruff lintermise r typesto runtytype checker on the packages
License
These SDKs defined under packages/
are currently licensed under the Apache License 2.0.
You’re free to use and distribute it in accordance with that license.
Metadata
Release files for handlebar-python 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| handlebar_python-0.1.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| handlebar_python-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / handlebar_python-0.1.0.tar.gz
| Download URL | handlebar_python-0.1.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
021cb7b2c64e8f93ba356525e2bd639c6187471922bc86f27d1df2810a5d50e3
|
|
BLAKE2b-256 checksum How to use checksums |
8d36e046aae3f6401583bfbe9a6ddb7263aa268874e4b091cd0563e0bf20e1aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.28
|
Release files / handlebar_python-0.1.0-py3-none-any.whl
| Download URL | handlebar_python-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72f73b134410404b2216a065c8c31b6a12308cbdeed3e90292f8904592824c0b
|
|
BLAKE2b-256 checksum How to use checksums |
d28ae6837b034305fb50e59d37fe7306a2edde32bace9794df762356aa871f75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.28
|