Skip to main content
DZapSDK is the main orchestrator in @dzapio/ai.
  • @dzapio/sdk: direct chain primitives.
  • @dzapio/ai (DZapSDK): agent runtime, tool orchestration, sessions, scheduler hooks.

Install

Constructor

Initialize runtime

Ask (main entry point)

Return payload includes:
  • sessionId
  • finalText
  • chainId
  • optional balanceData
  • steps[]

Call tools directly

Direct calls are useful for deterministic backend flows.

Session and schedule APIs

Interactive confirmations (when needed)

These resolve pending interactive flows created by execution-sensitive tools.

See also

Last modified on June 18, 2026