Skip to content

Platforms

Bwat for Visual Studio Code

Keep the agent beside your code, give it the context already open in your editor, and review every proposed change as a real diff.

Install and open Bwat

  1. Install Bwat from the Visual Studio Marketplace.
  2. Open a project folder or workspace in VS Code.
  3. Select the Bwat icon in the Activity Bar, then choose New Session.
  4. Follow the browser sign-in the first time. When it finishes, return to VS Code and send a message.

Open the Command Palette and run Bwat: Open Welcome whenever you want to revisit the built-in setup tour.

Review changes in the editor

When an edit needs approval, Bwat opens a native, editable diff beside the chat. The existing file is on the left and the proposal is on the right. You can change the proposal before accepting it.

Bwat chat beside an editable code review diff in Visual Studio Code
A Manual-mode edit waiting for review. Save the proposed side to approve it.
  • Press Ctrl+S on Windows or Linux, or Cmd+S on macOS, while the proposed side is active to approve exactly what you see.
  • Choose Allow in chat to accept the proposal without editing it yourself.
  • Close the review tab without saving, or choose Deny & Stop, to reject the change and stop the run.
  • Choose Tell Bwat what to do differently when the direction is close but needs correction.

Bwat only changes the file after you approve it in Manual mode. Switch permission modes when you want a different balance between review and speed.

Give Bwat useful editor context

Bwat can see the active file and your current selection, so requests like explain this or refactor this function can start from what is already on screen. Type @ in the message box to attach another workspace file by path.

Examples
Explain the selected function and show me where it is called.

@src/auth/session.ts Add a test for an expired refresh token.
Follow the existing test style and run only the relevant test file.

Use /explain with a selection or active file for a guided explanation. Use /init once per project to let Bwat propose a concise BWAT.md with the commands and conventions it should remember.

Choose how much Bwat can do

ModeBehaviorUse it when
ManualAsks before edits and other actions that can change somethingYou are learning the project or want close review
Edit automaticallyApplies file edits, but still asks before shell commands and web fetchesYou are reviewing changes as Bwat works
PlanStudies the project and proposes an approach without editingThe request is broad, risky, or unclear
AutoWorks without action-by-action approvalThe task is contained, reversible, and well understood

Change modes from the selector beside the message box or run /mode. Read permission modes before using Auto on important work.

Continue earlier work

Select the Bwat icon in the Activity Bar to see recent sessions, or run /history in chat. Opening a session restores the conversation so you can continue with the same project context.

Work with Source Control

Open VS Code Source Control and run Bwat: Generate Commit Message to draft a message from the current diff. The Bwat view in Source Control also provides a plain-language summary and a green, orange, or red review signal to help you decide what deserves a closer look before committing.

Treat the Source Control summary as a review aid, not a replacement for reading the diff or running the project checks.

Useful commands

CommandWhat it does
/clearStart a fresh conversation
/compactCondense a long conversation while keeping the important work
/historyOpen an earlier session
/modeChange the permission mode
/effortChoose how deeply Bwat should work through the request
/explainExplain the current selection or active file
/initPropose project instructions in BWAT.md
/feedbackSend product feedback from the extension
/helpOpen the Bwat documentation in your browser