Skip to main content

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


Download files

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

Source Distribution

sondera_harness_adk-0.1.0.dev1129.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

sondera_harness_adk-0.1.0.dev1129-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file sondera_harness_adk-0.1.0.dev1129.tar.gz.

File metadata

File hashes

Hashes for sondera_harness_adk-0.1.0.dev1129.tar.gz
Algorithm Hash digest
SHA256 0a2a95cd11a500c4b22937a9efc0309790d1d3cb8f9d11a8f3feedda07987934
MD5 02d3a6873ceb13c6a179ba9ca845e29c
BLAKE2b-256 dcd0ecb42d3c4e72143bae6f5292a750a9d6569018d5d9a41d5c662de65a2479

See more details on using hashes here.

File details

Details for the file sondera_harness_adk-0.1.0.dev1129-py3-none-any.whl.

File metadata

File hashes

Hashes for sondera_harness_adk-0.1.0.dev1129-py3-none-any.whl
Algorithm Hash digest
SHA256 0c97df42373dbd3d3f0b466a897136aaa54adf23f50e26a1e0b1fa907ca9e315
MD5 fd3980afcd3590652e0b60805a7469e3
BLAKE2b-256 873c2d106d315f1071450298c5c49759287c3ae4f9aab5a847e08f998bc62bab

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