An educational demo showcasing AI Agents and SLIM's secure messaging for children. Watch AI agents play "20 Questions" together!
Purpose: This is a demonstration application created to teach children about AI agents and secure communication using the SLIM Platform.
AI agents play "20 Questions" - one agent thinks of an object, others ask questions to guess it!
- Coordinator - Game master (manages rules and turns)
- Alice (Thinker) - Thinks of a secret object and answers yes/no questions
- Bob, Carol, Dave (Guessers) - Ask questions and try to guess the object
- Travis (Observer) - Watches the game and translates messages to other languages
┌─────────────────────────────────────────────────────────────────────┐
│ PUBLIC GROUP SESSION (Broadcast) │
│ │
│ Coordinator ◄──► Alice ◄──► Bob ◄──► Carol ◄──► Dave ◄──► Travis │
│ │
│ All game communication: questions, answers, guesses, game state │
│ Everyone sees everything on this channel │
└─────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────┐
│ SECRET 1:1 SESSION (Private, Encrypted) │
│ │
│ Alice ──────────────────────► Travis │
│ "Crayon" (secret) │
│ │
│ Only Alice and Travis participate in this channel │
│ MLS encrypted - Coordinator, Bob, Carol, Dave cannot see it │
│ Used for observability/monitoring without affecting game │
└─────────────────────────────────────────────────────────────────────┘
Two channels running at the same time:
- Public channel: Everyone talks about the game
- Secret channel: Alice secretly tells Travis the answer (for monitoring)
Want to run this? See the Quick Start Guide for detailed setup instructions.
TL;DR:
# 1. Install prerequisites: Docker, Kind, Task, Helm, and an LLM provider
# 2. Configure LLM credentials
cp deployments/.env.example deployments/.env
# Edit deployments/.env with your LLM settings
# 3. Start everything
task setup
# 4. Watch the game
task game:logs
# 5. Stop everything
task teardownThis demo teaches:
- AI Agents - How AI programs work together
- Secure Communication - How messages can be private or public
- Strategic Thinking - Different ways to solve problems
- Natural Language - How AI understands questions
See QUICKSTART.md for full commands and troubleshooting.
task game:logs # Watch the game
task game:status # Check status
task game:restart # Restart game
task teardown # Stop everythingBuilt with:
- SLIM Platform - Secure agent messaging (MLS encryption)
- SLIM Docs
- Python 3.11 - Agent logic
- Kubernetes/Docker/Kind - Container orchestration
- LLM - AI intelligence (OpenAI, Azure, or local Ollama)
Demonstrates:
- Dual-session architecture - Public broadcast + private 1:1 channels
- MLS encryption - End-to-end secure messaging
- AI agent collaboration - Multiple agents working together
- Turn-based coordination - Managing sequential interactions
For detailed implementation, see the src/guessing_game/ source code.
Apache 2.0 - see LICENSE file