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:
  • Active Workflows: Currently executing task chains
  • Completed Today: Successfully finished workflows
  • In Queue: Pending workflow executions
  • Error Rate: Workflow failure percentage
  • 2. Agent Interaction Network

    Location: Center visualization Features:
  • Node Graph: Visual representation of agent relationships
  • Connection Lines: Data flow between agents
  • Animation: Real-time activity pulses
  • Hierarchy Levels: Orchestration layers visualization
  • 3. Task Delegation Matrix

    Location: Left panel Components:
  • Source Agent: Task originator
  • Target Agent: Task executor
  • Task Type: Classification of delegation
  • Status: Current execution state
  • 4. Workflow Analytics

    Location: Right panel Metrics:
  • Average Duration: Mean workflow completion time
  • Success Rate: Percentage of successful completions
  • Bottlenecks: Identified workflow constraints
  • Optimization Suggestions: AI-generated improvements

  • πŸ”„ 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

  • Solid Lines: Direct task delegation
  • Dashed Lines: Information exchange
  • Animated Dots: Active data transfer
  • Color Coding:
  • - 🟒 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

  • Agents Tab: Agent management interface
  • Platform Tab: Enterprise dashboard
  • Orchestration: System orchestration details
  • Coordinator Agent: Central coordination

  • 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