-
Notifications
You must be signed in to change notification settings - Fork 1
planning
github-actions[bot] edited this page Apr 8, 2026
·
1 revision
TaskPlanner breaks a goal into a dependency-ordered task graph.
This is an advanced orchestration primitive, not the primary public application entry point. Most application developers should start with Agent.run() or Session.run().
from loom.orchestration.planner import TaskPlanner
planner = TaskPlanner()
tasks = planner.create_plan("inspect repo -> run tests -> summarize")
# tasks[0].dependencies == []
# tasks[1].dependencies == [tasks[0].id]
ready = planner.get_ready_tasks() # returns tasks with all deps completed
planner.update_status(task.id, "completed")
planner.all_completed() # True when done- Tasks with no dependencies are immediately ready
- A task becomes ready when all its dependencies reach
completed - Missing dependency IDs are treated as already satisfied
Code: loom/orchestration/planner.py
Getting Started
Core Concepts
Runtime
Multi-Agent
Ecosystem
Self-Improvement
API Reference
Reference
Cookbook
- Overview
- Single-Turn Assistant
- Session Workflow
- Knowledge-Backed Answers
- Guardrailed Tool Agent
- Monitoring Agent
- Repo Copilot
- Internal Docs QA
- Ops Agent
- Approval Workflow