Skip to main content

clawdesk-planner

The planner crate handles intelligent task decomposition and scheduling for multi-agent workflows.

What It Does (Plain English)

When you give ClawDesk a complex task that involves multiple agents, the planner figures out the best order to run things. It breaks the big task into smaller pieces, figures out which pieces depend on others, and schedules them for maximum efficiency — like a project manager organizing a team.

Key Features

  • DTGG (Directed Task Generation Graph) — Breaks complex tasks into a graph of subtasks
  • HEFT scheduler — Schedules tasks across agents for minimum total time
  • Dependency resolution — Ensures tasks run in the correct order
  • Parallel execution — Runs independent tasks simultaneously
  • Task rewriting — Adjusts the plan based on intermediate results

How It Works

Architecture Role

LayerPosition
ServicesTask decomposition and scheduling

Dependencies

  • clawdesk-types — Task and graph type definitions
  • clawdesk-agents — Agent capability querying