Point to the exact place.
Select a registered component. Keep its bounds and Rust source reference with the comment.
Visual feedback for your native GPUI app.
Annotate the interface. Give your agent the context.
A precise place.
A clear comment.
A shorter path to the fix.

An illustrated look at the workflow. The installed tools run inside your native GPUI app.
Select a registered component. Keep its bounds and Rust source reference with the comment.
Box an area, draw an arrow, or sketch with the pen. Give a visual idea a precise anchor.
Copy structured Markdown or connect an MCP client to read, reply, and resolve feedback.
Add the library to your GPUI app. Install the bridge separately if you want your coding agent to read and respond to annotations through MCP.
In your app’s Cargo.toml, enable native and turn off default features. Use the same registry GPUI Kit version in your host. Inspector picking compatibility is handled inside Agentation.
[dependencies]
gpui-agentation = { version = "0.7.0", default-features = false, features = ["native"] }
gpui = { package = "gpui-kit", version = "=0.11.0", default-features = false, features = ["component", "assets", "inspector"] }Host and Agentation must resolve to the same registry Kit version and GPUI backend.
cargo install gpui-agentation --version 0.7.0 --lockedThe default install builds the portable bridge executable. It does not compile GPUI or GPUI Kit and does not launch your app.
Keep the integration at your application root. Register meaningful component boundaries you want to select, rather than wrapping every widget.
These instructions target the 0.7.0 Agentation API. Gate all annotation imports, initialization, fields, and render hooks with #[cfg(debug_assertions)]: release builds expose no annotation API.
Configure gpui_agentation::Assets on your Application, then call gpui_agentation::init(cx) in the launch callback. Standalone hosts let Agentation initialize Kit. Existing Kit hosts use init_with_options with HostMode::KitInitialized and an explicit renderer policy. Keep one Kit Root around the host view; release builds initialize Kit directly.
let feedback = gpui_agentation::Agentation::mount(
"My app", "gpui://my-app/home",
"target/agentation/feedback.json", 4748, window, cx,
)?;self.feedback.root(
"home", "Home screen", content, window, cx,
)Ordinary controls need no wrappers. Add target(id, label, child) only for finer inspection targets. Keep IDs stable and unique.
Run your native app in debug mode, then add the installed bridge to an MCP client that supports stdio servers. The bridge forwards requests to the app’s local listener.
{
"mcpServers": {
"gpui_agentation": {
"command": "gpui-agentation",
"args": ["--url", "http://127.0.0.1:4748/mcp"]
}
}
}Use your client’s equivalent server configuration if its schema differs. The agent can read pending annotations, acknowledge them, reply, and resolve or dismiss feedback. Keep the native app running while using these tools.
Loopback only. No API key. Browser origins are rejected by the native API. The site’s illustrations do not connect to your local server.
View the MCP metadataTwo reusable skills help your agent install gpui-agentation and explore feedback from a running app. Choose the workflow you need.
Install them from skills.sh in your app’s folder with npx skills add emmanuel-defreitas/gpui-agentation, then choose the skills and agents. Add --skill gpui-agentation-setup for one skill, or -g to install for every project. Start a new conversation and invoke /gpui-agentation-explore or /gpui-agentation-setup.
Try: “Use gpui-agentation-explore to discover my app’s MCP tools and summarize pending feedback without changing notes.” Connect the running debug app’s MCP server first; installing a skill provides instructions, not a server connection.
The linked skills track the dev branch. Use the skill from your host’s gpui-agentation revision when working with a pinned version.
The integration points are small and explicit. Start with the defaults and adjust the context your agent needs.
Version 0.7.0 does not expose a public toolbar layout or custom palette builder.
Inspired by Agentation and its approach to giving agents precise visual feedback. Thank you for the inspiration.
gpui-agentation is an independent Rust implementation for GPUI. It is not affiliated with Agentation and does not implement its complete protocol. The native interface uses GPUI Kit components; upstream licenses and attribution are preserved.