Agent
The agent is the reasoning loop behindDZapSDK.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
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 bysessionId.
Each session stores chat timeline and structured tool logs.
Scheduler
The scheduler stores future actions in SQLite and is exposed through:SheluderToolGetAllSchedulesTool
Skill vs tool vs runtime
| Concept | Where it lives | Used when |
|---|---|---|
| Skill | Editor | Code authoring |
| Tool | Runtime | Agent execution |
| Session memory | Runtime | Multi-turn conversation |
| Scheduler | Runtime + SQLite | Time-triggered workflows |
Flow
Next
Tool Categories
Full list of runtime tools and inputs.
Architecture
Runtime layers, logging, and scheduling.