> For the complete documentation index, see [llms.txt](https://dnotifier.gitbook.io/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dnotifier.gitbook.io/product-docs/examples/examples.md). Agents can also search and read this documentation through its [MCP server](https://dnotifier.gitbook.io/product-docs/~gitbook/mcp).

# Examples index

Runnable walkthroughs organized by difficulty. Each example has an overview plus language-specific code for JavaScript/TypeScript, Dart/Flutter, and Python.

## By difficulty

| Example                                                                                                  | Level        | Transport | What you learn                                          |
| -------------------------------------------------------------------------------------------------------- | ------------ | --------- | ------------------------------------------------------- |
| [AI Q\&A](https://dnotifier.gitbook.io/product-docs/examples/ai-qa.md)                                   | Intermediate | `http`    | Simple `sendAI` prompt and response                     |
| [RAG assistant](https://dnotifier.gitbook.io/product-docs/examples/rag-assistant.md)                     | Advanced     | `http`    | Index documents, search, answer with `useKnowledgeBase` |
| [Multi-agent workflow](https://dnotifier.gitbook.io/product-docs/examples/multi-agent-workflow.md)       | Advanced     | `http`    | Agents, workflow routing, observability                 |
| [Local tool agent](https://dnotifier.gitbook.io/product-docs/workflows-and-agents/example-tool-agent.md) | Advanced     | `http`    | `tools.register` + `runAgent` (under Workflows)         |
| [MCP Mermaid agent](https://dnotifier.gitbook.io/product-docs/workflows-and-agents/example-mcp-agent.md) | Advanced     | `http`    | `mcp.connect` + tool agent (under Workflows)            |
| [1:1 chat](https://dnotifier.gitbook.io/product-docs/examples/one-to-one-chat.md)                        | Intermediate | `ws`      | Two-user chat pattern with history                      |
| [Hello realtime](https://dnotifier.gitbook.io/product-docs/examples/hello-realtime.md)                   | Beginner     | `ws`      | Connect, send one text message, receive on `onMessage`  |
| [Echo bot](https://dnotifier.gitbook.io/product-docs/examples/echo-bot.md)                               | Beginner     | `ws`      | Auto-reply when a message arrives                       |

## Language pages

Every example includes:

* [**JavaScript / TypeScript**](https://dnotifier.gitbook.io/product-docs/examples/hello-realtime/javascript-typescript.md) — Node.js or browser
* [**Dart / Flutter**](https://dnotifier.gitbook.io/product-docs/examples/hello-realtime/dart-flutter.md) — CLI or Flutter app
* [**Python**](https://dnotifier.gitbook.io/product-docs/examples/hello-realtime/python.md) — asyncio scripts or async web backends

## Prerequisites

1. [Register an account](https://dnotifier.gitbook.io/product-docs/getting-started/register-account.md)
2. [Create an app](https://dnotifier.gitbook.io/product-docs/getting-started/create-app.md) and copy credentials
3. [Install an SDK](https://dnotifier.gitbook.io/product-docs/getting-started/installation.md)

## Reference

* [API reference](https://dnotifier.gitbook.io/product-docs/reference/reference.md)
* [Transport matrix](https://dnotifier.gitbook.io/product-docs/reference/transport-matrix.md)
