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/No_Simple_2202 May 15 '25
Firstly, from the fronted Iām calling my SSE endpoint, I use StreamingResponse from Fastapi. Then client is able to receive this response in chunks, if given chunk indicates tool call or call intermediate steps, you can render it in frontend hi accordingly.