Examples for integrating Watt Data into your apps using popular AI frameworks.
Choose your framework and follow the setup instructions in each folder:
| Framework | Folder | Language |
|---|---|---|
| Watt SDK | /watt-sdk |
TypeScript |
| Claude Agent SDK | /claude-agent-sdk/typescript |
TypeScript |
| Claude Agent SDK | /claude-agent-sdk/python |
Python |
| Vercel AI SDK | /vercel-ai-sdk |
TypeScript |
| Native MCP Client | /mcp-client/typescript |
TypeScript |
| Native MCP Client | /mcp-client/python |
Python |
| Mastra | — | TypeScript (coming soon) |
| LangChain.js | — | TypeScript (coming soon) |
| LangChain | — | Python (coming soon) |
| PydanticAI | — | Python (coming soon) |
| Cloudflare Agents | — | TypeScript (coming soon) |
Each framework folder includes examples for:
- Generate Audience — Describe an audience in plain English, get back a downloadable CSV
- Structured Output — Typed JSON response with audience size, trait IDs, and download URL
- Resolve & Enrich — Given a CSV of emails, resolve each identity and enrich with demographic data
-
Get your API key from wattdata.ai/dashboard/api-keys
-
Clone this repository:
git clone https://github.com/wattdata/examples.git
-
Choose your framework and follow the README in that folder
-
Configure your environment with your API key
-
Run the examples and explore!
MIT