Getting Started
Give your AI assistant visual perception in just two steps.
1. Install Browser Extension
Currently, it is recommended to load the AgentLens extension manually via developer mode:
- Download/Clone Repository: Get the source code of this project.
- Open Extension Management: Visit
chrome://extensionsin the Chrome address bar. - Enable Developer Mode: Click the toggle in the upper right corner.
- Load Extension: Click "Load unpacked" and select the
packages/extension/distfolder in the project. - Pin Icon: After installation, it is recommended to Pin the AgentLens icon in the upper right corner of the browser. Click the icon to call up the annotation toolbar on any webpage.
2. Configure AI Assistant (MCP)
You don't need to clone or build this project. Just add the following configuration to your AI assistant (e.g., Claude Desktop or Cursor) settings:
json
{
"mcpServers": {
"agentlens": {
"command": "npx",
"args": ["-y", "@p2k0/agentlens-mcp"]
}
}
}🛠️ Local Development (For Contributors)
If you want to modify the source code of AgentLens or add new features:
- Clone Repository:
git clone https://github.com/p2k0/agentlens.git - 安装依赖:
pnpm install - 构建全部:
pnpm run build - 启动开发模式:
pnpm run dev