Harden Google ADK agents with Vijil
Install the SDK, wrap one function, evaluate in CI. Your Google ADK agent gets runtime guards and a trust score without changing how you build.
01 · INSTALL
$ pip install vijil-sdk # CLI + SDK $ pip install vijil-dome # in-agent guards
02 · GUARD — TWO LINES OF CODE
from vijil_dome import control
@control(policy="policy.yaml") # guards in + out
def handle(request: str) -> str:
return runner.run(request)Wrap the runner — ADK sessions, tools, and sub-agents inherit the policy. Emits OTEL traces alongside ADK’s own telemetry. Enforce or shadow mode; sync or async.
03 · EVALUATE
$ vijil evaluate my-agent --baseline $ vijil evaluate my-agent # gate your pipeline $ vijil protect my-agent --guards prompt_injection,pii
Diamond generates probes specific to your agent’s tools and data sources and returns a trust score with findings that drill down to evidence. Run it as a build step so every change is scored before it ships.
04 · ADAPT
$ vijil adapt my-agent # learn from production
Darwin watches Dome’s runtime telemetry, attributes failures to root causes, and proposes hardening changes as a pull request — re-verified by Diamond before merge. Nothing ships without your approval.
Full reference, policies, and examples in the Vijil docs.