mirror of
https://github.com/google/adk-docs.git
synced 2026-09-14 16:16:59 +08:00
f3f466fe29
* Add ambient agents documentation Document how to build event-driven ambient agents using ADK trigger endpoints and the /run endpoint. Covers Pub/Sub, Eventarc (Standard and Advanced), Cloud Scheduler, concurrency control, retry logic, session lifecycle, and deployment to Cloud Run. * Address reviewer feedback: clarify event processing flow - Move "How events are processed" higher, right after trigger endpoints intro, so the mental model comes before setup instructions - Reword step 5: explicitly describe status code behavior (200 = ack, 500 = retry) instead of vague "determines whether to retry" - Clarify that trigger endpoints auto-create sessions without needing the --auto_create_session flag - Restructure heading hierarchy under "Using trigger endpoints" * Address reviewer feedback from koverholt - Use named sections (--8<-- [start/end]) in code snippets to hide license headers in doc embeds - Change model to gemini-flash-latest alias - Restructure: show example agent first, then enable instructions, then "Try it locally" with step-by-step commands and curl test - Fix port consistency (curl uses 8000 matching adk api_server default) - Add curl example for /run endpoint --------- Co-authored-by: Kristopher Overholt <koverholt@google.com>