OpenCode School
A free, self-paced course for learning OpenCode, the open-source AI coding agent.
OpenCode School is a free, self-paced course for learning OpenCode, the open-source AI coding agent. No account required, no personal data collected.
Why I built it
OpenCode is a powerful tool, but it has a learning curve. There are models, permissions, MCP servers, skills, custom commands, workspaces, and a dozen other concepts to wrap your head around. The official docs are good, but they're reference material, not a guided path.
I wanted something more like nodeschool.io, the community-driven workshop series that helped a generation of developers learn Node.js. A course that meets you where you are, walks you through things step by step, and lets you learn by doing.
How it works
The first lesson, Installation, happens in the browser. It runs a system check and walks you through installing OpenCode Desktop. After that, the rest of the course happens inside OpenCode itself.
Each lesson page has a prompt you copy and paste into OpenCode. The agent reads the lesson content, works through the material with you interactively, quizzes you, and marks the lesson complete via an API call that syncs back to the website in real time. You see your progress update on the site without refreshing.
This means the course is self-reinforcing: you're learning OpenCode by using OpenCode.
Lessons
The course has 14 lessons that build on each other:
- Installation
- Interview (OpenCode tailors the course to you)
- Configuration
- Permissions
- Instructions (AGENTS.md)
- Models
- Commands
- Skills
- Tools (MCP servers)
- Plugins
- Agents (Plan vs Build)
- Sessions
- Images
- Workspaces
Exercises
After the lessons, there are 7 hands-on exercises where you build real things:
- Build a website (Hono + Cloudflare Workers)
- Run AI models (Replicate)
- Edit videos (ffmpeg + yt-dlp)
- Transcribe speech (Whisper)
- Drive a browser (Chrome DevTools MCP)
- Post to social media (Typefully)
- Use Git and GitHub
Stack
The site is built with Astro and hosted on Cloudflare Workers. Lesson content is authored in MDX. The progress tracking API is a simple Cloudflare Worker that stores completion state in KV.
The whole thing is open source: github.com/opencodeschool/opencode.school
Try it
Head to opencode.school and enroll. It takes about an hour to get through the lessons, longer if you dig into the exercises. It's free, and it'll stay free.