AI City Popy ๐Ÿ™๏ธ
โ˜๏ธ
โ˜๏ธ
Welcome to AI City Popy

Learn how AI workers
build smart digital cities

A playful journey into AI agents, orchestration, memory, tools and futuristic systems โ€” explained with hotels, libraries and tiny magical workers.

๐Ÿจ
๐Ÿ›๏ธ
๐Ÿ›ต
๐Ÿข
๐Ÿซ
๐Ÿฐ
๐Ÿ› ๏ธ
๐Ÿ“š
Start Here

Python Basics is your prerequisite launch pad

Before the city districts, learn the language the playground speaks. Small scripts, variables, loops, and functions are the first keys that unlock everything else.

Python crash course1 prerequisite before 13 districts
Python Playground
ConsolePrerequisite
>>> print("Hello, AI City!")
Hello, AI City!
>>> name = "Popy"
>>> greet(name)
print()
Hello, AI City!
variables
name = 'Popy'
loops
repeat tasks
The Journey

13 magical districts to explore

Stroll through AI City. Each district turns one tricky concept into a story you'll never forget.

๐ŸŒฑ Recommended route 1
Foundations ยท Soft Start

Foundations first

Learn the app shell, concurrency, and the model itself before adding more moving parts.

FastAPI โ†’ Async Python โ†’ LLM Fundamentals โ†’ Agents

โš™๏ธ Recommended route 2
System ยท Energetic Build

Build the system

Once the brain makes sense, add coordination, tools, memory, retrieval, and structured outputs.

Orchestration โ†’ Tool Calling โ†’ Vector DBs โ†’ RAG โ†’ Pydantic

๐Ÿ›ฐ๏ธ Recommended route 3
Production ยท Advanced Futuristic

Ship it safely

Finish with the disciplines that make production systems measurable, secure, and portable.

Evals โ†’ Observability โ†’ Guardrails โ†’ MCP

1Teaches: FastAPI

๐Ÿ›Ž๏ธThe Reception Center

When anyone visits AI City, they walk through the front door first. Mr. FastAPI, the smart receptionist, greets every request and quickly sends it to the right worker.

Front Desk
FastAPI
๐Ÿง‘ Guest"Book me a room"โ†’Travel Agent
๐Ÿ‘ฉ Guest"Plan my budget"โ†’Budget Agent
๐Ÿง’ Guest"Design my room"โ†’Design Agent
2Teaches: Async Python

๐Ÿ›ตThe Super-Speed Delivery Roads

Old workers finished one task, then started the next. AI City's roads belong to Speedy Async - many delivery bikes zoom together so nobody waits.

๐Ÿ˜ด Sequential
โšก Async
3Teaches: LLM Fundamentals

๐Ÿง The Model District

Deep inside AI City lives the LLM Brain - the talkative engine that predicts one tiny token after another. It is brilliant with language, but it still needs help from tools, memory, and tests.

Model District
Prompt layer
You are a careful planner. Be concise. Plan a 3-day Tokyo itinerary for food lovers.
The LLM predicts the next tokens using whatever is currently on the desk.
4Teaches: Agents

๐Ÿง‘โ€๐Ÿ’ผThe AI Worker Office

Every worker in AI City has one job they love. The Planner plans, the Budget Agent watches the coins, the Designer picks the colors.

โœฆ Pro
5Teaches: Orchestration

๐Ÿ—ผThe City Manager Tower

From the tallest tower, the City Manager watches every worker, splits big requests into tiny tasks, and stitches every answer back together.

๐Ÿง‘ User
Request
Manager
Planner
Budget
Design
โ†’ Final Output ๐ŸŽ
โœฆ Pro
6Teaches: Tool Calling

๐Ÿ› ๏ธThe Tool Workshop

Workers don't do magic with bare hands - they walk into Tooly's Workshop and pick the perfect tool for the job.

Workshop
๐Ÿ—บ๏ธ Maps: Find locations
โœฆ Pro
7Teaches: Embeddings & Vector DBs

๐Ÿ“šThe Memory Library

The Memory Library stores meanings, not just words. Books about 'sofa', 'couch' and 'seating' float close so AI finds ideas, not spellings.

๐Ÿ“– sofa
๐Ÿ“– couch
๐Ÿ“– seating
๐Ÿ“– chair
๐Ÿ“– bench
โœฆ Pro
8Teaches: RAG

๐ŸซThe Open-Book School

Students at RAG Academy peek into real books before answering. They search, read, then write - so answers are based on real facts.

Open-Book School
โ“
โ†’
๐Ÿ”Ž
โ†’
๐Ÿ“š
โ†’
๐Ÿ’ฌ
Question
Search
Read book
Answer
โœฆ Pro
9Teaches: Pydantic

๐Ÿ‘ฉโ€๐ŸซThe Strict Teacher Academy

Mrs. Pydantic is sweet but strict. Every answer must be neat and labeled. Mushy paragraphs go back. Tidy JSON cards get a shiny APPROVED stamp.

Strict Teacher
โŒ Messy

"maybe budget around 2 lakh?"

โœ… Approved
{
  "budget": 200000,
  "currency": "INR"
}
APPROVED
โœฆ Pro
10Teaches: Evals

๐ŸงชThe Testing Lab

Scientists at the Eval Lab grade every AI worker. Was the answer useful? Was the budget right? Everyone gets a colorful report card.

AI Report Card
Was the answer useful?92/100
Was the layout practical?78/100
Was the budget correct?88/100
โœฆ Pro
11Teaches: Observability

๐Ÿ“บThe Watch Tower

Wall-to-wall screens at the Watch Tower show every AI move - costs, speeds, errors - glowing softly so nothing breaks unnoticed.

Security Room
๐Ÿ’ธ Cost
$0.42
โšก Speed
1.2s
โœ… Errors
0
๐Ÿ“ž Calls
1,284
โœฆ Pro
12Teaches: Guardrails & Security

๐Ÿ›ก๏ธThe Guardrails Gate

At the city gates, the Guardrails Wardens inspect prompts, tool calls, and replies before anything risky reaches the streets.

Guardrails Gate
Input
Inspect prompt
๐Ÿ›ก๏ธ
Tools
Approve actions
๐Ÿ›ก๏ธ
Output
Filter response
๐Ÿ›ก๏ธ
โœฆ Pro
13Teaches: MCP

๐Ÿ”ŒThe Universal Plug Station

Every AI brain and every tool uses the same magical plug at MCP Station, so they snap together no matter who built them.

Universal Plug
๐Ÿค– Claude
๐Ÿค– GPT
๐Ÿค– Gemini
๐Ÿ”Œ
๐Ÿ› ๏ธ Drive
๐Ÿ› ๏ธ Slack
๐Ÿ› ๏ธ Notion
Professional Artifact Kit

Use production-ready templates

Get concrete templates for threat modeling, guardrail policy checks, eval scorecards, and incident response runbooks.

Open Playbook Templates

Earn your AI City badges

Collect them as you explore each district.

๐ŸŽ“
Junior AI Worker
๐Ÿ”ง
Tool Master
๐Ÿ—บ๏ธ
Workflow Architect
๐Ÿ™๏ธ
AI City Manager
๐ŸŽผ
Orchestration Expert