Skip to main content

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.

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

  1. Sign-up for a Handlebar account
  2. Install the appropriate Handlebar framework for your agents and configure it (refer to the ./packages here for more details)
  3. Create an API key for your org and configure your project with HANDLEBAR_API_KEY environment variable/secret
  4. ... 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.

Contributing

We welcome contributions from the community: bug reports, feedback, feature requests

Developing

Requirements

  • mise (mise-en-place)

Initial setup

  • mise i to install uv dependencies
  • uv sync --all-packages to sync the local packages

Code Commands

mise.toml provides shortcuts for code maintenance tasks:

  • mise r format to run ruff formatter
  • mise r lint to run ruff linter
  • mise r types to run ty type 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)

Source distribution for handlebar-python 0.1.0
File Size Uploaded
handlebar_python-0.1.0.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for handlebar-python 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page