Sitemap
Robina Mirbahar

Robina Mirbahar

🤖 Google Developer Expert (AI & Cloud) | 🚀 AI Engineer & Solutions Architect | 📚 Co-Author: AI Engineering (2026) | 💜 Women Techmakers Ambassador

Press enter or click to view image in full size

I Built a Cozy 60 FPS AI Agent Bakery Game (Built with Gemma 4 & Antigravity) to Teach RAG, Guardrails & Multi-Agent Orchestration

7 min readOct 16, 2026

--

Who said learning AI System Design has to be all dark cyberpunk terminal screens and exploding servers? Meet Prompt Paws: The Cozy AI Agent Cafe & Bakery! 🐾🥐

What I Built

Who said learning AI System Design has to be all dark cyberpunk terminal screens and exploding servers?

I built and open-sourced Prompt Paws: The Cozy AI Agent Cafe & Bakery (architected with Google Gemma 4 & Antigravity) — an interactive 60 FPS AI Agent Architecture Training & Simulation Platform disguised as a cozy pastel pastry bakery run by Robot-Cat Chefs! 🐱‍🍳🍰

Who is it built for?

  • Engineering Teams, Bootcamps & Developer Relations Programs training developers on production LLM architecture (where a single uncached system prompt or missing input guardrail can cost thousands of dollars in wasted tokens or security incidents).
  • Instead of static slide decks, Prompt Paws gives teams an interactive, visual sandbox where every pastry station maps 1-to-1 to a real production AI pattern:

🧁 Cozy Bakery Stations Mapped 1-to-1 to Production AI Engineering

  • 🥐 Flash Pastry Oven (Cost: 🪙 60) → Fast Low-Latency Model (gemini-2.5-flash / Gemma 4): Bakes everyday Prompt Croissants (🥐) with low latency and minimal token cost.
  • 🍪 Context Cache Jar (Cost: 🪙 75) → Prefix & Context Caching (95% Token Savings): Instantly serves repeated Owl Menu Queries (🍪) at 3× speed with a +40% Star Coin bonus!
  • 🛡️ Guardrail Flour Sieve (Cost: 🪙 70) → Input Classifier & Prompt-Injection Sanitizer: Catches sneaky Spicy Prompt-Injection Jalapeños (🌶️) before they reach your ovens and sanitizes them into safe Croissants!
  • 🍓 Vector Berry Patch (Cost: 🪙 85) → Vector Search & RAG Fact Grounding: Harvests fresh factual berries for RAG Berry Tarts (🍓) so ungrounded ovens never serve 👻 Hallucination Puffs!
  • 🧋 Tool-Call Boba Mixer (Cost: 🪙 90) → Deterministic Python Sandbox & Function Calling: Executes exact Python math & live API recipes for Code-Exec Boba (🧋) orders instead of guessing probabilities.
  • 🍮 Deep-Think Soufflé Oven (Cost: 🪙 110) → Extended Thinking / System-2 Deliberation: Deliberates step-by-step to bake delicate multi-constraint Reasoning Soufflés (🍮).
  • 🐱 Subagent Sous-Chef Bell (Cost: 🪙 95) → Multi-Agent Parallel Delegation: Orchestrates helper cat-paws that boost all nearby AI stations by +35% to +65% speed!
+-----------------------------+--------------------------+-----------------------------------------------+
| Cozy Bakery Station | Critter Order Handled | Production AI Engineering Layer |
+-----------------------------+--------------------------+-----------------------------------------------+
| 🥐 Flash Pastry Oven | Prompt Croissant | Fast Low-Latency Model (Gemini Flash/Gemma 4) |
| 🍪 Context Cache Jar | Repeat Owl Menu Query | Prefix & Context Caching (95% Token Savings) |
| 🛡️ Guardrail Flour Sieve | Spicy Injection Jalapeño | Input Classifier & Prompt-Injection Filter |
| 🍓 Vector Berry Patch | RAG Berry Tart | Vector Search & Fact Grounding (Anti-Halluc.) |
| 🧋 Tool-Call Boba Mixer | Code-Exec Boba Tea | Deterministic Python Sandbox & Tool Calling |
| 🍮 Deep-Think Soufflé Oven | Reasoning Soufflé | Extended Thinking / System-2 Deliberation |
| 🐱 Subagent Sous-Chef Bell | Parallel Banquet Aura | Multi-Agent Parallel Delegation (+45% Boost) |
+-----------------------------+--------------------------+-----------------------------------------------+

🎮 Live Playable Demo & How to Play in 30 Seconds!

Press enter or click to view image in full size

🐾 What Is the Core Gameplay Loop?

Think of Prompt Paws as a cozy Tower-Defense & Kitchen-Management game for AI Agent Architecture:

  • Customer Pastry Orders (🥐, 🍪, 🌶️, 🍓, 🧋, 🍮) = Incoming User Prompts moving along the bakery conveyor belt toward the Pickup Window (🛎️).
  • Robot-Cat Kitchen Stations = Real-World AI Engineering Components (Fast LLMs, Context Caches, Input Guardrails, RAG Vector DBs, Deterministic Tool Callers, System-2 Reasoning Models, and Multi-Agent Sous-Chefs) that intercept and process prompts before they reach the customer!
  • Win / Lose Condition: Every order baked by the right AI Chef Station earns 🪙 Star Coins! If an unbaked order, an ungrounded 👻 Hallucination Puff, or a sneaky 🌶️ Prompt Injection slips all the way to the Pickup Window, you lose a 💖 Cafe Reputation Heart!

🕹️ How to Play in 3 Easy Steps:

  1. STEP 1 — Pick an AI Chef Station (Left Menu): Click a station card on the left sidebar (start with 🥐 Flash Pastry Oven for 🪙 60). Check the Order Forecast chips under the level story to see which prompt types are coming!
  2. STEP 2 — Click Any [➕ Slot] Tile on the Map: Click one of the 8 pastel counter pads (Slot 1–Slot 8) beside the conveyor belt to place your Robot-Cat Chef. (Tip: Click a placed chef anytime to ⬆️ Upgrade its baking speed or 🧹 Refund it!)
  3. STEP 3 — Click ▶️ Open Cafe (or ✨ Auto-Chef Blueprint):
  • Click ▶️ Open Cafe (or press Spacebar) to start the shift and watch your Robot-Cat Chefs bake!
  • Want to watch an instant demo first? Click the purple ✨ Auto-Chef Blueprint button in the top bar on any of the 7 Story Shifts and the game will automatically build the optimal Guardrail, Cache, RAG, and Subagent pipeline and run it for you!

🛠️ How I Built It

I built Prompt Paws using an open-source, zero-dependency HTML5 Canvas 60 FPS simulation engine (game.js), a 7-shift progressive AI engineering curriculum (levels.js), and a procedural WebAudio synthesizer (audio.js), orchestrated via Google Gemma 4 & Antigravity.

1. Order Routing & Guardrail Sanitization (game.js)

Each station inspects passing orders on the winding bakery conveyor ribbon and only picks up tasks that match its architectural role. Notice how Spicy Prompt-Injection Jalapeños cannot be safely baked by normal ovens until a Guardrail Flour Sieve sanitizes them into safe croissants:

function canStationProcessOrder(stationType, ord) {
// 1. Only the Guardrail Flour Sieve can catch and sanitize Spicy Prompt Injections!
if (stationType === 'guardrail_sieve') {
return ord.kind === 'jalapeno';
}
// Unfiltered prompt injections bypass normal ovens and damage Cafe Reputation Hearts!
if (ord.kind === 'jalapeno') {
return false;
}
// 2. Context Cache Jar serves repeated menu queries at 3x speed + bonus Star Coins
if (stationType === 'cookie_cache') {
return ord.kind === 'cached' || ord.kind === 'croissant';
}
// 3. Vector Berry Patch grounds Berry Tarts so they don't become Hallucination Puffs
if (stationType === 'vector_garden') {
return ord.kind === 'tart';
}
// 4. Tool-Call Boba Mixer runs deterministic calculations & API recipes
if (stationType === 'tool_blender') {
return ord.kind === 'boba';
}
// 5. Deep-Think Souffle Oven handles multi-step System-2 reasoning
if (stationType === 'reasoning_oven') {
return ord.kind === 'souffle' || ord.kind === 'croissant';
}
// 6. Flash Pastry Oven handles high-throughput everyday Prompt Croissants
if (stationType === 'flash_oven') {
return ord.kind === 'croissant' || ord.kind === 'cached';
}
// 7. Subagent Sous-Chef Bell orchestrates parallel helpers
if (stationType === 'subagent_bell') {
return ord.kind !== 'jalapeno';
}
return false;
}

2. Real-Time AI Architecture Linter (“Chef Whiskers” 🐱‍🍳)

Before you open the cafe doors, Chef Whiskers (Staff AI Pastry Architect) performs live static analysis on your placed stations and warns you about architectural vulnerabilities:

function evaluateKitchenArchitecture() {
const lvl = window.CAFE_LEVELS[currentLevelIdx];
const weights = lvl.orderWeights;
const typesPlaced = Object.values(placedStations).map((s) => s.type);
const alerts = [];
if (weights.jalapeno && !typesPlaced.includes('guardrail_sieve')) {
alerts.push({
kind: 'warn',
text: 'Prompt Injection Risk! Place a Guardrail Flour Sieve near Slot 1 or 2 to neutralize spicy raccoon orders!'
});
}
if (weights.tart && !typesPlaced.includes('vector_garden')) {
alerts.push({
kind: 'warn',
text: 'Hallucination Warning! Berry Tarts need a Vector Berry Patch (RAG) so chefs do not guess facts!'
});
}
if (weights.boba && !typesPlaced.includes('tool_blender')) {
alerts.push({
kind: 'warn',
text: 'Math/API Alert! Add a Tool-Call Boba Mixer to run deterministic calculations accurately.'
});
}
return alerts;
}

🌐 Why Open-Source Visual Sandboxes Matter

Open-source AI models, open agent harnesses, and inspectable system design sandboxes ensure that every developer — not just giant enterprises — can master safe, cost-efficient AI engineering. By making the entire simulation engine, curriculum (levels.js), and architecture blueprints open-source with zero proprietary build steps and $0.00 API token cost, any educator or developer community can fork Prompt Paws, add new open-weight model stations (like local Google Gemma 4 or Ollama nodes), and teach agentic reliability visually!

Get Robina Mirbahar’s stories in your inbox

Join Medium for free to get updates from this writer.

👉 Try Prompt Paws Live Now: https://robinamirbahar.github.io/cozy-ai-agent-cafe-game/
⭐ Star & Fork on GitHub: https://github.com/RobinaMirbahar/cozy-ai-agent-cafe-game

📚 Official References & Documentation

--

--

Robina Mirbahar

Written by Robina Mirbahar

🤖 Google Developer Expert (AI & Cloud) | 🚀 AI Engineer & Solutions Architect | 📚 Co-Author: AI Engineering (2026) | 💜 Women Techmakers Ambassador