ykononov.com / Vibe coding from scratch: bb, Claude Code, Codex, and OpenCode / Module 01
AI agent vs. chatbot: bb, Claude Code, Codex, and OpenCode
How an agent differs from a chatbot, who does what in this setup, and what you’ll have by the end of the course.
A chatbot answers with text that you then have to copy over to your computer yourself. An agent works directly in the project folder: it creates files, runs the program, reads the errors, and fixes them. Claude Code, Codex, and OpenCode are agents; bb is a free app that lets you run all of them from one window.
A chatbot answers, an agent acts
Think back to the last time you asked a chatbot to write a program. It gave you code. You copied the code into a file, ran it, got an error, pasted the error back into the chat, got a fix, and went around again. In that loop you’re the courier, carrying text between the chat and your computer. The AI never once sees what actually happened when the program ran.
An agent works differently. It’s the same language model, but with hands: it works directly in a folder on your computer. It creates the files, runs the program, reads the error message, and fixes the problem, all on its own. You set the task and look at the result.
It’s roughly the difference between a consultant on the phone and a handyman who comes to your house. The first will explain in detail how to hang a shelf. The second will hang it, and all you have to say is that it should go a few inches to the left.
Who does what
The course title names four tools, which looks intimidating at first. In practice there are only two roles: three agents and one control panel.
| Tool | What it is | What it costs |
|---|---|---|
| bb | The control panel. A window where you manage projects and conversations with agents, and see their terminal, their file changes, and a browser. It doesn’t write code itself | Free, open source |
| Claude Code | Anthropic’s agent. Runs on Claude models | A Claude subscription, Pro or higher |
| Codex | OpenAI’s agent. Runs on GPT models | A ChatGPT subscription |
| OpenCode | An independent open-source agent. It connects to models from different companies and offers a set of free models, such as DeepSeek | Free, or $10 a month |
On their own, all three agents live in the terminal: a black window full of text, with no buttons. Developers are fine with that. Most other people aren’t. bb solves the problem by giving the agents a familiar, chat-like interface and adding things the terminal doesn’t have at all: several agents side by side, history, a view of what changed, and access from your phone.
If you manage people, think of it this way: the agents are contractors, and bb is your office with the task board on the wall. You can swap contractors or hire several at once. The board stays the same.
Why three agents and not one
The honest answer: one is enough to get started. The course is built so that you can finish it on a single subscription. You won’t need a second agent until module 8, and a free one will do there.
Still, there are reasons to keep more than one, and they’re practical.
- A second opinion. An agent is bad at finding its own mistakes, the same way people are bad at proofreading their own writing. A model from a different company looks at the code with fresh eyes. Having one agent write and another check noticeably improves quality and costs almost nothing
- Usage limits. A subscription caps how much work you get every few hours and every week. When one agent hits its limit, another picks up where it left off
- Different strengths. These shift with every model release, so I’m not including a “who’s better at what” table. It would be out of date before you finished reading it. What matters is this: when one agent gets stuck, a second one often solves the problem on the first try
- Price. Simple tasks don’t have to go to the most expensive model
That’s what bb is for: switching agents takes one click, not a move to a different program.
What you’ll have by the end
The course takes you from a computer with nothing set up to a working app.
- Modules 2–4: preparation and installation. Subscriptions, agents, bb. The dullest part, but you only do it once
- Module 5: a tour of the interface and your first conversation with an agent
- Modules 6–7: your own app. The idea, the spec, the plan, a first working version, and improvements
- Modules 8–9: safety nets and scale. Change history, review by a second agent, several agents working at once
- Module 10: the agent as a helper beyond code. Skills, browser control, working with files and folders
- Module 11: access from your phone and the bb mobile app, plugins, security
The running example is a habit tracker: a small web app where you check off what you did each day and see your stats. You can build that, or bring your own idea from the start. In module 6 we’ll look at how to pick one that’s the right size.
Review questions
What’s the main difference between an agent and a chatbot?
An agent works with files and commands on your computer and sees what happens. The model can be exactly the same. The difference is that the agent has “hands”: it creates files, runs the program, and sees the errors without you in the middle.
What role does bb play in this setup?
It’s a control panel: a window for managing the agents installed on your computer. bb doesn’t write code. It gives the agents an interface and adds what the terminal lacks: several agents side by side, history, a view of changes, and remote access.
Why keep a second agent from a different company?
To get a second opinion on the code and keep going when you hit a usage limit. You can start with one. The second gives you a fresh pair of eyes and a backup when you hit a limit, but it isn’t required.
What is this course’s approach not suited for?
Services that handle other people’s money or personal data, with no specialist involved. Prototypes and personal tools are exactly what it’s for. Where a mistake costs someone else money or leaks their data, the result has to be checked by a person who understands the code.
This page covers a single module. The interactive version of the course has steps, quizzes, and checklists that save your progress.
Open this module in the course →By Yury Kononov, Chief Technology Officer. The course is free and licensed under CC BY 4.0. Updated 2026-11-28. Contact the author: @ykononov.