xuanyuanzhifeng/dsh-plugin-agent-workflow

DeepSeek Harness Agent Workflow

What it solves

This plugin addresses the difficulty of debugging complex AI agent interactions by providing a clear, visual breakdown of how an agent processes requests. It transforms raw, behind-the-scenes data into a structured "Workflow" view, making it easier to see exactly when and how an agent calls tools, processes responses, and consumes tokens.

How it works

The plugin adds a "Workflow" tab to the DeepSeek Harness (DSH) interface. It reads existing session data—such as system prompts, tool definitions, and model responses—and organizes them into a chronological execution chain. It uses virtualized rendering to handle large amounts of data smoothly and provides interactive, collapsible JSON trees for inspecting the specific messages and parameters sent to the model.

Who it’s for

This tool is designed for developers and researchers working with DeepSeek Harness who need to debug agent behavior, analyze token usage, or audit the specific tool-calling logic occurring during a conversation.

Highlights

  • Visual Execution Chains: Displays model requests, responses, and tool calls in a clear, time-ordered sequence.
  • Deep Inspection: Allows you to expand and inspect the full messages[] array, system prompts, and tool definitions via interactive JSON trees.
  • Performance Analytics: Tracks token usage (including cache hits/misses) and execution time for every step.
  • Non-Intrusive: Operates as a read-only viewer that does not modify your existing agent prompts or internal logic.
  • Scalable UI: Uses virtualized lists to ensure the interface remains responsive even during long, complex agent sessions.

Related

  • Project
  • Project
  • Project
  • Project