workflow-tab.md · 4.5 KB

Workflow Tab: Agent Interaction Visualization

Overview

The Workflow Tab provides real-time visualization of agent interactions, task delegation networks, and workflow execution patterns within the mindX autonomous intelligence platform.

Status: βœ… DEPLOYED & OPERATIONAL Features: Interactive flow diagrams, task networks, performance analytics Visualization: SVG-based network graphs with real-time animation


🎯 Dashboard Sections

1. Workflow Overview

Location: Top section Metrics:

2. Agent Interaction Network

Location: Center visualization Features:

3. Task Delegation Matrix

Location: Left panel Components:

4. Workflow Analytics

Location: Right panel Metrics:

πŸ”„ Interaction Visualization

Node Types

Orchestration Agents (Large Nodes)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  🧠 Mastermind  β”‚
β”‚    (Primary)    β”‚
β”‚  Tasks: 47/52   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Specialized Agents (Medium Nodes)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ πŸ’» SimpleCoderβ”‚
β”‚   (Worker)    β”‚
β”‚  Queue: 3     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Tool Agents (Small Nodes)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ πŸ”§ ToolName β”‚
β”‚  Active: βœ“  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Connection Types

- 🟒 Green: Successful completion - 🟑 Yellow: In progress - πŸ”΄ Red: Error/blocked - πŸ”΅ Blue: Queued/waiting


πŸ“Š Workflow Metrics

Real-Time Statistics

Task Distribution

Orchestration β†’ Specialized: 45%
Orchestration β†’ Tools: 30%
Specialized β†’ Tools: 20%
Peer-to-Peer: 5%

Performance Breakdown

Average Task Duration: 2.3s
P50 Latency: 1.8s
P95 Latency: 4.2s
P99 Latency: 8.1s

Agent Utilization

Mastermind: 78% capacity
Coordinator: 65% capacity
SimpleCoder: 89% capacity
Guardian: 42% capacity

πŸ”§ Technical Implementation

Frontend Architecture

class WorkflowTab extends TabComponent {
    constructor(config) {
        super({
            id: 'workflow',
            label: 'Workflow',
            refreshInterval: 5000,
            autoRefresh: true
        });
    }

renderWorkflowDiagram(data) { // Create SVG network visualization const svg = d3.select('#workflow-graph') .append('svg') .attr('width', this.width) .attr('height', this.height);

// Render nodes and connections this.renderNodes(svg, data.agents); this.renderConnections(svg, data.workflows); } }

Backend Endpoints

GET /workflows/active
Response: {
    "workflows": [
        {
            "workflow_id": "wf_001",
            "source_agent": "mastermind",
            "target_agent": "simplecoder",
            "task_type": "code_generation",
            "status": "in_progress",
            "started_at": "2026-01-23T14:30:00Z"
        }
    ]
}

GET /workflows/stats Response: { "active_count": 12, "completed_today": 847, "error_rate": 0.02, "avg_duration": 2.3 }


πŸ“š Related Documentation


The Workflow Tab provides essential visibility into the dynamic interactions between agents, enabling optimization of task delegation and workflow performance.


Referenced in this document
ORCHESTRATIONagents-tabplatform-tab

All DocumentsDocument IndexThe Book of mindXImprovement JournalAPI Reference