Skip to main content
ZapBot is the default runtime agent used by DZapSDK. It is not a chatbot. It is a deterministic NLP pipeline wired to DeFi execution primitives.

What the NLP Engine does

NLP pipeline

Supported intent types

Entity extraction

The engine identifies and resolves the following entity types from natural language: Ambiguous inputs (e.g. “ETH” could mean native or wrapped) are resolved using chain context and wallet metadata before tool dispatch.

Ambiguity resolution

When the NLP Engine detects an ambiguous or underspecified prompt, it:
  1. Infers the most likely intent from session context
  2. Uses wallet metadata (connected chain, token holdings) to narrow choices
  3. Asks a clarifying question if the ambiguity cannot be resolved safely

Where it runs

  • SDK (DZapSDK.ask())
  • CLI (dzap, dzapai, DzapAI)
  • HTTP (/ask_stream)
  • MCP (/mcp)

Default behavior

Runtime guarantees

  1. Metadata is required on each query (metadata.accountInfo[]).
  2. Prompt text excludes private keys.
  3. Interactive actions need explicit confirmation flow.
  4. Tool calls are captured in structured session logs.

Next

How it works

Step-by-step request lifecycle.

Safety

Confirmation gates and execution boundaries.
Last modified on May 26, 2026