Agent surfaces
When: upfront. Where agents live, how status shows and how their work is presented decide the whole surface. Detail tuning comes later.
A chatbot is far from a pen: slow, indirect, no immediate connection. When agents do real work in a product, the UI's job is to make that work understandable and controllable by humans. (Lessons from Linear's agent and code-review explorations.)
Placement and status
- Expect several sessions at once, not one assistant. Give them tabs/threads people can switch between.
- Put them where there's room and where living entities already sit. Linear explored the bottom-left corner (usually empty), the sidebar (next to projects and inbox), and shipped a toolbar with tabs.
- Show each session's status at a glance: waiting for your input, done and needs a look, in progress. "Needs you" must stand out.
- Support the primitives: queued messages, suggested next actions, adding things to context, a welcome that proposes what to tackle next.
Changes agents make
- Surface every change an agent made to user content (doc, issue, settings), with a short summary and controls: show changes, accept, undo.
- Agents also run on their own (loops, automations): changes made without a prompt need the same visibility, in a place the user will see them.
Presenting generated work for review
- Group by intent, not by file. People are reading less code. An LLM (even a cheap one) can split a diff into logically ordered, thematic sections with a plain-language explanation; that's faster to understand than files sorted alphabetically. Raw code stays one click away.
- Review the intent first ("is this the right change?"), then implementation details. The reviewer shouldn't have to translate code back into the original intent themselves.
- Show the meaningful size. Exclude tests, generated and lock files from the headline count so a 2,000-line PR that's 80 real lines doesn't get postponed. Mark the number with a distinct icon/tooltip so it isn't mistaken for the full diff size.
- Don't force a linear "start review → read → submit" flow; people jump around. Expect to iterate on the main action's placement, ideally by trying variants in production with your own team.
Process note
For new kinds of surfaces, build several real directions (Linear built five for code review) and use them, rather than picking one from static mockups.