🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Boris Workflow for OpenClaw

by @mukston-debug

Run multiple independent tasks in parallel across AI agents with automatic load balancing, retries, progress tracking, optional verification, and organized a...

TERMINAL
clawhub install boris-run

πŸ“– About This Skill

Boris Workflow for OpenClaw

> Parallel agent task runner implementing the Boris Cherny multi-agent pattern

![OpenClaw](https://openclaw.dev) ![License](LICENSE)

Overview

Boris Workflow is a powerful parallel execution engine for OpenClaw that enables you to run multiple independent tasks across multiple AI agents simultaneously. Inspired by Boris Cherny's approach to multi-agent orchestration, it provides automatic progress tracking, configurable error retry, and organized artifact management.

What It Does

The Boris Workflow implements a 3-phase parallel execution pattern:

1. Phase 1: Distribution β€” Tasks are queued and distributed to available agents 2. Phase 2: Execution β€” Agents pull work from the queue (work-stealing pattern) 3. Phase 3: Verification β€” Optional verification agent reviews all results

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      ORCHESTRATOR                           β”‚
β”‚                    (boris-run CLI)                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β–Ό                   β–Ό                   β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  AGENT 1     β”‚    β”‚  AGENT 2     β”‚    β”‚  AGENT N     β”‚
β”‚ (Task A)     β”‚    β”‚ (Task B)     β”‚    β”‚ (Task C)     β”‚
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚                   β”‚                   β”‚
       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β–Ό
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚  RESULT COLLECTOR  β”‚
              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key Features

πŸš€ Parallel Execution

  • Spawn 1-20 agents working simultaneously
  • Work-stealing pattern ensures no idle agents
  • Automatic load balancing across varying task durations
  • πŸ”„ Intelligent Retry

  • Configurable retry strategies: none, linear, exponential
  • Per-task timeout handling
  • Automatic failure recovery
  • πŸ“Š Progress Tracking

  • Real-time progress updates
  • Compact progress bar or verbose logging modes
  • Per-task status monitoring
  • βœ… Verification Layer

  • Optional verification agent reviews all results
  • Quality assessment and error detection
  • Verification reports in structured JSON
  • 🎨 Web UI (Optional)

  • Modern dark-themed interface
  • Real-time status via Server-Sent Events
  • Drag-and-drop task management
  • Configuration export as YAML
  • πŸ“ Organized Artifacts

  • Automatic directory structure per workflow
  • Timestamped artifact naming
  • Cleanup policies (keep_all, keep_last_N, age_based)
  • Quick Start

    # Install dependencies
    cd ~/.openclaw/workspace/skills/boris-workflow
    pip install -r requirements.txt

    Run 3 tasks with 3 agents

    ./bin/boris-run --tasks "research|analyze|write"

    Run 10 tasks with 5 agents

    ./bin/boris-run --tasks "t1|t2|t3|t4|t5|t6|t7|t8|t9|t10" --agents 5

    With verification step

    ./bin/boris-run --tasks "code|test|review" --verify

    Dry run to preview

    ./bin/boris-run --tasks "build|deploy" --dry-run

    Web Interface

    Boris Workflow includes a modern web UI for visual workflow management:

    # Start the Web UI
    cd ~/.openclaw/workspace/skills/boris-workflow/webui
    ./start.sh
    

    Open http://localhost:8080 in your browser.

    Web UI Features

  • Dynamic Task Management β€” Add, remove, and reorder workflow tasks with an intuitive interface
  • Agent Configuration β€” Adjust agent count (1-20) and select AI models from a dropdown
  • Real-time Status β€” Live progress updates via Server-Sent Events (SSE)
  • Results Viewer β€” View and download workflow results in JSON format
  • Configuration Management β€” Save settings and export as YAML
  • Modern Dark UI β€” Clean interface built with Tailwind CSS
  • Mobile Responsive β€” Works seamlessly on all screen sizes
  • Web UI Screenshots

    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚  πŸš€ Boris Workflow                              [Settings]  β”‚
    β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
    β”‚                                                             β”‚
    β”‚  Workflow Name: batch-analysis                              β”‚
    β”‚                                                             β”‚
    β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
    β”‚  β”‚ Tasks                    β”‚  Agents: [ 3 β–Ό]          β”‚   β”‚
    β”‚  β”‚ ──────────────────────── β”‚  Model: [kimi-coding β–Ό]  β”‚   β”‚
    β”‚  β”‚ β–‘ Research market trends β”‚  Timeout: [300s β–Ό]       β”‚   β”‚
    β”‚  β”‚ β–‘ Analyze competitors    β”‚  Retries: [2 β–Ό]          β”‚   β”‚
    β”‚  β”‚ β–‘ Write summary report   β”‚                          β”‚   β”‚
    β”‚  β”‚ β–‘ + Add Task             β”‚  [βœ“] Enable Verification β”‚   β”‚
    β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
    β”‚                                                             β”‚
    β”‚  [Start Workflow]          [Dry Run]          [Export YAML] β”‚
    β”‚                                                             β”‚
    β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
    β”‚  β”‚ Progress                                            β”‚   β”‚
    β”‚  β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 8/10 tasks complete (80%)       β”‚   β”‚
    β”‚  β”‚                                                     β”‚   β”‚
    β”‚  β”‚ task_0_research     βœ… Complete    2m 14s          β”‚   β”‚
    β”‚  β”‚ task_1_analyze      βœ… Complete    1m 52s          β”‚   β”‚
    β”‚  β”‚ task_2_write        πŸ”„ Running     0m 45s          β”‚   β”‚
    β”‚  β”‚ task_3_verify       ⏳ Pending     --              β”‚   β”‚
    β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
    β”‚                                                             β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
    

    Requirements

    System Requirements

  • OpenClaw: Installed and configured
  • Python: 3.9 or higher
  • OS: Linux, macOS, or WSL on Windows
  • Memory: 4GB RAM minimum (8GB recommended for multiple agents)
  • Disk: 100MB for installation, variable for artifacts
  • Python Dependencies

    pyyaml>=6.0
    requests>=2.28.0
    

    Optional Dependencies (for Web UI)

    fastapi>=0.100.0
    uvicorn[standard]>=0.23.0
    pydantic>=2.0.0
    python-multipart>=0.0.6
    

    Configuration

    Configuration Hierarchy

    Config values are resolved in priority order (highest to lowest): 1. CLI arguments 2. Environment variables (BORIS_*) 3. Project config (./.boris/config.yaml) 4. User config (~/.boris/config.yaml) 5. System defaults

    Example Config File

    # ~/.boris/config.yaml

    Agent defaults

    agents: default_count: 3 max_count: 20 timeout_seconds: 300 model: "kimi-coding/k2p5"

    Retry configuration

    retry: max_attempts: 2 backoff_strategy: "exponential" initial_delay_ms: 1000 max_delay_ms: 30000

    Output and artifacts

    output: base_dir: "~/.boris/artifacts" naming_pattern: "{workflow_name}_{timestamp}_{task_id}" cleanup_policy: "keep_last_10"

    Verification settings

    verification: enabled: false verifier_model: "kimi-coding/k2p5" auto_retry_failed: true

    Logging

    logging: level: "info" format: "text"

    CLI Reference

    Usage: boris-run [OPTIONS]

    Required: -t, --tasks TEXT Tasks to run, pipe-separated Optional: -a, --agents INTEGER Number of agents (default: 3, max: 20) -n, --name TEXT Workflow name -c, --config PATH Config file path -o, --output PATH Artifacts directory -r, --retries INTEGER Max retries per task -T, --timeout INTEGER Timeout per agent (seconds) --verify Enable verification step --dry-run Preview without execution --mock Use mock bridge for testing -v, --verbose Verbose logging -q, --quiet Suppress progress output --version Show version -h, --help Show help

    Use Cases

  • Batch Content Processing β€” Generate 10 blog posts simultaneously
  • Multi-Source Research β€” Research 5 topics in parallel
  • Code Review at Scale β€” Review 20 files with 5 agents
  • Data Analysis Pipeline β€” Process multiple datasets concurrently
  • Test Suite Execution β€” Run independent test files in parallel
  • License

    MIT License - OpenClaw Community

    Author

    Created by Goli / mukston for the OpenClaw ecosystem.

    ⚑ When to Use

    TriggerAction
    - **Multi-Source Research** β€” Research 5 topics in parallel
    - **Code Review at Scale** β€” Review 20 files with 5 agents
    - **Data Analysis Pipeline** β€” Process multiple datasets concurrently
    - **Test Suite Execution** β€” Run independent test files in parallel

    πŸ’‘ Examples

    # Install dependencies
    cd ~/.openclaw/workspace/skills/boris-workflow
    pip install -r requirements.txt

    Run 3 tasks with 3 agents

    ./bin/boris-run --tasks "research|analyze|write"

    Run 10 tasks with 5 agents

    ./bin/boris-run --tasks "t1|t2|t3|t4|t5|t6|t7|t8|t9|t10" --agents 5

    With verification step

    ./bin/boris-run --tasks "code|test|review" --verify

    Dry run to preview

    ./bin/boris-run --tasks "build|deploy" --dry-run

    βš™οΈ Configuration

    Configuration Hierarchy

    Config values are resolved in priority order (highest to lowest): 1. CLI arguments 2. Environment variables (BORIS_*) 3. Project config (./.boris/config.yaml) 4. User config (~/.boris/config.yaml) 5. System defaults

    Example Config File

    # ~/.boris/config.yaml

    Agent defaults

    agents: default_count: 3 max_count: 20 timeout_seconds: 300 model: "kimi-coding/k2p5"

    Retry configuration

    retry: max_attempts: 2 backoff_strategy: "exponential" initial_delay_ms: 1000 max_delay_ms: 30000

    Output and artifacts

    output: base_dir: "~/.boris/artifacts" naming_pattern: "{workflow_name}_{timestamp}_{task_id}" cleanup_policy: "keep_last_10"

    Verification settings

    verification: enabled: false verifier_model: "kimi-coding/k2p5" auto_retry_failed: true

    Logging

    logging: level: "info" format: "text"