Support Agent With Google ADK
Build a redacted, authorized support review with retained replies and evidence, then run the same policy through real Google ADK agents.
An HTML review page and support.json with the redacted ticket, selected capability, source guidance, reply or escalation and state history.
- An HTML review page and support.json with the redacted ticket, selected capability, source guidance, reply or escalation and state history.
- Python dictionaries, exceptions and module imports.
- An async function and an iterator of model events.
- The distinction between classifying a request and authorizing a capability.
- Python Stdlib data structures, explicit algorithms and deterministic local tests.
Support Agent With Google ADK in 4 stages
Build a redacted, authorized support review with retained replies and evidence, then run the same policy through real Google ADK agents.
Validate before starting a session
For invoice for sam@example.invalid api_key=EXAMPLE_TOKEN, the usable ticket text becomes invoice for [email] api_key=[redacted]. An empty string fails before routing. The same cleaned text must reach both the baseline and ADK path.
starter · ~2 hours · Python
input validationredactionsource handlingRoute and authorize as separate decisions
invoice refund selects billing and can use read_invoice. invoice login ties billing and access, so it escalates. A billing route requesting read_account is rejected even though that tool is valid for another specialist.
core · ~2 hours · Python
routing scorestiescapability allowlistsRetain the actual response in the handoff
begin followed by classify on invoice then respond with Check the invoice reference produces answered and retains response="Check the invoice reference". The history records classify and respond. Classifying invoice login followed by respond fails; escalate is the valid transition.
core · ~2 hours · Python
state transitionsimmutable historyresponse retentionReuse the policy inside the real ADK path
A login ticket chooses read_account and access-recovery guidance. The fixture specialist replies using that guidance, and the final handoff stores the reply. A request for read_invoice under the access route raises PermissionError before a graph is run. Optional tests inspect model requests to ensure raw email and example keys did not cross the boundary.
stretch · ~2 hours · Python
ADK Workflowshared policy boundaryprovider injection