Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

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.dev1214.tar.gz (17.4 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.dev1214-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sondera_harness_adk-0.1.0.dev1214.tar.gz
Algorithm Hash digest
SHA256 1c5ec18ca90c87fff310e96cc40dcb85d65b906640a31d1a9fcfaa5a022d738a
MD5 419520e4394a602672d743c4d6b9c1e7
BLAKE2b-256 5a6e2a22ad9c906830cae63c9744678a66de5dbeb1c3184323b6e7f90b4d2031

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sondera_harness_adk-0.1.0.dev1214-py3-none-any.whl
Algorithm Hash digest
SHA256 af8912e19380a2a19e904982697091ee9d319640916d88fd6cdee402dbb94321
MD5 7571737ed1e57a1da680ddd35cbcc3a9
BLAKE2b-256 3c3cbb89a2d4f5c8b3496dae98cc287a493df6aa44019a1035becf6b5c4ae29e

See more details on using hashes here.

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