What you'll learn in this OpenCode course
Learn to use agentic AI tools effectively as a software engineer, not just a vibe coder. You'll understand how models, tools, prompts, context, rules, skills, MCP servers, and plugins all work under the hood. Coding agents let you ship code faster than any human could before. But without a talented human developer overseeing them, AI will make codebases worse, and bad code plus AI means more bad code.
Chapter List
1Agent Harness
Install OpenCode and see how coding agents differ from chat and autocomplete, whether you run them in a terminal, a GUI, or on a remote server.
2Models and Providers
Pick the right model for the job without lighting money on fire. Compare providers, token costs, reasoning models, and open-weight options you can host yourself.
3Tools
Agents are only as useful as the tools they can call. Use the built-in tools, write your own, and lock things down with permissions and sandboxing.
4Prompting
Write focused, well-scoped prompts, and learn when to plan, steer, cancel, or queue work while an agent is running.
5Agents
Build custom agents and subagents for specific jobs, each with its own prompt, tools, step limits, and permissions. Plus, when (rarely) to touch temperature.
6Context
Context is the agent's working memory, and it fills up fast. Manage sessions, compaction, forking, and undo so your agent doesn't lose the plot.
7Rules
Give every agent session the same project knowledge with a well-written AGENTS.md file that you keep up to date.
8Feedback Loops
Type checkers, formatters, and tests let an agent catch its own mistakes before you have to.
9Skills
Package your repeatable workflows as skills, custom commands, and dynamic prompts, and figure out when a skill beats a tool or a dedicated agent.
10MCP
Connect agents to outside services with the Model Context Protocol, including OAuth and code mode, without stuffing your context window full of tool definitions.
11Computer Use
Let agents click around in a real browser using accessibility trees, vision models, Playwright, and Chrome DevTools.
12Plugins
Extend OpenCode with your own hooks, transforms, and tools, then publish your plugin for other developers to install.
13Best Practices
You're still accountable for every line an agent writes. Debug with evidence, refactor safely, ship small changes, and run multiple agents without making a mess.