Skip to main content

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

handlebar_python-0.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

handlebar_python-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

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

Hashes for handlebar_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 021cb7b2c64e8f93ba356525e2bd639c6187471922bc86f27d1df2810a5d50e3
MD5 a5eb58ef642f25b7d71673bb2777b6c7
BLAKE2b-256 8d36e046aae3f6401583bfbe9a6ddb7263aa268874e4b091cd0563e0bf20e1aa

See more details on using hashes here.

File details

Details for the file handlebar_python-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for handlebar_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72f73b134410404b2216a065c8c31b6a12308cbdeed3e90292f8904592824c0b
MD5 63137d4bb47cca3f31d3debfaaa9d601
BLAKE2b-256 d28ae6837b034305fb50e59d37fe7306a2edde32bace9794df762356aa871f75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page