Skip to content

[Plugin Request]: Streaming Agent Strategy with MCP tools support #2159

@Pandaaaa906

Description

@Pandaaaa906

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

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