Feature Request: Step-by-step Streaming Output for Agent Nodes
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Description It would be very helpful if agent nodes could support step-by-step streaming output, where each reasoning step and tool invocation is returned incrementally, rather than waiting until the full thought process is complete.
Use Case In long-running tasks or agent-based workflows, being able to observe each intermediate reasoning step (e.g., tool selection, invocation, partial results) in real-time would:
Improve transparency and debugging
Enable better UX for frontend applications (streamed UI updates)
Help users understand how the agent reaches its conclusion
Expected Behavior When an agent node handles a prompt, the response should be streamed step-by-step, such as:
Thought: "I need to search for weather information."
Action: Call tool web_search with input: "weather in London"
Observation: "It is currently raining in London."
Final Answer: "It’s raining in London today."
Each of the above steps should be streamable to the client in real time.
Additional Context This behavior is common in ReAct-style agent frameworks and aligns with what many developers expect from advanced tool-using agents (e.g., LangChain, AutoGPT, etc.). Streaming tool usage feedback would significantly improve the development and debugging experience.
2. Additional context or comments
No response
3. Can you help us with this feature?
- [x] I am interested in contributing to this feature.
Really need!
Really need!
Really need!
Really need! 非常需要!
Really need! 非常需要!求支持!!
really need🥹🥹🥹
The problem still exists in the latest 1.8.0. The Agent node of the workflow still does not return the tool execution steps on the chat page.
Hi, @jhrcc. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.
Issue Summary:
- You requested a feature for agent nodes to support step-by-step streaming output to show reasoning steps and tool invocations in real time.
- Multiple users have shown strong support for this enhancement.
- As of version 1.8.0, the agent node still does not return tool execution steps on the chat page.
- You expressed interest in contributing to the development of this feature.
- The issue remains unresolved with no recent updates.
Next Steps:
- Please let me know if this feature request is still relevant to the latest version of Dify by commenting on this issue.
- If I do not hear back within 15 days, I will automatically close this issue.
Thank you for your understanding and contribution!