Authoring a course
If you haven’t seen a minimal course yet, start with Build your first course. This guide covers day-to-day authoring with an AI agent, personalizing existing courses, and publishing reference sites.
1. Design from outcomes backward
Section titled “1. Design from outcomes backward”- Define Level Outcomes (
level.yaml): observable capabilities expected by the end of a level. - Sequence Tasks (
tasks.yaml): concrete, bounded scenarios serving those outcomes. - Select or add Concepts and Skills: reuse entries from the shared language library (
uses_library), and add any course-specific items inlocal_concepts.yaml. - Author Lessons, Weaving, and Optional Vocab Packs (
tasks/<slug>.yaml,vocab_packs/<slug>.yaml): Core presentations and utterances (weaving closed compositional sets like numbers, days, and clock times across Spine tasks within the 4–7 target budget) leading intoperform,role_play, orlistening, plus optional off-spinevocab_packs(topicalorexam) for non-essential domain or exam-wordlist breadth.
2. Author with an AI agent (MCP)
Section titled “2. Author with an AI agent (MCP)”With the MCP server connected (Getting started), describe the learners, language, and goal:
Create a short French course for English-speaking beginners visiting a café. Teach them to order a drink, ask its price, and pay. Use English explanations. Propose the learning goals and Tasks, then build the first Task for review.
Use the agent’s MCP authoring tools for:
- Inventory edits (adding Concepts, managing Concept Sets and Skills)
- Structural changes (reordering Tasks, moving teaching targets between lessons)
- Material edits (explanations, examples, dialogues, and annotations)
All inventory edits are checked against the latest file state so stale or conflicting writes are rejected automatically. Use Git to diff, commit, and revert versions as you iterate.
3. Personalize an existing course
Section titled “3. Personalize an existing course”Because prerequisites and teaching placements are explicit, you can fork a general course and adapt it for a specific audience:
- Move domain-relevant Tasks earlier in
tasks.yaml. - Add workplace vocabulary or expressions in
local_concepts.yaml. - Run
openl2 validate COURSE_DIRto see which prerequisites, Exercises, or prior reviews need to move with your changes.
4. Build and inspect the Course Reference
Section titled “4. Build and inspect the Course Reference”Generate a static multi-page reference site to review lessons, dialogues, and annotations in a browser:
openl2 site course COURSE_DIR --out dist/siteAgents can inspect the same rendered sequence via the MCP tools render_course_material and render_presentation_progression, and run check_course_health to triage validation findings and stale audits.
5. Export and test with learners
Section titled “5. Export and test with learners”- Anki:
openl2 anki --help - Jetway:
openl2 jetway publish COURSE_DIR --visibility private
See Integrating OpenL2 for exporter details.