Skip to main content
Most DZap AI behavior maps to five concepts.

Agent

The agent is the reasoning loop behind DZapSDK.ask(). It reads intent, calls tools, and synthesizes a final response. Default model is gpt-4o-mini, with automatic tool choice and step limits.

Tool

A tool is a typed function the agent can call at runtime. Each tool defines:
  • Name
  • Description
  • Input schema
  • Output shape
  • Execution function
DZap AI currently exposes 21 tools.

Skill

A skill is editor-time context (Cursor, Claude Code). It helps code generation match real DZap APIs. Skills are for writing code, not runtime execution.

Memory

Session memory is in-process and keyed by sessionId. Each session stores chat timeline and structured tool logs.

Scheduler

The scheduler stores future actions in SQLite and is exposed through:
  • SheluderTool
  • GetAllSchedulesTool
The execution hook exists but is currently not fully wired for automated on-chain actions.

Skill vs tool vs runtime

ConceptWhere it livesUsed when
SkillEditorCode authoring
ToolRuntimeAgent execution
Session memoryRuntimeMulti-turn conversation
SchedulerRuntime + SQLiteTime-triggered workflows

Flow

User -> Agent -> Tools -> DZap APIs and external sources

Next

Tool Categories

Full list of runtime tools and inputs.

Architecture

Runtime layers, logging, and scheduling.
Last modified on May 26, 2026