Core governance layer for handlebar (https://gethandlebar.com)
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file handlebar_python-0.1.0.tar.gz.
File metadata
- Download URL: handlebar_python-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.28
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
021cb7b2c64e8f93ba356525e2bd639c6187471922bc86f27d1df2810a5d50e3
|
|
| MD5 |
a5eb58ef642f25b7d71673bb2777b6c7
|
|
| BLAKE2b-256 |
8d36e046aae3f6401583bfbe9a6ddb7263aa268874e4b091cd0563e0bf20e1aa
|
File details
Details for the file handlebar_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: handlebar_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.28
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72f73b134410404b2216a065c8c31b6a12308cbdeed3e90292f8904592824c0b
|
|
| MD5 |
63137d4bb47cca3f31d3debfaaa9d601
|
|
| BLAKE2b-256 |
d28ae6837b034305fb50e59d37fe7306a2edde32bace9794df762356aa871f75
|