27 Sept 🎟️ Fundamentals of AI · free, 50 seats Save my seat → For teams AI in Practice · dates being set now Join the waitlist →
Namaste Ji by Ayushman Dash

The whole system, on one page.

Namaste Ji is a real, running product: five AI agents research Indian festivals, decide what to make, generate devotional greeting images, quality-check them, and feed them to an app — while one human supervises from a dashboard. It runs entirely on Cloudflare. This track walks through how, top-down: one picture, then eight zooms into it.

Why this might matter to you.

Almost nothing here is specific to greeting cards. Swap the five agents' jobs and the same chassis builds any app where AI agents produce the product and a human stays in charge: research agents feeding a newsletter, listing agents feeding a marketplace, support agents feeding a knowledge base. The pattern is always the same four pieces — agents that make, a store they share, a human gate, and a serving path that stays dumb and fast. The last zoom hands you this chassis as an empty repo.

Six words you'll keep meeting.

Everything else is explained where it appears — these six come up everywhere, so here they are once, in plain words.

Agent
A small program with one job. It runs on a schedule, thinks with an AI model, uses tools, and writes its results to a database. Not a chatbot — nobody talks to it.
Brief → shot
A brief is an idea for a batch of content ("Diwali morning cards, Hindi, warm"). A shot is one exact picture to make, with the words for it fully written out.
The catalog
The one database of record. Rows in D1 (SQLite), the images themselves in R2 (file storage), and a searchable map of what each image looks like in Vectorize.
Embedding
A list of numbers describing what a picture looks like, so "these two are similar" becomes something you can compute. Made once per image, reused everywhere.
The console
The private dashboard where a human watches every run, approves work, and can pause any agent. A read-only copy is open to you — no login.
Slate
A pre-computed list of ~50 cards waiting in storage for one person's next morning. Built overnight, served instantly.

The picture.

Content flows top to bottom. The agents (top left) make greetings into the catalog (the middle band); the feed machinery (bottom left) picks from the catalog what each person sees in the app (bottom right). The human's dashboard (top right) watches and gates all of it, and the strip at the bottom is the infrastructure everything runs on. Click any region to zoom in.

CLOUDFLARE — Workers · Queues · D1 · R2 · KV · Vectorize · AI Gateway · Pages · Access · Secrets Store · Durable Objects · Workflows · Images The agents — make the content Events Calendar → Creative Head → Content Director → Content Creator → QA Agent The human's controls — the console Console · Control DO gate · RBAC The catalog — where everything is stored D1 (shots · assets · embeddings · scorecards) · R2 (masters + variants) · Vectorize (1024-d) · Images Feed building — picks each person's cards nightly offline brain → per-user slates in KV → rank() online (and on-device) The app — what people see the web app · OTP login Events Calendar cron 02:00 Creative Head cron 05:00 Content Director cron */15 Content Creator Queues QA Agent cron */6h Console (BO)public.namasteji.org Control DOauto ⇄ manual · stop D1 · catalog R2 · content Vectorize · embed-v4 Images · variants D1 · console (RBAC · runs) offline brain (nightly) slates · KV (per user) rank() · online + on-device consumer-api the app the gate a greeting's journey: events → brief → shots → picture → judged → catalog → slate → phone

Two rules the whole design follows.

AI decides slowly, code serves fast

Models do their thinking in scheduled background work — planning, generating, judging, personalising. The moment a person opens the app, everything they touch is plain deterministic code. That keeps the product fast, cheap, and debuggable.

A human can stop anything

Every agent runs inside a gate a person can flip — automatic, manual, or paused — from the dashboard, without a deploy. Autonomy is a setting, not a leap of faith.

The zooms.

Eight, in order — each opens one region of the picture above. Stop at any point and you still hold a correct picture; go all the way and the last zoom is a repo you can build your own system on.

  1. zoom 1 of 8ArchitectureHow the system is organized: agents make things, humans oversee, one catalog sits between them.→
  2. zoom 2 of 8CloudflareWhat it runs on — every service and every connection, drawn from the infra code itself.→
  3. zoom 3 of 8AgentsWhat an agent is here, and how one works inside: memory, tools, prompts, an off switch.→
  4. zoom 4 of 8QAHow quality is controlled — and the failure that made QA a core part of the system.→
  5. zoom 5 of 8ToolingHow it is developed and shipped: CI, infrastructure as code, one gateway for every model call.→
  6. zoom 6 of 8FeedHow each person's feed is put together — and why no AI model sits in that path.→
  7. zoom 7 of 8Data & analyticsWhat gets measured, how the feed and the content strategy learn from it, and where privacy fits.→
  8. zoom 8 of 8Starter kitThe same chassis as a public repo — start your own agent-run app from it.→