Members-Only
Recent Talks & Demos are for members only
You must be an AI Tinkerers active member to view these talks and demos.
Cloudflare: Per-Student AI Agents
Learn how to build an AI tutoring platform with per-student stateful agents using Cloudflare Durable Objects and local SQLite, featuring a multi-model extraction pipeline and async batch processing.
ow we built mcq.sg - an AI tutoring platform where every student gets their own stateful agent.
The defining infrastructure choice: Cloudflare Durable Objects.
Each student has a dedicated DO with built-in SQLite storing mastery data, attempt history, and recommendation queue. The AI agent runs inside the DO - no centralized database, no bottleneck, no cold starts for returning students.
I’ll show the code for:
- Per-student DO with local SQLite schema
- Multi-model extraction pipeline (Moondream for detection, Claude for reasoning)
- Async batch processing for 50% cost savings on non-realtime tasks
Built by 2 people. Previously led engineering on ParkingSG and RedeemSG at Open Government Products.