ykononov.com bb + agents / hands-on course Glossary FAQ RU

ykononov.com / Vibe coding from scratch: bb, Claude Code, Codex, and OpenCode / Module 05

The bb interface: projects, threads, models, and permissions

Module 05 of 11 · 15 min · updated 2026-11-28

Project, thread, environment, and a first conversation with an agent that actually does something.

In short

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.

Three words: project, thread, environment

All work in bb rests on three concepts. Let’s go through them using things you already know.

A project is a folder on your computer that holds one app. The closest thing in the chat world is a “project” in ChatGPT or Claude: shared context for several conversations. Here, though, the context is real files.

A thread is one conversation with one agent. It looks like a familiar chat: you write, the agent replies. The difference is that between your message and its reply the agent does work, and you can see every step: which file it opened, which command it ran, what came back.

An environment is where a thread works with files. There are two kinds, and for now the first is all you need:

An office analogy makes this easier to remember. The project is a case file on the desk. A thread is a conversation with one particular employee about that case. The environment is the desk they work at, either a shared one or their own.

The main ruleOne task, one thread. In a chat app you’re used to one endless conversation about everything, and that doesn’t work with agents. A model has a limited attention span, called its context, and in a long conversation it starts to forget the beginning and mix up old decisions with new ones. When a task is done, start a new thread.

What’s where in the window

The bb window has four areas. First a diagram, then a real screenshot.

THE BB WINDOW · DIAGRAM, NOT A SCREENSHOT 1 · SIDEBAR habits First version Review by Codex Dark theme another project … 2 · THREAD: YOU AND THE AGENT Add a dark theme Reading styles.css… Editing 2 files… Done, checked in the browser Describe a task… agent · model · permissions · plan 3 · PROMPT BOX 4 · RIGHT PANEL terminal $ npm run dev changes + 24 lines − 3 lines browser your app, open right inside bb
The bb window: the sidebar with the thread list on the left, a conversation with the Claude Code agent in the center, and on the right a panel with the branch, commits, and changed files
The real bb window. Threads in the sidebar on the left; the conversation with the agent and its steps in the center; on the right, the panel with the environment, branch, commits, and changed files. Open the panel with the icon in the top-right corner or with Ctrl + J.

A few small things worth finding on day one:

The prompt box: who, with what, and with which permissions

In a regular chat app there’s one setting under the prompt box: the model. bb has more, and they determine what happens after you press Enter.

A new thread in bb: the prompt box with a task, and below it the model, the habits project, the Project checkout environment, the branch, and the Approve for me permission mode
A new thread. Below the task text, on the left: the agent and model. Under that: project, environment, and branch. On the right: the agent’s permissions.
SettingWhat you chooseWhere to start
AgentClaude Code, Codex, opencodeYour main one, the one you have a subscription for
ModelWhich of that agent’s models to useThe default. Save the most powerful one for planning and hard-to-fix bugs
ReasoningHow much the model thinks before it acts: Low, Medium, High, and higherMedium. Higher is smarter but slower, and uses up your limit faster
Project and environmentWhich folder to work in: Project checkout or WorktreeYour project and Project checkout
PermissionsWhat the agent may do without askingApprove for me or Accept Edits

You choose the agent, model, and reasoning level in a single menu; click the model name to open it. The icons at the top of the menu switch between agents.

The model menu in bb: agent icons, a list of models, and Reasoning levels from Low to Ultra
The model menu: agent icons at the top, the selected agent’s models below, and Reasoning at the bottom.

Permissions deserve a closer look, because this is the only setting that affects your safety.

The Permission mode menu in bb: Accept Edits, Approve for me, and Full Access, each with a description
The permissions menu, on the right below the prompt box. Approve for me is selected by default.
About Full AccessDon’t turn it on during this course. Agents make mistakes, and a mistake with full permissions can mean, say, deleting the wrong folder. The first two modes confine the agent to the project folder, and that’s enough for everything we’ll do.

One more action is tucked behind the + button on the left of the prompt box: Plan. The agent first tells you what it intends to do and waits for your approval. We’ll use it at the start of every substantial task. The same menu is where you attach files.

The menu behind the plus button in the bb prompt box: Attach files, Skills, Plan, Goal, Automation, Plugin
The menu behind the + button: attach files and turn on plan mode.

One last difference from chat: you can write to the agent while it’s working. Your message either reaches it right away and corrects its course (“don’t touch that file”), or waits in a queue and is handled after the current task.

Warm-up: your first thread

Before we start on the app, let’s make sure everything works, with a task that’s hard to get wrong.

  1. Create an empty folder on your computer, for example bb-test in Documents.
  2. In bb, click New thread. Below the prompt box, click No project, choose New project, and select the folder you created.
  3. The project list below the bb prompt box: existing projects, New project, Don’t work in a project
    Clicking the project name below the prompt box opens the list. New project is at the bottom.
    The Add project dialog in bb: a folder picker and a Project name field
    The Add project dialog: find your folder, adjust the project name if you like, and click Add project.
  4. Check that your agent is selected and that the environment is Project checkout.
  5. Send your first message:
    Create a file called hello.html in this folder. It should be a page that says “It works” in big letters, with today’s date under it. Then tell me in plain English what you did and how to open the page.
  6. Watch what happens. The agent creates the file, may ask permission to do something (allow it), and writes a reply.
  7. Open the page: double-click the file in the folder, or tell the agent, “Open it in the built-in browser.”

Now do the thing that sets an agent apart from a chat. Without copying any code, write in the same thread:

Make the background dark and the text yellow, and add a button that changes the text to “It definitely works” when I click it.

Refresh the page. You’ve just changed a program with one sentence, and you never opened a code file. That’s the whole principle. From here on, all we do is make the tasks bigger and the process more reliable.

Before you move on
  • I created a project and a thread
  • The agent created the file, and the page opened
  • I expanded at least one of the agent’s steps and looked inside
  • I changed the page with a second message
  • I found where to switch the agent, the model, and the permissions

Review questions

What is a thread in bb?

One conversation with one agent about one task. The folder is a project, and the separate copy is a Worktree environment. A thread is the conversation in which an agent carries out a task.

Why is it better to open a new thread for a new task?

A model’s context is limited: in a long conversation it forgets the start and gets confused. There’s no message cap and no discount. It comes down to context: the longer the conversation, the worse the model holds on to what you agreed early on.

Which permission mode should a beginner leave off?

Full Access: the agent can do anything on your computer that you can. The first two modes keep the agent inside the project folder. With full permissions, an agent’s mistake can cost you any of your files.

The agent is working, and you realize it’s heading the wrong way. What can you do?

Write to it right now; your message corrects its course mid-task. You can write to an agent while it works: the message either reaches it right away or joins the queue. You can also simply stop it.

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 →
← 04. Installing bb 06. Your own app: from idea to plan →

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.