Skip to content

feat: The Prancing Pony — AI NPC demo#5

Merged
bbjansen merged 1 commit into
mainfrom
feat/npc-chat-demo
Jul 10, 2026
Merged

feat: The Prancing Pony — AI NPC demo#5
bbjansen merged 1 commit into
mainfrom
feat/npc-chat-demo

Conversation

@bbjansen

Copy link
Copy Markdown
Contributor

A chat demo where players talk to Bram, an LLM tavern keeper. Server-side inference (ctx.ai), per-conversation memory, world lore via RAG, live token streaming (npcChunk). tickRate:0 → the room hibernates between messages (zero idle cost). Live-verified in prod: real grounded replies, streaming works. App npc-chat is starter-tier with a 2,000 msg/mo cap.

A chat room where players talk to Bram, an LLM-backed tavern keeper.
Showcases server-side inference (ctx.ai.npc().say()), per-conversation
memory, world lore via RAG, and live token streaming (npcChunk). The
handler is tickRate:0 — no game loop, so the room hibernates between
messages (zero idle cost). Refreshes the vendored @plot/handler types to
the ctx.ai-aware build.
@bbjansen bbjansen merged commit 5c73252 into main Jul 10, 2026
1 check passed
@bbjansen bbjansen deleted the feat/npc-chat-demo branch July 10, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant