LEVEL 3 · ENGINEER

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.

4 stages~8 hoursPythoncore
Validate before starting a sessionRoute and authorize as separate decisionsRetain the actual response in the handoffReuse the policy inside the real ADK path
YOU END UP WITH

An HTML review page and support.json with the redacted ticket, selected capability, source guidance, reply or escalation and state history.

USEFUL FOR
  • An HTML review page and support.json with the redacted ticket, selected capability, source guidance, reply or escalation and state history.
LEARN FIRST
  • 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.
WHY THESE LANGUAGES
  • Python Stdlib data structures, explicit algorithms and deterministic local tests.
PROJECT OUTLINE

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.

  1. 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 handling
  2. Route 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 allowlists
  3. Retain 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 retention
  4. Reuse 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

All projects · Course catalog · Source on GitHub