Demos

Hot demos are complete, runnable projects you can clone, edit, and deploy. Each one teaches one end-to-end pattern. The pages here explain what to look for and how to read what you see in the Hot App; the source projects live in hot-dev/hot-demos.

Start Here: Hot Chat

Hot Chat is the culmination of several Hot Dev platform features that combine into a powerful solution for AI-driven products — and the best first impression of building on Hot. One Hot project boots two AI agents that the Next.js client switches between live:

  • Personal Mode — identity-first memory. Notes follow the user across sessions and devices.
  • Team Mode — session-first memory. Channel members share one memory; channels stay independent.

You get a polished chat UI, file attachments, streaming replies, and a transparent identity panel — all over the same typed-event wire contract a Slack or Telegram adapter would use. Each slash command is one on-event handler in the agent, so the Agent Graph stays readable as the agent grows.

Run it with two terminals. First, start Hot Dev in Terminal 1:

git clone https://github.com/hot-dev/hot-demos
cd hot-demos/hot-chat
hot dev --open

Create an API key in the Hot App at http://localhost:4680 (API Keys → Create API Key), then start the Next.js UI in Terminal 2:

cd hot-demos/hot-chat
cp .env.example .env
# set HOT_API_KEY in .env to the key you created above
npm install && npm run dev

Live LLM replies also need ANTHROPIC_API_KEY or OPENAI_API_KEY in .env (bridged locally by hot/ctx.hot, or set as anthropic.api.key / openai.api.key in Hot App Context Variables when deployed). Without one, the agents still store and recall notes, and LLM-backed commands return an offline notice. The Hot Chat page has the full steps.

Identity Vocabulary

Both modes work with the same two ideas. Holding them apart makes the demo easier to read.

ConceptTeam ModePersonal Mode
Sessionthe channel or threada scratch context per person
Identitythe person who posted a messagethe durable memory owner
Memoryscoped to the sessionscoped to the user

Slack and Telegram adapters fill these in from native IDs. Hot Chat uses synthetic IDs from localStorage so you can run everything without an account.

Slack Bot

Slack Bot is a SlackBot agent and the demo for triggers. Messages reach it from a 15-second schedule in local dev and from a verified Slack webhook in production. The webhook acks Slack at once and queues the message as an event, each command has its own handler, and atomic store writes make sure each message gets one reply. Anyone in the channel can switch between Claude, GPT, Grok, and Gemini with !ai.

More Recipes In The Repo

These projects live in hot-dev/hot-demos as standalone Hot projects with their own README. They're complete and runnable, but they're recipes rather than full walkthroughs, so they live in the repo rather than in this docs site.

  • My News — scheduled job that fetches AI news sites in parallel, summarizes with Claude, and emails via Resend. A good first taste of schedules and send(...) triggers. README
  • Graph-RAG Memory — the memory substrate behind the Hot Chat agents: raw records, capsules, graph nodes/edges, and hybrid retrieval with citations. Function-driven via hot eval rather than a full agent — useful for understanding how memory works under the hood. README

How Demos Are Organized

Each demo is a standalone Hot project:

demo-name/
  hot.hot
  README.md
  .env.example
  hot/
    src/
    test/

Demos use published Hot packages from the registry — clone, run hot test or hot dev, and dependencies resolve automatically.

Some demos include hot/ctx.hot as a local-development convenience. hot dev loads that file to bridge values from .env into context variables, but Hot Dev Cloud ignores it. For deployed demos, add the same context variables in the Hot Dev App.

What To Look For In The Hot App

Most demos include an Agent Graph walkthrough. Open the Hot App, choose the demo agent, and inspect:

  • webhook, schedule, and MCP nodes that trigger handlers
  • event nodes created from on-event handlers
  • outgoing sends edges from literal send(...) calls or explicit meta {sends: …} declarations
  • loops that go from incoming request → event handler → memory write → reply

If you only see a single trigger and one handler, that demo is intentionally small — the docs flag where to grow it next.