Skip to main content
DZap AI separates planning from execution so the model can reason freely without directly controlling chain writes.

Core rule

The model can suggest actions; runtime controls whether those actions execute.

Execution classes

ClassExamplesConfirmation
Readprices, balances, pools, docs retrievalnone
Plan/Buildroute generation, calldata buildnone (but reviewed in response)
Interactive executePerformZapTool, ChangeChainToolexplicit user confirmation

Built-in controls

  • Startup password gate (DZAP_STARTUP_PASSWORD)
  • Required wallet metadata per ask call
  • Prompt-level metadata sanitization (no private_key in model prompt)
  • Step cap (25) and model timeout/retry controls
  • Session logging for all tool activity

Interactive flow controls

PerformZapTool

  1. Route must already be generated and cached for the session.
  2. Runtime requests explicit confirmation (SDK/CLI driven).
  3. Approvals and transaction execution happen only after confirmation.

ChangeChainTool

  1. Tool waits for user confirmation.
  2. Timeout is 120 seconds.
  3. Resolution is completed through POST /zap/chain/:sessionId.

Safe execution pipeline

intent -> tool planning -> route/build -> user confirmation -> execute -> session log

Logging and traceability

Session history includes metadata, conversation timeline, tool logs, and summary counters. See ZapBot Safety for runtime-level safety guidance.
Last modified on May 26, 2026