Plugin Name
stream-strategy
Function Description
This plugin provides an advanced agent strategy for Dify with the following key capabilities:
- Real-time Streaming – Delivers LLM responses as a continuous stream, providing immediate feedback to users rather than waiting for
complete generation
- Content Blocks Format – Uses a structured JSON response format inspired by Anthropic Claude API, supporting thinking, tool_use, and text
blocks
- Persistent Scratchpad – Maintains conversation context across iterations using Dify's storage API, enabling multi-turn agent workflows
- Robust JSON Parsing – Handles streaming JSON with json_repair for reliable partial content parsing
Official Website URL
https://github.com/Pandaaaa906/dify-plugin-agent-stream-strategy