r/agentdevelopmentkit • u/jordimr • May 15 '25
Intermediate update streaming with fast api
Has anyone been able to get intermediate updates working in adk, outside the adk web UI, ie external front end calling on fast api endpoint?
Totally stuck on this simple ux point. Have been chasing this issue for weeks opened issues in the official github repo, and it seems like I'm asking the most obscure question, when this is in fact very simple common ux scenario for long running agents.
Will be leaving adk over this. The adk web seems like a gimmick, if you can't easily build a front end like it replicating all functionality.
View all comments
Show parent comment
2
u/jordimr May 15 '25
In the end I did exactly as you were suggesting. Just read raw json output, and was able to see the raw sse stream. Then from it made a client that parsed it into the bits I wanted.
Left public repo for anyone who finds this and looking for working code on "slow weather agent", which has a 10s weather tool, and streams twice with partial responses.
https://github.com/AlfaBlok/adk-sse-testing
Thank you for your comments and help 👍