Sondera Harness governance plugin for Google Agent Development Kit (ADK) 2.x agents.
Project description
sondera-harness-adk
Sondera Harness governance plugin for Google ADK 2.x agents. Wraps every ADK callback point (user message, model, tool, run lifecycle) with policy adjudication against the Sondera Platform.
The package's public surface is deliberately narrow: only
SonderaHarnessPlugin is exported from the top-level package.
Installation
uv add sondera-harness-adk
Quick Start
from google.adk import Agent
from google.adk.runners import Runner
from sondera_harness_adk import SonderaHarnessPlugin
from sondera_harness_adk.harness import SonderaRemoteHarness
# Endpoint/token resolve from SONDERA_HARNESS_ENDPOINT / SONDERA_API_TOKEN
# (or ~/.sondera/env) when not passed explicitly.
harness = SonderaRemoteHarness()
plugin = SonderaHarnessPlugin(harness=harness)
agent = Agent(name="my-agent", model="gemini-2.5-flash", ...)
runner = Runner(agent=agent, app_name="my-app", plugins=[plugin])
SonderaHarnessPlugin accepts any sondera_harness_adk.abc.Harness
implementation, so custom harnesses (e.g. a local policy engine) can be
substituted for SonderaRemoteHarness.
License
MIT — see 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 sondera_harness_adk-0.1.0.dev1126.tar.gz.
File metadata
- Download URL: sondera_harness_adk-0.1.0.dev1126.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0fac330c61bd3493800036c3a13a7b35a971bf9d3199840e8d984f89329edb9
|
|
| MD5 |
28f77316eaa9aa616aec850934aca8f2
|
|
| BLAKE2b-256 |
9b5b305471a0a7d48bcf6e0cce7dd17251330673352ac1c2180022208bc01ebe
|
File details
Details for the file sondera_harness_adk-0.1.0.dev1126-py3-none-any.whl.
File metadata
- Download URL: sondera_harness_adk-0.1.0.dev1126-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5960bdc36b1db1a4a1371f1f342fe8b0966fda8aa6964d6b69ca7acf61e529a8
|
|
| MD5 |
5297ccd9082313b43558f0a40d52e47a
|
|
| BLAKE2b-256 |
54ed3d44e51e1c3114a18edb375e55bb095b57f5b185c145d79c876936176ac2
|