💡 摘要
Agentation 是一个可视反馈工具,帮助为 AI 编码代理注释网页元素。
🎯 适合人群
🤖 AI 吐槽: “看起来很能打,但别让配置把人劝退。”
风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);依赖锁定与供应链风险。以最小权限运行,并在生产环境启用前审计代码与依赖。
agentation
Agentation is an agent-agnostic visual feedback tool. Click elements on your page, add notes, and copy structured output that helps AI coding agents find the exact code you're referring to.
Install
npm install agentation -D
Usage
import { Agentation } from 'agentation'; function App() { return ( <> <YourApp /> <Agentation /> </> ); }
The toolbar appears in the bottom-right corner. Click to activate, then click any element to annotate it.
Features
- Click to annotate – Click any element with automatic selector identification
- Text selection – Select text to annotate specific content
- Multi-select – Drag to select multiple elements at once
- Area selection – Drag to annotate any region, even empty space
- Animation pause – Freeze CSS animations to capture specific states
- Structured output – Copy markdown with selectors, positions, and context
- Dark/light mode – Matches your preference or set manually
- Zero dependencies – Pure CSS animations, no runtime libraries
How it works
Agentation captures class names, selectors, and element positions so AI agents can grep for the exact code you're referring to. Instead of describing "the blue button in the sidebar," you give the agent .sidebar > button.primary and your feedback.
Requirements
- React 18+
- Desktop browser (mobile not supported)
Docs
Full documentation at agentation.dev
License
© 2026 Benji Taylor Licensed under PolyForm Shield 1.0.0
优点
- 使用简单,支持点击注释功能
- 无依赖,轻量级
- 支持暗/亮模式
- 为 AI 代理提供结构化输出
缺点
- 仅限于桌面浏览器
- 需要 React 18 及以上版本
- 不支持移动设备
- 可能与所有框架不兼容
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 benjitaylor.
