Runnable samples for iii across IoT, Edge, Agents, Backend APIs, and more. Each recipe is a small, self-contained project you can clone, run, and adapt.
iii-cookbook/
<scenario>/
<example>/
README.md
...code
Scenarios group by domain (agents, iot, edge, backend-api, data-pipelines, realtime, workflows). Each example is a complete, runnable project with its own README and dependencies.
- iii engine
0.11.2+running locally or reachable over WebSocket - Node 20+, Python 3.10+, or Rust 1.75+ depending on the sample
Install the engine:
curl -fsSL https://install.iii.dev/iii/main/install.sh | sh
iiiOr run it in Docker:
docker run -p 49134:49134 iiidev/iii:latestcd <scenario>/<example>
# follow the example's READMESamples use the iii SDK for the language they're written in (iii-sdk on npm, iii-sdk on PyPI, iii-sdk on crates.io). Secrets load from .env; never inline keys.
- Every example has its own
README.mdwith prerequisites, setup, and run instructions. - Every example registers its own functions and triggers — no shared global state across examples.
- Every example is pinned to a specific iii engine version and SDK version in its README.
- Samples that need external services (Redis, Postgres, a model provider) ship a
docker-compose.ymlnext to the code.
Generally useful building blocks should not live here. If a worker is reusable across projects, publish it to the iii registry and reference it via iii worker add <name>. The cookbook shows how to compose those workers end-to-end, not replace them.
Official iii-hq workers carry an official flag in the registry. Community workers are unflagged.
- Fork and create a branch.
- Add a new folder under the matching scenario.
- Include a
README.md, the code, and a minimal set of tests. - Open a PR. Keep it focused — one sample per PR.
Before opening a PR:
- Run the sample from a clean clone.
- Pin the iii engine version you tested against.
- Remove API keys, tokens, and absolute paths.
Refreshed every major iii release. Samples that break on a new release get tagged as needs-update until fixed or removed.
Apache License 2.0. See LICENSE.