01 Overview OPEN SOURCE / MIT
UI feedback, in context.
✳
Point to an element. Show what you mean. Give your coding agent the context to make the
next change.
The workflow, in miniature
EXAMPLE / 01
Annotate
Adjust styles
Compare designs
localhost:5173 / settings
S↗
YOUR WORKSPACE
Studio workspace
A little space for your next big idea.
1 Feedback .workspace-save
YOUR NOTE
Context attached automatically
Element
button.workspace-save
Page
/settings
Styles
Computed values
1 Adjust styles
Horizontal padding 24px
border-radius 6px
font-size 13px
Move the slider. The preview changes here; your agent makes the source change.
01 Point to the detail 02 Capture the context 03 Continue with your agent
02
Quick start
TWO SMALL ADDITIONS
Add the tool to your app. Give your agent a way to read the feedback.
a Your application VITE
pnpm add -D @ainotation/vite@beta
vite.config.ts
import { ainotation } from '@ainotation/vite' ;
export default {
plugins: [ainotation({ name: 'my-app' })],
};
Keep your existing plugins. The SDK is included; the inspector appears in
development.
Not using Vite? Use the SDK ↗
b Your coding agent MCP
MCP client configuration
{
"mcpServers" : {
"ainotation" : {
"command" : "npx" ,
"args" : [
"--yes" ,
"@ainotation/mcp@beta" ,
"connect"
]
}
}
}
Your client should share workspace roots. Otherwise, append --directory and your
project path.
03
Work directly on the page
01 /
Annotations
Select an element or a passage of text. Your note travels with its selector, page,
position and DOM context, so your agent knows what you mean.
Explore the example
/ SETTINGS
button.action Save changes 1
02 /
Style tweaks
Adjust spacing, typography and color in place. Preview related elements together and
pass the exact style changes to your agent.
Explore the example
LIVE PREVIEW
24 Aa
PADDING / PX
STYLES
padding 24px
radius 6px
font-size 14px
03 /
Screenshot annotations
Draw arrows and frames over the live page, crop a capture, or import a reference
image. The resulting PNG stays attached to your feedback for your agent to read when
needed.
Try the real inspector
04 /
UI Variants
Ask your agent for alternatives. Compare them on the actual page, then choose what
to keep or ask for another round.
Explore the example
A / ORIGINAL Continue ↗
B / COMPACT Continue →
C / CONTRAST Continue ↗ ✓
04
What your agent receives
CONTEXT, NOT GUESSWORK
Your feedback and its context, together. Read it through MCP, copy Markdown, or
export a JSON document with image attachments.
Your intent, in your own words
Selectors and bounded DOM context
Computed styles and suggested changes
Images, retrieved when needed
MCP is optional for annotation. UI Variants requires a compatible MCP connection.
05
A few useful boundaries
Local storage
Feedback stays in your browser, organized by project and page. No account or cloud
service required.
INDEXEDDB
Local connection
The MCP service runs on your machine, with authenticated connections scoped to your
workspace.
LOOPBACK
Development only
The Vite plugin keeps the inspector out of production builds. Candidate code belongs
behind development imports.
DEV
Yours to use
Open source and free for personal and commercial use. Keep the copyright and license
notices.
MIT ↗