WeaveDocs
dBrowser

Agent Commands

Agent commands in the dBrowser Tauri shell — drive agent workflows from the desktop, scoped per space and bound to the local wallet.

Purpose

Tauri desktop browser with agent, browser, DNS, files, node, spaces, and wallet commands.

This page follows the real source shape for Dbrowser and explains the workflow a developer is likely to use first.

Command surface

Use this page to understand the operational commands exposed by the tool. Prefer command groups that match the subsystem you are testing, then inspect the API surface page for the exact Rust enum or command handler.

Primary types to know

  • AgentAction — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AgentMessage — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AgentResponse — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AgentStatus — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AppState — tools/dbrowser/src-tauri/src/state.rs
  • AuditLog — tools/dbrowser/src-tauri/src/commands/agent.rs
  • AuditRecord — tools/dbrowser/src-tauri/src/commands/agent.rs
  • ChainBalance — tools/dbrowser/src-tauri/src/commands/wallet.rs
  • DnsRecord — tools/dbrowser/src-tauri/src/commands/dns.rs
  • DomainLookup — tools/dbrowser/src-tauri/src/commands/dns.rs
  • DomainSearchResult — tools/dbrowser/src-tauri/src/commands/dns.rs
  • FileEntry — tools/dbrowser/src-tauri/src/commands/files.rs

Example shape

# dBrowser ships with an agent control plane (commands::agent / commands::inference).
# Each subcommand maps to a Tauri command the desktop UI also calls.

# List agents bound to the current dBrowser identity.
dbrowser agent ls

# Spawn a new agent against a foundry model and pin it to a workspace.
dbrowser agent spawn \
  --model anthropic:claude-3.7-sonnet \
  --workspace ~/agentfs/ops-bot \
  --tool browser \
  --tool search

# Send a one-shot prompt and stream the response.
dbrowser agent prompt ops-bot "Summarize the open tabs."

# Inspect tool calls and traces (commands::traces).
dbrowser traces tail --agent ops-bot --limit 20