Skip to content

AG-UI event streaming support? #5099

Description

@fengye87

Hi, I'm wondering how would I enable Restate's durable agent with AG-UI support? I'm using Pydantic-ai, so the AG-UI part is documented here. My first thought would be to let my run handler return the StreamingResponse, is it the proper way to go? Or should I use pubsub to emit event as agent loop goes, and implement the AG-UI part from the pubsub? But I'd prefer to rely on pydantic-ai's AG-UI impl if I could. Could you clarify it for me, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions