Innovation Dossier: LearnHouse (Next-Gen Open-Source Block-Based LMS & Composable Course Engine)
Naveen••Updated Sep 2, 2026🌱Living Document(Dossier v1.0)▾
Naveen
Intent & Architecture: Authored by Naveen.
Synthesized and transcribed under authorial stewardship by Antigravity.
Archived under EdLove Global Innovation Research Repository.
Open Knowledge Commons
Free for educational attribution and non-commercial reproduction.
Innovation Dossier: LearnHouse (Next-Gen Open-Source Block-Based LMS & Composable Course Engine)
Category: 8. Open Source LMS & Composable Commons
Origin / Custodian: France & Global / LearnHouse Community & Incubated by Luc Agopian (2023–Present)
Official Open-Source Portal: learnhouse.app
GitHub Repository: github.com/learnhouse/learnhouse (AGPL-3.0 License)
Full-Stack Architecture: React / Next.js Frontend, Python / FastAPI Backend, PostgreSQL Database, Block-Based WYSIWYG Editor
Core Innovation: Bringing Notion-like fluid block editing and AI-assisted curriculum scaffolding into a 100% sovereign, self-hostable LMS
License: GNU Affero General Public License v3.0 (AGPL-3.0)
1. Executive Summary & Core Philosophy
LearnHouse is a next-generation open-source Learning Management System engineered to bridge the aesthetic and UX chasm between modern consumer note-taking tools (like Notion and Craft) and enterprise educational platforms.
For over twenty years, creating course content in standard learning management systems involved fighting clunky, slow, 1990s-era rich-text editors (TinyMCE, CKEditor) hidden behind multi-level bureaucratic forms. LearnHouse eliminated this cognitive friction through fluid, block-based composable course authoring:
- Notion-Like Block Canvas: Teachers create rich multimedia lessons seamlessly using intuitive slash commands (
/video,/quiz,/code,/math,/embed), dragging and dropping pedagogical blocks with zero latency. - Python / FastAPI High-Performance Backend: Engineered with asynchronous Python (FastAPI + SQLModel / SQLAlchemy), delivering lightning-fast sub-50ms API response times and easy extensibility for machine learning workflows.
- AI-Assisted Curriculum Scaffolding: Built-in sovereign LLM integration allowing educators to generate quiz variations, translate lesson units, and summarize complex topics directly inside the block editor canvas.
2. Architectural & Technical Foundation
┌────────────────────────────────────────────────────────────────────────┐
│ LEARNHOUSE FULL-STACK SYSTEM TOPOLOGY │
├────────────────────────────────────────────────────────────────────────┤
│ • Client UI: Next.js / React (Modern TailwindCSS & Radix UI Primitives)│
│ • Editor Engine: Block-Based Document Schema (Slash commands `/`) │
│ • API Gateway: Python FastAPI Async Microservices (`uvicorn` runtime) │
│ • Database & ORM: PostgreSQL + SQLModel / Pydantic (Type-safe models) │
│ • Storage Engine: S3-Compatible Object Store (MinIO / AWS S3) │
│ • AI Engine: Local/Cloud LLM Connectors (Ollama / OpenAI / Claude) │
│ • Containerization: 1-Command Docker Compose Deployment (`docker run`) │
└────────────────────────────────────────────────────────────────────────┘
-
The Polymorphic Block Document Model:
- Lessons are stored as hierarchical JSON Abstract Syntax Trees (ASTs), where each block is an autonomous reactive component: interactive code editors (with syntax highlighting), LaTeX mathematical formulae, interactive flashcards, or self-hosted video streams.
-
FastAPI Asynchronous Backend:
- Utilizes Python’s asynchronous event loop (
async/await) and Pydantic data validation, providing automatic OpenAPI (Swagger) documentation generation and seamless integration with Python data science and machine learning libraries.
- Utilizes Python’s asynchronous event loop (
-
Sovereign Local-AI Integration:
- Supports local offline LLMs running via Ollama (e.g. Llama-3, Mistral), allowing air-gapped schools and universities to run automated curriculum assistance without leaking private student data to external commercial cloud providers.
3. Comparative Matrix: Legacy Enterprise LMS vs. LearnHouse
| Dimension | Legacy Enterprise LMS (Moodle / Canvas) | LearnHouse Composable Platform |
|---|---|---|
| Content Authoring | Archaic multi-step forms & slow WYSIWYG | Fluid Notion-like block editor (/ slash commands) |
| Backend Stack | Monolithic PHP / Ruby on Rails | Modern high-performance Python FastAPI async API |
| User Interface | Cluttered, confusing menus & navigation | Clean, distraction-free modern minimalist canvas |
| AI Integration | None or expensive third-party plugins | Native pluggable local/cloud LLM course assistant |
| Self-Hosting DX | Complex multi-day configuration | Instant single Docker Compose container deployment |
4. Synthesis & Key Lessons for EdLove & Gurudevi (Sri Lanka)
Strengths to Emulate:
- The Frictionless Slash-Command Canvas: Showing that lesson creation should feel as fluid and enjoyable as writing a personal note.
- Native Python AI Extensibility: Making it trivial for educators to integrate local, sovereign AI models directly into their daily teaching workflow.
Limitations:
- Enterprise Gradebook Depth: Still maturing its advanced institutional analytics, attendance registers, and complex multi-cohort grading rubrics.
✦ Direct Grounding for Gurudevi’s Lesson Builder:
- In Sri Lanka, public school teachers find government e-learning portals too confusing and slow to author custom materials, forcing them back to physical chalkboard notes.
- Gurudevi’s Lesson Canvas: Gurudevi adapts LearnHouse’s block-based slash-command editor architecture: giving Sri Lankan educators an ultra-fast, offline-capable lesson planning canvas that runs smoothly on their phones and tablets, allowing them to weave Sinhala/Tamil text, math equations, and local diagrams in seconds.