What AI agents are
Learn what makes an agent different from a chatbot and where OpenCode fits.
Goal
Learn what makes an agent different from a chatbot and where OpenCode fits.
Before you start
- Read the welcome lesson
- Keep the agent safety rule in mind
An AI agent is a tool that can take a goal, inspect files or context, suggest steps, and sometimes run actions for you.
A simple mental model
Think of an agent as a careful assistant sitting beside your terminal. It can read the project, propose edits, run checks, and continue from one task to the next.
The important word is careful. You still own the decision. You should review commands, understand risky actions, and protect private information.
What agents can help with
- Building a website or portfolio.
- Explaining unfamiliar code.
- Debugging errors.
- Writing scripts for repetitive computer tasks.
The workshop agent
We will use OpenCode as the hands-on agent because it fits the terminal workflow and gives us one focused tool to learn deeply.
Other agents will appear in the catalog as references. The catalog should help you compare tools without forcing you to install everything in one session.
The golden rule
Use agents to move faster, not to stop thinking. If the agent touches your files, installs software, deletes something, or asks for a token, slow down and verify the step.
Lesson checklist
Tick these as you verify them. Signed-in students sync to the workshop dashboard; everyone else keeps progress in this browser.
Local progress
Save this lesson on this device.
No account needed yet. This only stores the lesson slug in your browser, not commands, secrets, or project files.