Back to Browse

Google ADK for Java: Agent Session and State | Episode 5 | Step-by-Step Tutorial

380 views
Sep 1, 2025
11:29

In today’s video, we’ll experiment session and state in Google ADK. So we can imagine that session is kinda a new chat in ChatGPT, every time we create a new chat, technically, we create a new user session. With a new session, everything is refreshed, our conversation in the old session will not be available. Github: https://github.com/nlinhvu/google-adk-java-demo-2025/tree/main/05.Session-State ADK for Java Experiments: https://www.youtube.com/playlist?list=PLLMxXO6kMiNhP87WYQ8CeC3xpV3EnF9cu References: ADK Session: https://google.github.io/adk-docs/sessions/session/ ADK State: https://google.github.io/adk-docs/sessions/state/ Agent-as-a-Tool: https://google.github.io/adk-docs/tools/function-tools/#agent-tool Anatomy of a Session: https://cloud.google.com/blog/topics/developers-practitioners/remember-this-agent-state-and-memory-with-adk (00:00): Introduction (01:17): Agent as a Tool (03:37): ToolContext (05:09): Use State in the Agent's Instruction (06:54): Test with ADK Web Server #adk #java #agent

Download

1 formats

Video Formats

360pmp413.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Google ADK for Java: Agent Session and State | Episode 5 | Step-by-Step Tutorial | NatokHD