What agents can do
This page tells you what an AI helper can do in your Brsh file. First connect an AI agent.
What you can ask for
An agent can:
- read your file and your selection
- add, change and delete layers
- add and change pages
- use components and variables
- set themes
- take screenshots of its own work
- export images (16 megapixels at most for each image)
- get the HTML and CSS of a screen
- save the file
It can also make 3D, motion, glass and Lottie changes. See below.
How to ask for a change
- Select the layer or screen you want to change.
- Tell the agent what you want. For example: "Make this button rounder."
- The word "this" means your selection.
- Watch the canvas. The agent's cursor shows where it works.
- Press undo if you do not like the result. One edit is one undo step.
3D, motion and glass
The guide for agents has a page on these topics:
- 3D turns and 3D spaces
- 3D motion tracks
- glass
- smooth corners
- mask types
- video and pattern fills
When a 3D turn has no perspective, it looks flat. The edit then warns the agent. A wrong motion track gives a warning too.
Lottie
An agent can read a Lottie layer and save a changed copy. It can change colors, timing, text or shapes. The change is a new file in your document, so undo works. The agent can also set a Lottie fill's trim, colors and hidden layers.
Missing states
When an agent builds or reviews a screen that loads data or takes input, it checks for the other states.
- For data, it looks for empty, loading and error.
- For a form, it looks for error and disabled.
The agent never makes a state on its own. It ends its reply with one line. For example: "Brsh suggests creating these states: Orders – empty, loading, error." It makes only the states you agree to. It says nothing for web pages or screens with fixed content.
New screens
An agent can add a screen without a position. If that screen would land on another screen, Brsh moves it to free space beside your design. The reply tells you where. If the agent gives a position, the screen stays there.
Design checks
After each edit, the agent gets the issues and suggestions from Agents (the design checks). It can fix them or keep them with a reason.