Skip to content

Support streaming response(AsyncGenerator) in non-bidi-streaming agents #1099

Closed
1 of 1 issue completed
Closed

Description

@hangfei

Right now, only live(bidi-streaming) agents support returning AsyncGenerators(https://google.github.io/adk-docs/streaming/streaming-tools/).

A lot of users want AsyncGenerator support. Typically a long-running process that streams progress back to users/models. The existing LongRunningTool(https://google.github.io/adk-docs/tools/function-tools/#2-long-running-function-tool) only provide a way to return final response in a long period. It doesn't support stream intermediate progress/results back to models/users.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. self-assigned this
    on Jun 2, 2025
  2. added
    tools
    on Jun 2, 2025
  3. added theissue type on Jun 2, 2025
  4. added this to the Feature Roadmap milestone on Jun 2, 2025
  5. nileshtrivedi commented on Jun 10, 2025

    @nileshtrivedi

    Whenever this is taken up, it would be very useful to have a sample of long-running function calls that can be run with adk web. I submitted a request in the adk-samples repo here: google/adk-recipes#169

  6. self-assigned this
    on Oct 8, 2025
  7. klateefa commented on Oct 8, 2025

    @klateefa

    Hi @hangfei and thanks to everyone who participated in this thread.

    We're currently doing some housekeeping on our issue tracker. Given the rapid pace of development and the number of updates since this was last active, there's a good chance this issue has been resolved in a newer version. To help us keep our backlog focused on current issues, we are closing this as stale.

    If you're still facing this problem, could you please update to the very latest version of the library and confirm the issue still exists? If it does, please comment here, and we will be happy to reopen this issue and investigate further.

    Thanks for your contribution and understanding!

  8. hangfei commented on Nov 4, 2025

    @hangfei
    CollaboratorAuthor

    Let's re-open this as this is a feature request.

  9. reopened this on Nov 4, 2025
  10. hangfei commented on Nov 8, 2025

    @hangfei
    CollaboratorAuthor

    This is duplicate to : #2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

tools

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions