CoachDash gives each LearnDash student a persistent AI tutor that knows their quiz scores, tracks weak topics, and generates nightly study plans.
Each student gets their own Cloudflare Durable Object with a private SQLite database. No shared context, no data leakage between learners.
Automatically identifies knowledge gaps from per-question quiz data using LearnDash ProQuiz statistics. The AI coach knows exactly where to focus.
A cron job generates personalized study plans every night based on the learner's latest progress, weak topics, and completion history.
WebSocket-powered chat with an AI tutor that references the learner's actual quiz scores and progress — not generic responses.
Every event from WordPress to Cloudflare is signed with HMAC-SHA256 and verified with constant-time comparison. No unauthorized data ingestion.
WordPress sends non-blocking webhooks. Quiz completion, lesson progress — nothing waits on AI processing. Learners never feel latency.
LearnDash fires quiz/lesson/course completion hooks as the learner progresses through content.
The CoachDash plugin captures the event, signs it with HMAC, and sends a non-blocking POST to the Cloudflare Worker.
The learner's Durable Object receives the payload, verifies the signature, and stores quiz scores, completions, and per-question results in SQLite.
The learner chats with their personal AI tutor, which pulls from their real data to give targeted advice, explanations, and study plans.
LearnDash (WordPress) Cloudflare Workers
ββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββ
β β β β
β Quiz completed βββββΌββ HMAC POST βββΆβ Worker (routeAgentRequest) β
β Lesson completed β β β β
β Course completed β β βΌ β
β Topic completed β β LearnerAgent (Durable Object) β
β β β βββ SQLite: scores, completions β
β ββββββββββββββββββ β β βββ Cron: nightly study plan β
β β [coach_chat] ββββΌββ WebSocket βββΆβ βββ Chat: AI tutor (LLaMA 3.3) β
β β shortcode β β β βββ State: real-time sync β
β ββββββββββββββββββ β β β
ββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββ
CoachDash is open source. Deploy the Worker, install the plugin, and every student gets their own AI coach.
Get Started on GitHub