@dzapio/ai runtime.
1) Install
@dzapio to a private registry, use:
2) Set required environment variables
OPENAI_API_KEY is the only variable required to run the model. Optional
provider keys (Tavily, CoinStats, Moralis, etc.) enable individual tools.
3) SDK example (DZapSDK)
4) CLI example
dzapai, DzapAI.
The interactive flow prompts for:
- Wallet profile (wallet, chain, blockchain, private key)
- Chat input and slash commands
5) HTTP streaming example
The server exposes a single Server-Sent Events endpoint,POST /ask_stream:
step event per tool call, a final finalText event, then [DONE]:
6) MCP endpoint example
Next
SDK-AI
Full SDK API reference with more examples.
MCP Server
Stdio + streamable HTTP details.
Tool Categories
All 21 exposed tools.
CLI
Interactive shell command reference.