Adds `whatsapp_agent`, an additive channel that connects nanobot to the official WhatsApp Agent Platform API (https://api.whatsapp.com/agent/v1). It authenticates with a per-agent API token and long-polls `GET /updates` instead of linking a device, so it is the officially supported interface rather than the Neonize linked-device protocol used by the existing `whatsapp` channel. The existing `whatsapp` channel is unchanged; both can run at once under different names. Design notes: - The poll cursor, dedup window, and creator identifier live in one atomically replaced state file. A message id is recorded before it is handled, so a crash re-reads the batch without answering twice, and the cursor is only accepted after the batch is processed. - The first poll omits `offset`, which resolves the head and never replays up to 30 days of history into an auto-replying agent. - A changed token resets the cursor, because `next_offset` is only valid for the agent that issued it. - Each API method is paced below its own rolling 60-second limit, and progress/tool-hint messages default to off because they spend the shared 12-per-minute send budget. - Retries are limited to confirmed non-delivery (`429`, `503`/`131016`). A `500` or read timeout is ambiguous, so it is not retried unless `retryAmbiguousSends` is set; a duplicate is worse than a missed reply. - Inbound media is downloaded through the shared SSRF guard, size-capped, and verified against the reported digest. Outbound media is validated before upload. - Reactions are receive-only, matching the API. The token is never logged or persisted; state stores only a SHA-256 fingerprint. Docs compare both WhatsApp channels, including the lack of end-to-end encryption, country availability, and rate limits.
nanobot Task Guides
Start with Install and Quick Start and get one reply before using a guide below. Each guide targets one outcome; linked reference pages hold the complete option tables and edge cases.
You can ask nanobot to guide your next task using the built-in nanobot-document skill, or read a guide yourself. See Continue with nanobot for availability and examples. Each task guide describes its starting requirements, setup steps, and how to check the result; use the parts that match your current instance.
Start and Use
| Goal | Guide |
|---|---|
| Build a personal AI agent | Build a personal AI agent |
| Use the browser workbench | AI agent WebUI |
| Run a self-hosted AI agent | Self-hosted AI agent |
| Run a sustained goal | Long-running AI agent |
| Add long-term memory | AI agent memory |
Connect a Chat App
Use Channels in the WebUI for guided setup. These guides explain the account, bot, token, permission, and test-message steps on each platform.
| Goal | Guide |
|---|---|
| Connect chat apps | Chat app AI agent |
| Connect Telegram | Telegram AI agent |
| Connect Discord | Discord AI agent |
| Connect Slack | Slack AI agent |
| Connect Feishu | Feishu AI agent |
| Connect WhatsApp | WhatsApp AI agent |
| Connect an official WhatsApp agent | Official WhatsApp agent |
| Connect WeChat | WeChat AI agent |
| Connect QQ | QQ AI agent |
| Connect Email | Email AI agent |
| Connect Mattermost | Mattermost AI agent |
| Connect Linear | Native Linear agent |
Integrate from Code
| Goal | Guide |
|---|---|
| Run from Python | Python AI agent SDK |
Expose /v1/chat/completions |
OpenAI-compatible agent API |
Configure and Operate
| Goal | Guide |
|---|---|
| Add MCP tools | Configure MCP tools |
| Enable web search | Configure web search |
| Add model fallback | Configure model fallback |
| Add an OpenAI-compatible provider | Configure an OpenAI-compatible provider |
| Improve Ollama tool prompt-cache reuse | Configure Ollama prompt caching |
| Add Langfuse tracing | Configure Langfuse observability |
| Secure local tools | Secure a local AI agent |
| Deploy the gateway | Deploy nanobot gateway |