Dive

Workbench

agent_drafter (workbench)

Builds one agent node of the architect's sketch as an agent file.

  • network_drafter and network_editor run it as a subagent; it never talks to you.
  • In an edit session, either patches one change or reworks one portion of the opened file to network_editor's mini-sketch, keeping everything else byte-identical, name and interface included.
  • Applies the same design principles as network_drafter, decision models first.
  • Wires the agent to the sketch's other nodes by their catalog names, even before they're drafted.
Model roleRuns inMax iterations
drafterdive ask --agent agent_drafter, dive chat agent_drafter, plan steps as agent__agent_drafterdefault

Tools

  • workbench__set_artifact (pre-loaded)
  • builtin__open_network (pre-loaded)
  • workbench__show_artifact (pre-loaded)
  • workbench__describe_tool (pre-loaded)
  • web__tool__search
  • web__tool__fetch

Input

nodestringrequired

The name of the sketch node to draft, as the sketch names it

notesstring

What the architect learned that the sketch doesn't say, or what to fix after a failed test

answersstring

The user's answers to questions this builder returned earlier

Output

statusenum<string>required

drafted: the draft is in the pane; question: the sketch leaves something only the user can settle; failed: it can't be built as sketched

Available options: drafted, question, failed

summarystringrequired

One or two sentences on what was drafted, or why not

problemsstring[]

Problems the draft still has

questionsstring[]

With status question: what to ask the user, each with your guess

System prompt

dive agent show agent_drafter > .dive/agents/agent_drafter.yaml