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:- Infers the most likely intent from session context
- Uses wallet metadata (connected chain, token holdings) to narrow choices
- 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
- Metadata is required on each query (
metadata.accountInfo[]). - Prompt text excludes private keys.
- Interactive actions need explicit confirmation flow.
- Tool calls are captured in structured session logs.
Next
How it works
Step-by-step request lifecycle.
Safety
Confirmation gates and execution boundaries.