ykononov.com / Vibe coding from scratch: bb, Claude Code, Codex, and OpenCode / Module 05
The bb interface: projects, threads, models, and permissions
Project, thread, environment, and a first conversation with an agent that actually does something.
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:
- Project checkout: the agent works directly in the project folder. Simple and easy to follow, and fine as long as you’re doing one task at a time
- Worktree: bb creates a separate copy of the project for the thread. You need this when several agents work at once; that’s module 9
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.
What’s where in the window
The bb window has four areas. First a diagram, then a real screenshot.

- 1. Left: the sidebar. The list of threads. The icon next to each title shows which agent runs the thread, and a dot means there’s something unread. New thread is at the top; at the bottom are the settings gear and a phone icon that leads to the mobile app
- 2. Center: the thread. Your messages, the agent’s steps, and its replies. Steps are collapsed; expand any of them to see exactly what the agent did
- 3. Bottom: the prompt box. This is where you write the task and choose who carries it out and how. The next step covers it
- 4. Right: the right panel. Details about the thread: project, environment, branch, commits, and changed files. It’s also where you open the terminal your app runs in and the built-in browser
A few small things worth finding on day one:
- Files and images can be dragged straight into the prompt box. A screenshot of a problem explains it better than three paragraphs of text
- Voice input is the microphone icon in the prompt box. It works once you’ve signed in to your bb account. Dictating tasks is convenient: you end up giving more detail than you would typing
- Search covers all threads and messages, for when you can’t remember which conversation something came up in
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.

| Setting | What you choose | Where to start |
|---|---|---|
| Agent | Claude Code, Codex, opencode | Your main one, the one you have a subscription for |
| Model | Which of that agent’s models to use | The default. Save the most powerful one for planning and hard-to-fix bugs |
| Reasoning | How much the model thinks before it acts: Low, Medium, High, and higher | Medium. Higher is smarter but slower, and uses up your limit faster |
| Project and environment | Which folder to work in: Project checkout or Worktree | Your project and Project checkout |
| Permissions | What the agent may do without asking | Approve 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.

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

- Accept Edits: the agent freely changes files inside the project and asks your permission for anything outside it
- Approve for me: the same boundaries, but an automatic check grants the permissions. It lets safe actions through and stops questionable ones. This is the default mode
- Full Access: no restrictions. The agent can do anything on your computer that you can
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.

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.
- Create an empty folder on your computer, for example
bb-testin Documents. - In bb, click New thread. Below the prompt box, click No project, choose New project, and select the folder you created.
- Check that your agent is selected and that the environment is Project checkout.
- 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.
- Watch what happens. The agent creates the file, may ask permission to do something (allow it), and writes a reply.
- 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.
- 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 →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.