Kaizen

Director

AI-powered todo orchestrator that fetches, evaluates, and acts on todos in a single block

The Director block is an AI-powered todo orchestrator inspired by Left 4 Dead's AI Director. It runs a FETCH → EVALUATE → ACT → OBSERVE pipeline: it fetches todos (via smart presets or from another block), uses an LLM to decide what actions to take, executes those actions (schedule, complete, update priority, add to bucket, update notes), and returns a structured summary. Unlike the Agent block, the Director is opinionated and domain-specific for todo management, with built-in pacing controls.

Block Type

director

Input Fields

FieldTypeRequiredDescription
goalstringYesWhat the Director should accomplish (e.g. "Schedule my quick wins for today").
modelstringNoLLM model for the EVALUATE stage. Default: claude-sonnet-4-5.
todoInputModestringNoHow to source todos: preset (smart filters), reference (from another block), or manual (enter IDs). Default: preset.
todoIdsReferencestringWhen referenceBlock reference for todo IDs, e.g. <kaizen_todos_1.todoIds>.
todoIdsstring / arrayWhen manualComma-separated or JSON array of todo IDs.
todoSourcestringWhen presetSmart preset: quick_wins, overdue, at_risk, upcoming_deadlines, recently_added, custom. Default: quick_wins.
customFiltersobject (JSON)When preset + customCustom filter params when todoSource is custom.
maxTodosPerWavenumberNoMax todos to process per run (1–50). Default: 10.
allowedActionsarrayNoActions the Director may take: schedule, complete, update_priority, add_to_bucket, update_notes. Default includes schedule, complete, update_priority.
intensitystringNoPacing: relaxed (conservative), balanced, aggressive. Default: balanced.
dryRunbooleanNoIf true, only EVALUATE — no actions executed. Use to preview the plan. Default: false.
bucketIdstringNoTarget bucket ID when add_to_bucket is in allowed actions.
apiKeystringNoOptional API key for the LLM provider.

Outputs

OutputTypeDescription
todoIdsarrayIDs of all todos successfully acted upon. Use with other blocks: <director_1.todoIds>.
actionsTakenobjectMap of action type to array of todo IDs, e.g. { scheduled: [...], completed: [...] }.
summarystringHuman-readable summary of what the Director did.
planobjectThe LLM's full action plan: actions, reasoning, skippedTodos. Null if not available.
todosProcessednumberCount of todos successfully acted on.
intensitystringThe pacing mode used for this run.

Common Use Cases

Schedule quick wins for today

Set Goal to something like "Schedule my quick wins for today", use Todo Source "Quick Wins", and leave Allowed Actions to include Schedule. The Director fetches quick-win todos, plans when to schedule them, and executes.

Dry run to preview actions

Enable Dry Run so the Director only runs the EVALUATE step and returns the plan without executing. Use this to verify behavior before turning execution on.

Chain from a Kaizen Todos block

Set Todo Input Mode to "Reference from Block" and Todo IDs Reference to <kaizen_todos_1.todoIds>. The Director will operate only on the todos from that block.

Restrict allowed actions

Limit Allowed Actions to only what you need (e.g. only complete and update_priority) so the Director cannot schedule or add to buckets.

Example

- type: director
  name: Schedule Quick Wins
  inputs:
    goal: "Schedule my quick wins for today"
    todoSource: quick_wins
    maxTodosPerWave: 5
    allowedActions: ["schedule", "complete"]
    intensity: balanced
    dryRun: false

Referencing Outputs

Use the Director's todoIds output in downstream blocks:

todoIds: "<director_1.todoIds>"

Start with relaxed intensity and use dryRun first to preview what the Director will do. Restrict allowedActions to only what your use case needs.

On this page

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started