Skip to content

Runtime Guide

Terminal window
deepbuilder tui
# Or prepare a managed task from the CLI:
deepbuilder run circle-packing --workers 2 --gpu cpu --duration 1h

In the TUI, enter /long-research circle-packing or describe a new task, then enter run after preflight passes. Use /models to choose the chat model.

deepbuilder run TARGET accepts a task ID, a local task folder, or a quoted new-task description. Omit TARGET for an interactive task picker; non-interactive calls require TARGET or --manifest FILE. With a manifest, put all run settings in that file. See deepbuilder run --help for options such as --workers, --duration (minimum 10m), --cpu, --gpu (cpu, auto, or explicit GPU IDs), and --input-data-dir.

The current directory holds chat sessions and the task board by default. --workspace PATH selects another management workspace. To put a task on a different local disk:

Terminal window
deepbuilder run circle-packing --duration 1h --execution-root /data/experiments

In the TUI, add workspace=/data/experiments to /long-research. Each launch gets a unique task subdirectory; datasets are not copied. Relative paths use the management workspace, and resume keeps the task’s recorded directory. Execution is local; --execution-root cannot be combined with --manifest.

Surface Commands
TUI /tasks, /status N, /stop N, /resume N; /web opens the Web monitor.
CLI deepbuilder status, deepbuilder stop TARGET, deepbuilder resume TARGET, where TARGET is a run ID or task directory (omitted: the current directory).

Closing the TUI leaves managed research running. Chat shell commands have no default timeout and run with your user permissions, without an OS sandbox. Esc cancels the active chat; exiting the TUI also stops its foreground commands and their children.

The task directory contains report.md, report.html, report.json, and report_assets/; previous attempts are kept under task_logs/reports/attempt-NNN/.

Reports get a separate 5-minute budget, outside research time, and finish early when ready. Set report_budget_sec in a manifest to change it. If reporting fails after research has ended, resume retries the report without restarting exploration. Open the report in the Web monitor and use browser printing to save a PDF.

The commands above are the primary interface. Lower-level commands remain available for manifest-driven and scripted workflows; they are hidden from deepbuilder --help but documented by their own --help:

Command Purpose
deepbuilder parallel -m MANIFEST Run several manifest tasks with per-task CPU/GPU isolation.
deepbuilder repl Interactive single-task REPL.
deepbuilder prep Prepare a REPL workspace dataset view, optionally via the data-prep agent.
deepbuilder monitor Rich live dashboard for a manifest or a single log directory.
deepbuilder monitor-trace -m MANIFEST -o OUT.html Self-refreshing offline HTML trend view.
deepbuilder resource-summary ROOT Run-level summary from resource_events.jsonl files.
deepbuilder replay-prepare Copy a saved LNR run and truncate memory to replay one pending tool call.
deepbuilder agent run/repl/config/events Lightweight InquiryCraft agents using the same model registry.

See CLI & Configuration for manifests and configuration layering.