Google ADK for Java 1.0 Introduces New App and Plugin Architecture, External Tools Support, and More
Summary
Google's Agent Development Kit (ADK) for Java has reached version 1.0, introducing significant enhancements for building AI agents. This release integrates new external tools like GoogleMapsTool, UrlContextTool for web content, and ContainerCodeExecutor/VertexAICodeExecutor for code execution. A new App and Plugin architecture provides the `App` class for agentic applications and `Plugins` for extensions, including `LoggingPlugin` and `ContextFilterPlugin`. The update also features event compaction to manage context window size, human-in-the-loop workflows for critical action approvals, and native support for the Agent2Agent (A2A) protocol, enabling cross-language agent collaboration. The ADK for Java is available for download on GitHub.
Key takeaway
For Machine Learning Engineers building robust AI agents, ADK for Java 1.0 offers critical features like human-in-the-loop workflows and event compaction. You should evaluate its type safety advantages for orchestration bug detection, especially for large-scale deployments, despite historical concerns about Google's Java library maintenance. Consider integrating the A2A protocol to enable broader agent collaboration.
Key insights
ADK for Java 1.0 enhances AI agent development with new tools, architecture, and collaboration features.
Principles
- Context management is crucial for long-running agent sessions.
- Human oversight improves reliability of critical agent actions.
- Interoperability enables broader agent ecosystem integration.
Method
The ADK for Java 1.0 uses an `App` class as a top-level container, `Plugins` for extensions, and `requestConfirmation()` for human-in-the-loop pauses, ensuring LLM context is cleaned and re-injected.
In practice
- Use `ContextFilterPlugin` to manage agent context window.
- Implement `requestConfirmation()` for critical agent actions.
- Expose ADK agents via A2A AgentExecutor for ecosystem access.
Topics
- Google ADK for Java
- AI Agent Development
- External Tool Integration
- Plugin Architecture
- Context Engineering
Code references
Best for: Machine Learning Engineer, CTO, VP of Engineering/Data, AI Engineer, Software Engineer, AI Architect
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by InfoQ.