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.dev1207.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.dev1207-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for sondera_harness_adk-0.1.0.dev1207.tar.gz
Algorithm Hash digest
SHA256 f9ce3f8ab51c896a4ef62518da346e9ed0bb298f810a62d71d2fe93fb6793306
MD5 d4eb40a1d10f2dfea608b8018bdceb5a
BLAKE2b-256 4ebe579c5078cf3f9d2ab5e8b1882e0d78ab4cc9a56730b33ef989bc9a2b1794

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sondera_harness_adk-0.1.0.dev1207-py3-none-any.whl
Algorithm Hash digest
SHA256 9716850872abb467976ac7d43b8da91c0bae3889e7e95c9a83c8d1d3ac5fdbd3
MD5 889f43f9f55592f93720b468d7f449c0
BLAKE2b-256 801a21e0ed523bc072932b349072f7e1f91af670c32ddcfc9d62e5c355af8292

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