Google's Agent Development Kit (ADK) treats agent context as a compiled view over stored sessions, memory and artifacts, using ordered processors, compaction, caching and scoped handoffs.
Who it is for
Architects and developers building long-running multi-agent systems on Google ADK who need to control token cost and latency.
Key points
Context compaction uses an LLM to summarize older session events into a new event, so raw events can be pruned.
Artifacts are referenced by name and summary and loaded only when needed via LoadArtifactsTool.
In none mode a sub-agent receives no prior history; default mode passes the full caller context.
AI:Both treat agent context management as a core production problem, Google through ADK's compiled context views and AWS through the four-layer Deep Insight approach.
AI:Both control what enters an agent's context per turn, with Google's ADK framework compiling context from sessions and memory instead of Foundry's managed services.
AI:Explains why request-response agents struggle with interruptions and audio/video, and how ADK's streaming-native design (LiveRequestQueue, run_live, streaming tools, stateful sessions) addresses it.
AI:Shows how Amazon Nova Sonic voice conversations can route banking requests to specialized sub-agents hosted on AgentCore Runtime via tool use events.
AI:A coding-agent skill in the Agent Toolkit for AWS evaluates, sizes and sets up a shared distributed KV cache on ElastiCache for self-hosted LLM inference.