# Vibe coding from scratch: bb, Claude Code, Codex, and OpenCode > A free hands-on course for people who have only used AI in a chat window. You install bb, Claude Code, Codex, and OpenCode on Mac or Windows (Linux setup is covered too), learn your way around the interface, and build your first app: from idea and spec to a working version, a review by a second agent, and access from your phone. A separate module covers skills, browser control, and letting an agent work with your files and folders. 11 modules with quizzes, checklists, ready-to-use prompts, and a glossary. By Yury Kononov, CTO. Author: Yury Kononov, CTO (https://ykononov.com/). Language: English. License: CC BY 4.0. Updated: 2026-11-28. The course is free, with no sign-up. All modules are open, and the quizzes are optional. ## Modules - [01. From chat to agent](https://ykononov.com/vibecoding/en/chat-vs-agent/): 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. - [02. What you’ll need](https://ykononov.com/vibecoding/en/what-you-need/): bb is free; you pay only for the models, through your own subscriptions: Claude Pro or higher for Claude Code, ChatGPT for Codex. OpenCode includes free models such as DeepSeek V4.1 Flash Free. To sign in to bb you need a free GitHub account. Any computer with 8 GB of memory will do. - [03. Installing the agents](https://ykononov.com/vibecoding/en/install-claude-code-codex-opencode/): Each agent installs with a single terminal command; you then start it and sign in to your account through the browser. Claude Code: curl -fsSL https://claude.ai/install.sh | bash. Codex: curl -fsSL https://chatgpt.com/codex/install.sh | sh. OpenCode: curl -fsSL https://opencode.ai/v2/install | bash. On Windows, install Git for Windows first. - [04. Installing bb](https://ykononov.com/vibecoding/en/install-bb/): On a Mac with Apple silicon, install bb from the .dmg file at getbb.app/download or with brew install --cask bb. On Windows, use the .exe installer; Git for Windows is required. On Linux, Intel Macs, and servers, run npx bb-app@latest and open the interface at localhost:38886. On first launch, the setup guide lists the agents it found and offers to sign you in with GitHub. - [05. A tour of bb](https://ykononov.com/vibecoding/en/bb-interface/): bb is built on three concepts: a project is the folder that holds your app, a thread is a conversation with an agent about one task, and an environment is the folder the agent works in. Below the prompt box you choose the agent, model, project, and permissions. Approve for me and Accept Edits suit beginners; Full Access removes every restriction. - [06. Your own app: from idea to plan](https://ykononov.com/vibecoding/en/spec-and-plan/): Don’t tell the agent “build me an app.” First ask it to interview you and write the spec to a SPEC.md file, then use plan mode to get the work broken into stages and approve them. That way the result follows your decisions, not the model’s guesses. - [07. Building the first version](https://ykononov.com/vibecoding/en/build-first-app/): Run the work one stage at a time and check the result in the browser. Ask for one change at a time, describing what you see now and what you want instead, ideally with a screenshot. Give the agent the whole error message; if two attempts don’t fix it, roll back to the last commit, start a new thread, or switch to another agent. - [08. Safety net: history, review, rules](https://ykononov.com/vibecoding/en/git-review-agents-md/): Commit after every step that works, so you always have a point to roll back to. Look at how many files the agent changed and which ones. Have important changes reviewed in a new thread by an agent from a different company. Write the project’s rules in AGENTS.md, which every new thread reads. - [09. Several agents at once](https://ykononov.com/vibecoding/en/parallel-agents-worktrees/): To keep two agents from editing the same files, give each thread a Worktree environment, a separate copy of the project. Merge finished work into the main version one thread at a time. Use the strongest model for planning and hard bugs, and OpenCode’s free models for small changes and review. The real limit on the number of agents is your own attention. - [10. The agent as an assistant: skills, the browser, your files](https://ykononov.com/vibecoding/en/skills-browser-files/): A skill is a folder with a SKILL.md file that describes a procedure; the agent loads it when a task matches, or when you invoke it with a slash command. To work on websites where you’re signed in, the agent needs a separate browser, such as ego lite with the ego-browser skill. The main rules: only a human enters passwords, codes, and payment details, and the agent stops before publishing, deleting, or sending anything. For files: work on a copy, ask for a plan first, then try it on ten files. - [11. From your phone, with plugins, and without incidents](https://ykononov.com/vibecoding/en/bb-connect-mobile-app/): bb connect gives you a personal address, yourname.getbb.app, that opens on your phone, while the work itself still runs on your computer. The bb mobile app installs through TestFlight on iPhone and as an APK file on Android; you link the phone in Settings → Mobile. Keep the agent’s permissions to the minimum, and never paste passwords or keys into messages. ## Reference pages - [FAQ](https://ykononov.com/vibecoding/en/faq/): 25 questions about pricing, safety, Windows, the mobile app, and free models - [Glossary](https://ykononov.com/vibecoding/en/glossary/): 38 terms in plain language - [Full text of the course in one file](https://ykononov.com/vibecoding/en/llms-full.txt) ## Key facts - bb (getbb.app) is a free, open-source app for managing AI agents; it does not write code itself. - Agents: Claude Code (Anthropic; requires a Claude Pro subscription or higher), Codex (OpenAI; requires a ChatGPT account), OpenCode (open source; offers free models such as DeepSeek V4.1 Flash Free). - Installing bb: on a Mac with Apple silicon, use the .dmg or brew install --cask bb; on Windows, the .exe (alpha), which requires Git for Windows; on Linux, Intel Macs, and servers, run npx bb-app@latest, and the interface opens at http://localhost:38886. - You sign in to your bb account with GitHub; signing in is required for bb connect, the mobile app, notifications, and voice input. - The bb mobile app: TestFlight (beta) on iPhone, an APK (alpha) on Android; you link the phone in Settings → Mobile. - Skills: a skill is a folder with a SKILL.md file; in bb, skills live in .bb/skills/ (project) and ~/.bb/skills/ (personal), and are invoked by typing a slash in the prompt box; one skill works with every agent. - A browser for the agent: ego lite (Citro Labs; macOS and Windows) with the ego-browser skill; only a human enters passwords, codes, and payment details, and the agent stops before irreversible actions. - Working with files: a folder becomes a project; work on a copy, ask for a plan first with no changes made, try it on ten files, and move files instead of deleting them. - The course method: a right-sized idea → a SPEC.md spec → plan mode → small steps with checks → commit → review by a second agent.