Chat
This page helps you talk to Brsh in the app. You ask for a change, and the chat edits your open file.
The chat uses the same tools as an outside agent. Each edit is one undo step. It shows in the agent activity list and as the agent cursor.
How to open the chat
- Press ⌘I, or click the AI tab in the right panel.
- The chat opens on the Chat tab, beside Agents.
How to ask for a change
- Select a layer if you want to change one. The chat sees your selection.
- Type your request. For example: "Make this rounder." Or: "A pricing screen."
- Press Enter.
- Watch the answer stream in. Click Stop to end it.
- Click a tool row to see what the chat did.
To point at more layers, type @ and pick them.
How to add a picture or file
- Click the paperclip, or drop a file in the chat, or paste it.
- Add images, PDFs or text files. Each file can be 5 MB at most.
Images and PDFs go to the model as they are. Text goes into your message. Brsh keeps attachments with the chat, so they stay after a reload.
How to control the edits
- Plan first. The chat shows a plan. You approve it before any edit.
- Ask before every edit. The chat asks each time.
- Check its work. After a visual change the chat looks at a screenshot and fixes what looks wrong.
Find these in the chat settings, under Behaviour.
After an answer, click Undo this answer's changes to go back to before the answer.
The chat follows your file's rules. When you correct it, it can offer a new rule. You save the rule or skip it. The chat can also look at screenshots of its own work and fix what it sees.
Type / to see prompts (audit, variants, dark, states, spacing, and your own).
Conversations
- Click Conversations of this file to see the chats of this file. Each shows a title, age and size.
- Click a chat to open it. Click New chat to start another.
- Delete a chat from the same list.
Chats run in parallel. A running chat keeps going when you open another one. Brsh saves each chat in the app data folder. It is still there after a restart.
When the model changed since the last answer, a notice shows who answers next. Click Switch back to return.
A coding agent resumes its own session only when nothing else happened since its last run. Otherwise it starts again with the chat as text.
Pictures in the chat
- Open the model menu.
- Choose a model in the Image model row at the bottom.
- Ask for a picture.
The chat places the picture on the canvas as an image layer. It lands in the middle of your view when that spot is free. If it is not free, it lands beside the screen you selected. If that fails, it lands past the right edge of the page.
Picture models are Nano Banana, GPT Image and Grok Imagine. You need a connected provider. You can also choose Off. This works with OpenAI, Gemini, Grok and OpenRouter. The chat does not make videos.
Drawings in the chat
The chat can draw SVG. The result is editable vector layers in a group. They land in free space beside your design. They follow the same plan and approval steps as an edit. Undo removes them with the rest of the answer.
Chat errors
A failed request tells you what happened, such as a busy model, a limit or a key that is not accepted. Click Try again. Click Remove this answer when nothing in your file changed. Your question goes back in the box.
More you can do
- Copy an answer.
- Edit a question. Its text and files go back in the box.
- Click Maximize to make the chat larger. Press Esc to go back.
- Each answer says who wrote it and how long it took.
Chat settings
How to open the settings
- Open the chat (⌘I).
- Click Chat settings in the chat toolbar.
The window has four parts: Agents, Behaviour, File rules and Prompts.
How to connect a provider
- Open the chat settings and go to Agents.
- Find the provider card.
- Enter your key.
- Check the status on the card.
The card status means:
- Connected. Brsh read the model list.
- Key not accepted. The key is wrong.
- Not connected. You did not enter a key.
- Running or Not running. This is for Ollama.
You enter a key once for each provider. Brsh keeps keys in files in the app data folder. Only you can read them. They go only to that provider.
Providers you can use
- Anthropic (Claude Sonnet 5.5 is the default; Opus 5.5 is also listed)
- OpenAI
- Google Gemini
- xAI Grok
- Mistral
- Groq
- OpenRouter
- Ollama on this computer
- Any server that works like OpenAI. You give its address, an optional key, and the chat-completions or Responses type.
The model must support tool calls.
How to pick a model
- Click the model menu in the chat box.
- Search, or pick a model you used lately.
- Pick a model of another provider to switch the chat to it.
The menu lists the models your key can use. If Brsh cannot read the list, it shows suggested models.
Coding agents on your computer
The chat can run Claude Code, Codex, Antigravity (agy) or OpenCode. They use their own sign-in. Their cards show Installed or Not installed.
- Antigravity and OpenCode use only their own sign-in.
- Claude Code and Codex can take an optional key.
- OpenCode lists its own models.
- They can read code in the working folder. They change it only for design to code, after you click Allow.
- With an unsaved design and no code folder, they run in a temporary folder.
Brsh checks that the program is installed. The check takes 5 seconds at most.
Behaviour, File rules and Prompts
- Behaviour has plan first, ask before edits and check its work.
- File rules are the rules saved in your file.
- Prompts are the prompts you get with /. You can add your own.