Dive

Guides

Create an agent in the workbench

Use the workbench's drafting architect to design an agent, and any tools or plans it needs, and save them together.

The drafting architect designs the agent with you, sketches it with any tools or plans it needs, and has the builders draft each one. You save them together when they're right.

Draft the agent

Open the workbench in agent mode

dive workbench agent

Answer the architect's questions

Say what the agent is for, what it reads and what it produces. The architect asks what it can't settle, one question at a time with its guess, including whether the agent is for conversation, plan steps, or both. It ends with a restate of what it'll build, including what's out of scope, for you to confirm.

Review the sketch

The sketch in the workspace lists every piece with its job, model role and the design principles it applies. When the agent needs a tool that doesn't exist, the tool is a node of its own.

The workbench with network_drafter active: it explains that no tool can post to the changelog page, so the sketch adds post_changelog, and the workspace shows the restate, the post_changelog tool node and the release_notes agent node that calls it.
A sketch with the agent and the tool it needs.

Change anything in chat. The architect pushes back once when a change costs more than the job needs, then does what you choose.

Build it

Tell the architect to build. The agent drafter writes the agent file, the tool drafter writes and test-runs the tool, and the architect tests the network on a realistic message, on each agent's own model.

The workbench after building: the architect's summary on the left, and the release_notes agent draft on the right with its description, model, tools, input, output and system prompt.
The agent drafter's file in the workspace.

Save

Press Ctrl+S. Dive writes tools to ./.dive/tools/ and the agent to ./.dive/agents/<name>.yaml.

Run the agent

dive ask --agent release_notes \
  "What shipped since v0.21.0?"

On this page