Glean
Enterprise AI platform
I lead the redesign of Glean's composer — the front door to the assistant feature.
Problem + Context
Glean's composer left room for opportunity
Problem
Glean's composer (was):
- Inconsistent: Actions, create docs or images, and create skills, all follow different patterns.
- Didn't showcase Glean's affordances: The composer only shows a small subset of the features and tools of the Assistant.
- Not scalable: As we build more functionality into assistant (e.g., creating agents) we need a principled approach to scale.
Context
As building with Assistant becomes more common, it is important that we intentionally design the composer to support creating artifacts and using system capabilities such as skills and agents directly within the composer. And as Glean's feature set grows, we need a composer-system that can scale with future capabilities rather than layering on one-off patterns.
This work proposes improvements to better surface the capabilities of Glean within the composer, nudging users to use more of Glean to tackle their work.
Exploration, Ideation, and Insights
A principled and craftful redesign
Design principles
- Simplicity & consistency: Unifying the creation experience for all things.
- In line creation & referencing UI: Affordances for creating or referencing appear in line.
- Mutually exclusive, collectively exhaustive: All affordances of the composer can be enabled via / or @ shortcuts. Each shortcut menu has discrete functions.
Rearchitecting the composer's information
To address user feedback that the composer felt inconsistent and unpredictable, I began by defining rules for where tagged information (e.g., @ mentions, / commands, and attachments) populates within it.
Redesigning the composer's menus: +, /, and @
With the architecture and interaction model aligned, I turned to how Glean Assistant's affordances surface in the composer. Our guiding principle: every affordance lives in the "+" menu and is also reachable through the "/" and "@" shortcuts. My first step was deciding how to divide affordances between those two shortcut menus.
Exploration #1
- / for the creation of anything, e.g., create document, create agent
- @ for adding context, e.g., an artifact name or a person, and for invoking agents and skills, e.g., @ux-writing-agent, @design-review-skill
Exploration #2
- / for the creation of anything, e.g., create document, create agent, and for invoking agents and skills, e.g., /ux-writing-agent, /design-review-skill
- @ for adding context to your prompts, e.g., @bryceparsons, @composer-prd
UX Findings:
- Users preferred exploration #2, since they already invoke skills with "/" and see agents as related to skills, so they expected both to live in the same place.
- Users struggled to understand the difference between agents and skills
- While "Interactive" artifact adoption is high, users find the artifact name unclear
UI Design
In-line UI chips provide needed system feedback to users
Designing new in-line UI chips for the composer
As users prompt, UI chips are added inline, either through shortcut menus or automatic system recognition (e.g., "Slack" → Slack). This gives users greater control over the data and tools passed to the assistant.
New chip design
New chip design: every value snaps to a 4px rhythm, and the 24px height is borrowed from the composer's line height
Chips in context
Chips in context: labels sit on the sentence's baseline and the container matches the line box, so a prompt with chips reads as one continuous line
Chip states
Chip states: hovering a chip reveals the remove ×, and hovering the × highlights its click target
Results
Clear affordances, a delightful UX, and designed to scale
Addressing inconsistency
All actions and reference context now sit directly in line, with a redesigned set of UI chips to differentiate composer affordances from plain text.
Create agent that gives me a morning briefing each day at 9AM.
Surfacing Glean's affordances
A considerable part of this work centered on identifying which of Glean's many capabilities should be accessible via the composer, and therefore executable through the assistant harness. Once identified, we determined how these affordances should surface across the +, /, and @ menus, creating heuristics for where each affordance type belongs and ordering items using empirical product data.
Designing a scalable system
We designed a scalable system to organize and surface the many affordances of Glean's assistant within the composer, the feature's front door. As more affordances are added, we're confident they'll fit the model we've proposed: each one is either something to "Use" or "Create" (/), or something to "Tag" (@).