dive plan
dive plan draft
Draft a plan from a goal using the planner model (costs inference)
Runs the built-in compose_plan plan over your tool catalog: it finds the tools the goal needs, writes the whole plan in one call, and fixes steps that fail validation. When it had to guess a value that decides what the plan returns, it asks you in the terminal first.
Problems it couldn't fix are listed under problems. When no tool in the catalog can do part of the goal, nothing is written and the result lists what is missing.
Drafting replaces every step. To correct a plan whose steps you want to keep, use dive plan set and the dive plan step commands.
Arguments
What the plan should do, as a self-contained instruction
Options
Draft into this plan's identity (identifier, name, description, input schema). Every step is replaced — use the editing commands to correct a plan whose steps you want to keep
Format: NAME|PATH.
Write here instead of <plans dir>/<identifier>.yaml
Format: PATH.
Print the drafted YAML to stdout instead of writing a file
Print a JSON envelope instead of text
Global options
Increase log verbosity (-v info, -vv debug, -vvv trace)
Act as this [identities] entry: runs get a run token minted for its tenant and user, which http tools send to the app
Format: IDENTITY.
dive plan draft [OPTIONS] <GOAL>