An AI-powered VS Code extension that helps university lecturers create structured lecture content — from outline to slides, teleprompter scripts, and quiz questions — using LLMs directly inside the editor.
Lecture Pilot guides you through a structured content creation workflow using milestones:
- Initialize Lecture — Generate a structured lecture outline with slide titles from a topic description and desired slide count.
- Brainstorm Literature — Get literature suggestions (textbooks, papers, online resources) relevant to your lecture topic, with web search support.
- Generate Slides from Titles — Automatically fill each slide section with content based on the generated outline.
- Generate Teleprompter — Create speaker notes/teleprompter scripts for each slide.
- Generate Quiz Questions — Produce quiz questions (Multiple Choice, Single Choice, True/False) based on the lecture content.
A built-in chat sidebar lets you interact with the LLM directly. The AI agent can read and edit your lecture file using tools — all file changes are previewed in a diff view and require your explicit approval before being applied.
- Complexity Watcher — Monitors your lecture content as you edit and flags sections that may be too complex for students.
- Format Watcher — Checks formatting rules (line length).
Both watchers are configurable and trigger automatically after a set number of character changes.
- Google Gemini — Supports Gemini 2.5 and 3.0 models.
- OpenAI — Supports GPT-5 family models.
Switch providers and models at any time via the status bar or command palette.
Lectures are written in Markdown with a custom DSL using HTML comment tags:
---
lehrvideo: true
...
---
<!-- scene name="Introduction" -->
<!-- slide -->
# Introduction
Slide content here...
<!-- teleprompter -->
Speaker notes for this slide...
<!-- quiz -->
## What is 2+2?
- 3 <!-- false -->
- 4 <!-- true -->
- 5 <!-- false -->- VS Code 1.105.0 or later
- An API key for at least one supported LLM provider:
- Google AI Studio (for Gemini models)
- OpenAI Platform (for GPT models)
- Install the extension (via
.vsixor from source). - Open or create a
.mdfile. - Open the Command Palette (
Ctrl+Shift+P) and run Lecture Pilot: Set API Key for Current Provider. - Use the Lecture Pilot sidebar or run milestone commands from the Command Palette.
All commands are available via Ctrl+Shift+P under the Lecture Pilot category:
| Command | Description |
|---|---|
Set Language for LLM |
Set response language (English / German) |
Set Model for LLM |
Choose the LLM model |
Set Thinking Level for LLM |
Set reasoning depth (Low / Medium / High) |
Set API Key for Current Provider |
Store your API key securely |
Clear API Key for Current Provider |
Remove stored API key |
Initialize Lecture |
Generate a lecture outline |
Brainstorm New Lecture |
Get literature suggestions |
Generate Content From Titles |
Fill slides with content |
Generate Teleprompter From Slides |
Create speaker notes |
Generate Quiz Questions |
Generate quiz questions |
Toggle Complexity Watcher |
Enable/disable complexity analysis |
Start Complexity Analysis |
Run complexity analysis manually |
Toggle Format Watcher |
Enable/disable format checking |
Start Format Analysis |
Run format analysis manually |
# Install dependencies
npm install
cd webview-ui && npm install && cd ..
# Build everything (webview + extension)
npm run build:all
# Package as .vsix
npx @vscode/vsce package --allow-missing-repository# Watch mode (extension + webview)
npm run watch:all
# Run tests
npm test
# Lint
npm run lintPress F5 in VS Code to launch the Extension Development Host for testing.
Apache License 2.0