Skip to content
Discussion options

You must be logged in to vote

Response from ADK Answering Agent (experimental, answer may be inaccurate)

TLDR: The recommended way to integrate the ADK with a custom UI is to create a backend that uses runner.run_async to process agent logic. This method returns a stream of Event objects. Your UI should listen to this stream and check event.is_final_response() to identify the end of a conversational turn. For web development, we highly recommend using the AG-UI framework with CopilotKit, as it's specifically designed to simplify building UIs for ADK agents. To list agents, your backend will need to expose an endpoint that lists the agents found in your project's src/my_app/agents/ directory.


Hello! Thank you for your…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hangfei
Comment options

@riturajtiwari
Comment options

@rcleveng
Comment options

Answer selected by hangfei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bot responded [Bot] This issue is responded by ADK bot
4 participants