Ground Your Wukong — Model + Knowledge
★★★ Freedom📝 Guías de tarea
📋 Key Takeaways
- What happens when you hit Send: YOU → the Agent → Wukong (the LLM — a brain in a jar: brilliant, no hands, no memory)
- The Agent gathers three things every turn — persona card + chat history + your new message — into ONE stack: the context. "Memory" lives in the stack, not in Wukong
- Token economics: every sheet in the stack is re-sent, re-read, re-billed every turn; the context window is the paper tray
- The model menu: Claude / GPT / Gemini in three sizes each, and the open wave (DeepSeek #1 by token share) up to 20× cheaper — WukongDojo lets you pick any good LLM, your Wukong stays yours
- You + Wukong = Your Wukong: your domain + your script beats generic ChatGPT on three axes — narrow · deep · real
- Lab · Ground Your Wukong: attach one knowledge .md and watch the same model stop guessing
🎬 Video Replay
| Part 1 · Welcome and Course Logistics | 8:03 | ▶ Watch |
| Part 2 · LLM vs. Agents | 25:15 | ▶ Watch |
| Part 3 · Token Economy | 15:23 | ▶ Watch |
| Lab and Demo | 23:13 | ▶ Watch |
| Q&A | 41:33 | ▶ Watch |
📝 Course Notes
Expand full notes
**Trait: Freedom.** Today: how a chatbot system really works — once you see the machinery, no vendor can mystify you again.
## Part 1 · What happens when you hit Send
Three players:
- **YOU** — typing in the chat box at wukongdojo.ai.
- **THE AGENT** — the dojo behind the screen; packs everything Wukong needs to see, every single turn.
- **WUKONG (the LLM)** — a brain in a jar: brilliant, but no hands, no memory. Reads once, answers once, forgets everything.
Before Wukong sees anything, the Agent gathers three things: ① the persona card (system prompt — who your agent is) ② the whole chat so far (history) ③ your new message. Three things printed into **ONE stack** — that stack is the **context**.
The flow: you type → agent gathers the 3 things → prints one stack → hands it to Wukong (**this hand-off is "the LLM call"**) → Wukong writes the answer word by word → the answer lands on your screen and is filed into history.
Multi-turn chat = the agent **reprinting the whole stack every turn**. The paper tray has a limit — the **context window** — and every sheet costs money.
**Three truths:**
1. "Memory" is a trick — it lives in the agent's stack, not in Wukong.
2. Every sheet costs money — re-sent, re-read, re-billed every turn.
3. Whoever writes the stack controls the answer — hallucination is a weak script; you are the editor.
## Part 2 · Token economics
- A token ≠ a word. Rough math: 1 Chinese character ≈ 1.5 tokens · 1 English word ≈ 1.3 tokens.
- Input is cheap, output is several times more expensive — you pay for what Wukong writes.
- Your $20/month subscription is a package on top of raw token prices. Warm-up homework: run the numbers and see the gap.
## Part 3 · The model menu
**Closed models — three sizes per house:**
| House | Fast/cheap | Day job | Hard stuff |
|-------|-----------|---------|------------|
| Claude | Haiku $1/$5 | Sonnet $3/$15 | Opus $5/$25 |
| GPT | GPT-5 mini $0.25/$2 | GPT-5 $1.25/$10 | o3 $2/$8 |
| Gemini | 2.5 Flash-Lite $0.10/$0.40 | 2.5 Flash $0.30/$2.50 | 2.5 Pro $1.25/$10 |
*(prices per million tokens, input/output)*
**Open-source wave:** DeepSeek is #1 on OpenRouter by token share; 8 of the top-10 open models are Chinese (Qwen · Kimi · GLM); Llama/Gemma are free to run. Up to 20× cheaper · weights in your hands · your data stays home.
**The punchline: WukongDojo lets you pick any good LLM — your Wukong stays yours.**
## Part 4 · You + Wukong = Your Wukong
How does Your Wukong beat ChatGPT? Three axes:
- **① Narrow** — ChatGPT serves anyone; you serve just one kind of person, and you win.
- **② Deep** — ChatGPT knows the surface; you know the layer it can't reach.
- **③ Real** — ChatGPT is secondhand from the web; you are firsthand, the real thing.
Proprietary ≠ clever. Proprietary = **what others don't have, you do.**
## Lab · Ground Your Wukong
1. Ask your agent a hard domain question — watch it guess. Fluent, but not grounded.
2. Attach a knowledge .md file — your notes, your FAQ, your domain facts.
3. Ask the same question again — now the answer comes from YOUR file.
**Same model. Same question. Your file makes the difference.**
## Homework
- **HW1 (warm-up, not submitted):** run the numbers — monthly fee vs actual token burn.
- **HW2 (submit · `ENS3-FREEDOM` · due Wed 8/5 9 PM PT):** Ground Your Wukong — ① your edge (narrow·deep·real) ② your knowledge .md (pasted) ③ before/after proof on the same question ④ model pick + one S4 blueprint line. See the S3 Homework Guide in materials for full details and examples.
Next: **S4 · Aug 15 — walk into the dojo and build your agent.** Your S2 hero + your S3 knowledge file are the raw material.
✏️ Tarea
HW1 (warm-up · not submitted): run the numbers — your AI monthly fee vs the tokens you actually burn, using today's formula. HW2 (submit · Golden Hoop 3 · Freedom) — Ground Your Wukong: the full script = 5-part System Prompt (with an explicit grounding iron law) + an attached knowledge .md file + 1 real dialog traceable to specific lines of the file.
⏰ Fecha límite: Wed 8/5 · 9:00 PM PT
→ Enviar tarea (ENS3-FREEDOM)▶ 🤖 Criterios de evaluación IA
| Dimensión | Peso | Descripción |
|---|---|---|
| Specialty clarity (narrow · deep · real) | 15% | Whether the narrow/deep/real edge is sharp enough that a stranger immediately sees "generic ChatGPT cannot replace this" — a specific person served, a layer ChatGPT can't reach, firsthand experience behind it |
| Script completeness (5 parts) | 20% | Whether all 5 parts of the System Prompt are present and specific |
| Iron laws actionable | 10% | At least 3 concrete "always do X / never do Y" rules the AI can execute; not platitudes or marketing copy |
| Explicit grounding rule | 10% | The System Prompt MUST contain an explicit iron law telling the LLM to answer ONLY from the attached knowledge file; if the fact is not there, say "I don't know" — never invent. This is the weld that fuses the System Prompt to the knowledge file |
| Knowledge file quality | 20% | The pasted .md contains firsthand, specific facts ChatGPT cannot google — the student's own FAQ / prices / case notes / rules of thumb. Encyclopedia paste, generic web facts, or AI-generated filler = low. This is one of the two hearts of the assignment: only the student has these facts |
| Dialog validation + traceability | 15% | A real dialog was actually run; the output is TRACEABLY tied to specific lines in the knowledge file; annotation names "the AI cited line X of the file". Missing traceability, or just "it got better", = low |
| Next-step specificity | 10% | One concrete validation action this week; not "keep learning" |
90-100 All 5 parts present + explicit grounding rule locked in + knowledge file is scar-level firsthand facts + dialog traceable to specific lines · 70-89 All 7 parts present; script is complete, knowledge file is real but thin, or traceability stays soft · 50-69 Completed but partially perfunctory — iron laws are platitudes, or grounding rule missing, or knowledge file reads like web paste · 30-49 Very perfunctory or mostly AI-generated cliches · 1-29 Nearly empty or entirely ChatGPT one-click output