Skip to main content
DZap AI (@dzapio/ai) is a DeFi AI execution stack that ships SDK, CLI, HTTP, and MCP surfaces from one codebase.
  • Deployment: https://nlp-ai-439689868940.europe-north1.run.app
  • NPM package: https://www.npmjs.com/package/@dzapio/ai
  • Published version: 0.0.1
  • Live health check: GET / returns a successful wizard-style JSON response

What this package includes

  1. DZapSDK for TypeScript/JavaScript apps
  2. Interactive CLI (dzap, dzapai, DzapAI)
  3. Express server (/ask, SSE streaming, sessions, schedules)
  4. MCP server (stdio + streamable HTTP at /mcp)

Runtime highlights

  • Startup gate via DZAP_STARTUP_PASSWORD
  • Required user metadata on each ask() call (metadata.accountInfo[])
  • Private keys are excluded from model prompt text
  • Automatic tool calling with bounded steps (stepCountIs(25))
  • 21 exposed tools, with interactive gates for on-chain execution and chain switching

Quick examples

npm install @dzapio/ai
import { DZapSDK } from "@dzapio/ai";

const sdk = new DZapSDK();
await sdk.initialize({ startupPassword: process.env.DZAP_STARTUP_PASSWORD });
const result = await sdk.ask({
  userQuery: "Show my balances on Arbitrum",
  metadata: { accountInfo: [{ blockchain: "evm", chain: "42161", user_account: "0xabc..." }] },
});
console.log(result.finalText);

Docs map

Quickstart

Install and run your first request.

SDK-AI

Full DZapSDK API with examples.

MCP Server

Connect to /mcp from MCP clients.

Tool Categories

Full catalog of all exposed tools.

CLI

Run the assistant from your terminal.

Architecture

Runtime pipeline, sessions, and scheduler.
Last modified on May 30, 2026