Build Agents with OpenCode
A build-along for people who can program. One shared project, one clear loop, and honest limits.
For students who can program and want to build a working agent with Python.
Your next step
The shared foundation is recommended first — the same seven courses for every track. You can skip it and start this track now.
Courses in this track
Every available course is open now. The shared foundation is recommended first, not required.
- 01
Just enough machine learning
Training and using a model are different. The limits of the model become the limits of your agent.
8 minStart - 02
OpenCode and a free model
Get the environment working and test a first model.
7 minIn development - 03
Choose a bounded task
Understand what makes a task appropriate for an agent versus a fixed workflow.
6 minIn development - 04
Give the model a tool
Define a small action the model can request.
7 minIn development - 05
Build the agent loop
Act, observe, continue or stop, with explicit limits.
7 minIn development - 06
Use evidence from course notes
Search the provided materials and return source-backed answers.
7 minIn development - 07
Add context and state
Decide what the agent needs to retain during a task.
7 minIn development - 08
Make it safer and more reliable
Permissions, approvals, errors, and untrusted instructions inside documents.
7 minIn development - 09
Test whether it works
Ordinary tasks, missing evidence, bad tool results, and failure cases.
7 minIn development - 10
Run a small Hugging Face model locally
Inspect the model information and license, check hardware needs, download and run it, then compare.
8 minIn development - 11
Create a PDF locally
Turn the source-backed study guide into a PDF after asking for confirmation.
6 minIn development
Courses marked “In development” are not available yet. The available courses are complete and playable now.