Bringing stories to life with AI, Data Streaming and Generative Agents
summary
Combines a playable Stardew Valley map with live conversational agents that use Apache Kafka for location and message streams, Apache Flink to detect proximity every second, OpenAI LLMs for dialogue, and OpenSearch and RAG plus vector embeddings for summarized long‑term memory. Builds a JavaScript game loop that moves villagers, triggers chats when within a pixel threshold, summarizes conversations into embeddings, and successfully propagates a goal (a town conference) across agents, though summaries sometimes blur specific names.
AI-written summary · about
chapters (12)
- 0:00Introduction to AI and Stardew Valley
- 1:25Generative Agents research overview
- 10:39Memory and reflection in agents
- 20:14From research to playful demo
- 23:03Apache Kafka for real-time data
- 26:17Apache Flink for proximity calculations
- 28:45LLM-driven conversations setup
- 30:55Managing multi-agent interactions
- 34:04Long-term memory with vector search
- 35:09Spreading ideas among villagers
- 38:44Current demo state and future plans
- 39:26Q&A session
