Open Source · Built on Cloudflare Workers

Every learner gets their own
AI coaching agent

CoachDash gives each LearnDash student a persistent AI tutor that knows their quiz scores, tracks weak topics, and generates nightly study plans.

What makes CoachDash different

🧠

Per-Learner AI Agent

Each student gets their own Cloudflare Durable Object with a private SQLite database. No shared context, no data leakage between learners.

πŸ“Š

Weak Topic Detection

Automatically identifies knowledge gaps from per-question quiz data using LearnDash ProQuiz statistics. The AI coach knows exactly where to focus.

πŸ“‹

Nightly Study Plans

A cron job generates personalized study plans every night based on the learner's latest progress, weak topics, and completion history.

πŸ’¬

Real-Time AI Tutoring

WebSocket-powered chat with an AI tutor that references the learner's actual quiz scores and progress — not generic responses.

πŸ”

HMAC-Signed Webhooks

Every event from WordPress to Cloudflare is signed with HMAC-SHA256 and verified with constant-time comparison. No unauthorized data ingestion.

⚑

Zero Learner Impact

WordPress sends non-blocking webhooks. Quiz completion, lesson progress — nothing waits on AI processing. Learners never feel latency.

From quiz to coaching in seconds

Learner takes a quiz

LearnDash fires quiz/lesson/course completion hooks as the learner progresses through content.

WordPress sends a webhook

The CoachDash plugin captures the event, signs it with HMAC, and sends a non-blocking POST to the Cloudflare Worker.

Agent ingests the data

The learner's Durable Object receives the payload, verifies the signature, and stores quiz scores, completions, and per-question results in SQLite.

AI coach responds

The learner chats with their personal AI tutor, which pulls from their real data to give targeted advice, explanations, and study plans.

How it all connects

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           β”‚
 β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚                β”‚                                        β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
      

Built with modern infrastructure

Cloudflare Workers
Durable Objects
SQLite
Agents SDK
Vercel AI SDK
Workers AI (LLaMA 3.3 70B)
React
WebSocket
WordPress / LearnDash
HMAC-SHA256
TypeScript
PHP 8.0+

Start coaching your learners today

CoachDash is open source. Deploy the Worker, install the plugin, and every student gets their own AI coach.

Get Started on GitHub