Theo Docs
TheoKitTheoKit-SDKTheoUITheo PaaS
Cookbook

Cookbook

Runnable recipes auto-generated from packages/sdk/examples/.

Cookbook

Every recipe below is a real, runnable example from the SDK repo. Each one has been validated with a real LLM provider before shipping.

  • bedrock-bot — One-shot Claude prompt via AWS Bedrock (@theokit/sdk Adoption Roadmap #8; ADRs D286-D302).
  • cache — Demonstrates Cache.semantic + Cache.consult (Adoption Roadmap #6; ADRs D249-D266).
  • email-bot — Minimal example of an email-driven agent using @theokit/gateway-email.
  • eval — Runs Eval.create / .run against a real LLM and prints aggregate +
  • handoffs — Triage agent → billing/support specialist. Demonstrates the
  • skills-google-workspace — Six runnable recipes for @theokit/skills-google-workspace. All recipes use the bundled `google-wor
  • slack-bot — Demonstrates @theokit/gateway-slack (Adoption Roadmap #7; ADRs D267-D285) — a
  • teams-bot — Reference Microsoft Teams bot using @theokit/gateway-teams. Built on the modern `@microsoft/teams.
  • vertex-bot — One-shot Gemini (or Claude) prompt via GCP Vertex AI (@theokit/sdk Adoption Roadmap #8; ADRs D286-
  • whatsapp-bot — Reference WhatsApp bot using @theokit/gateway-whatsapp (Meta WhatsApp Business Cloud API backend).
  • whatsapp-web-bot — WhatsApp bot using the unofficial whatsapp-web.js subprocess bridge backend (ADR D305).
  • workflows — Multi-step pipeline: validate → classify (LLM) → branch (billing/support) → summarize.

These examples are too large to inline. View them directly:

On this page