Urgent.News

What's breaking now, across hundreds of outlets.

AI

Build intelligent Android apps: In-app agentic workflows

Posted by Jolanda Verhoef, Senior Developer Relations Engineer, Android Developer Relations Welcome back to the blog post series "Build intelligent Android apps" where you take a basic Android app and transform it into a personalized, intelligent, and agentic experience. In our previous post you learned how to connect to the intelligence system using AppFunctions. In this post, you will learn how…

Build intelligent Android apps: In-app agentic workflows

In-app agentic workflows enable the execution of complex multi-step tasks on Android devices without compromising user progress or app performance. By leveraging a custom self-hosted backend, these workflows can be managed autonomously in the cloud, ensuring seamless background execution and efficient multi-agent orchestration.

The Android Jetpacker app demonstrates this concept through a Booking Assistant that coordinates flights, hotels, museums, and restaurant reservations. The Agent Development Kit (ADK) powers this multi-agent system, with the Agent-User Interaction protocol (AG-UI) and Agent-to-User Interface protocol (A2UI) facilitating real-time communication between the backend agents and the Android client.

To define and run agents using ADK, developers can create custom tools to interact with databases and execute bookings via Python functions. The Android app sends trip itinerary data to the server, which then triggers subagents based on the itinerary. Each subagent provides its results to a shared session queue, which streams the outcomes back to the Android app.

By using ADK, developers can focus on writing clean procedural logic while the framework handles conversation context, message routing, and tool execution. The ADK web interface allows developers to interact with the multi-agent booking system directly. The AG-UI protocol standardizes communication between agents and UI clients, enabling the transmission of lifecycle events, text messages, tool calls, and state management.

On the Android side, the Kotlin SDK processes these messages, automatically mapping them to type-safe client events for a seamless user experience.

Rewritten by urgent.news; may contain errors — check the original.

Source: android-developers.googleblog.com

Read the original at android-developers.googleblog.com →

Report a problem with this story

More in AI

Implementing synthetic monitoring using Amazon Nova Act

Learn an agent-driven approach to synthetic monitoring using Amazon Nova Act and Amazon Bedrock AgentCore. The post covers the architecture and patterns for resilient, managed user-journey validation…

  • Synthetic monitoring uses automated transactions to mimic real user journeys
  • Amazon Nova Act and Amazon Bedrock AgentCore enable UI change resilience
  • Architecture combines AWS services for scheduling, execution, and alerting

More from Monday 28 September →