Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dzap.io/llms.txt

Use this file to discover all available pages before exploring further.

Requirements

  • Node 18 or higher (Node 20 LTS recommended).
  • An OpenAI API key (or other Vercel-AI-SDK-compatible provider).

Install

The package exposes three binaries — pick the one you like:
dzapai      # primary
DzapAI      # uppercase variant
dzap        # short alias

Provider keys

Add these to your shell rc file (~/.zshrc, ~/.bashrc, config.fish) or use a tool like direnv for per-project keys.

First launch

dzapai
You’ll see:
Welcome to DZap AI!
Set up profile (one-time):
  Default wallet: 0x...
  Default blockchain: evm
  Default chain: 1
✓ Profile saved.

>>

Updating

npm install -g dzapai@latest
Or for non-global installs:
npx dzapai@latest

Uninstall

npm uninstall -g dzapai
rm -rf ~/.dzapai             # remove profile + scheduler db

Troubleshooting

Make sure npm prefix -g/bin is in your PATH. On macOS/Linux:
echo 'export PATH="$(npm prefix -g)/bin:$PATH"' >> ~/.zshrc
The CLI needs a provider key. Export it before launching:
export OPENAI_API_KEY=sk-...
Some tools (Tavily, Moralis) need their own keys. See Configuration.