Agent 智能体

Frontman|浏览器内可视化前端修改 AI 编码代理

Frontman

在运行中的前端应用里点击元素并用自然语言描述修改,由 AI 定位源码并热重载的浏览器内编码代理。

获取与使用

需要部署

按官方资料自行安装或部署

使用难度待核验
国内可用性待核验

2026-11-09 更新 · 本站尚未实测

项目介绍

Agent 智能体 · 2026-11-09 更新 · 本站尚未实测

Frontman 是一个自称“住在浏览器里的开源 AI 编码代理”,面向需要频繁做小幅前端调整的团队。它的核心思路与多数基于源码文件的 AI 编程工具相反:从浏览器中正在渲染的页面出发,反向定位到源码。用户在运行中的应用里点击某个元素,用自然语言说明要改什么,Frontman 依据实时 DOM、组件树、计算后的 CSS、路由、source map 与服务端日志,编辑实际源文件并触发热重载。

按 README 说明,其主要受益者是产品经理、设计师这类希望自行修文案、间距、颜色与布局问题的人,以及希望获得比终端类工具更丰富上下文的前端开发者。README 强调 Frontman 与 Cursor、Copilot 等工具互补,而非替代。

核心能力

点击能力名称查看输入、输出和原文依据。

  • 基于浏览器上下文编辑:读取实时 DOM、组件树、计算样式、截图、元素选择与浏览器控制台日志,并结合框架中间件提供的路由、服务端日志、编译模块与构建错误信息。
  • 自然语言改源码:选中出错元素后用自然语言描述问题,由其定位对应组件或样式并修改源文件,再触发热重载。
  • 本地开发服务器即 MCP 服务:README 说明框架集成会把本地开发服务器变成 MCP server,供 AI 代理查询客户端与服务端上下文。
  • OpenClaw Skill 形态:README 提到可作为 OpenClaw 的 skill 安装,使通用代理获得前端编辑相关上下文。
  • 可审查的改动:README 建议将生成的 diff 走团队常规评审流程。

实际应用场景

适用场景

  • 跨浏览器与跨设备的元素修复,例如按钮或卡片样式异常;
  • 内部子页面的小范围修复,需先导航到具体路由再选中元素;
  • 全应用范围内的文案一致性调整;
  • 移动端与桌面端间距对齐等依赖计算样式的调整;
  • 设计与产品团队减少交接成本的轻量修改。

README 明确说明框架集成仅在开发模式下运行,生产构建会剥离 Frontman,部署产物与未安装时一致。

安装与接入

README 给出的接入方式按框架区分,安装后打开应用的 /frontman 路径进入聊天界面。以下命令均逐字取自 README:

Next.js:

npx @frontman-ai/nextjs install
# If your project uses src/: mv proxy.ts src/proxy.ts
npm run dev
# Open http://localhost:3000/frontman

Astro:

npx astro add @frontman-ai/astro
npm run dev
# Open http://localhost:4321/frontman

Vite(React、Vue、Svelte):

npx @frontman-ai/vite install
npm run dev
# Open http://localhost:5173/frontman

OpenClaw skill 安装命令:

openclaw skill install frontman-dev

README 说明 Astro 集成兼容 Astro 5、6、7,要求 Node.js 22.19 或更新版本;Next.js 集成支持 App Router 与 Pages Router,并兼容 Turbopack;Vite 集成会从 vite.config 自动识别框架。README 未给出其他框架的 Node 版本等具体前置要求,需以官方文档为准。

使用条件与限制

是否需要部署
需自行准备运行环境,具体要求见正文
是否需要注册
账号和认证要求见正文;未明确说明的项目仍待核验
是否需要 API Key
待核验
费用与额度
费用边界见正文,项目许可不代表模型或托管服务免费
所需权限
待核验
许可证与服务条款
待核验

权限费用与限制

模型与密钥:采用 BYOK(自带密钥),README 列出可连接 OpenAI(GPT 与 Codex 模型)、Anthropic(Claude Pro/Max 模型)、OpenRouter(Claude、GPT、Gemini、Kimi、MiniMax 等)、Fireworks AI、NVIDIA、Google、xAI。费用由用户按其 LLM 供应商的标准价格直接支付。README 称可免费试用五次、无需信用卡,该政策是否仍有效需向官方核验。

源码写入权限:该工具会实际编辑项目源文件,属于对本地代码仓库有写权限的开发辅助工具,建议通过版本控制与 diff 审查控制风险。

运行范围:README 明确框架集成仅在开发模式下运行,生产构建会剥离;支持的框架目前为 Next.js App Router、Next.js Pages Router、Astro、Vite、React、Vue、Svelte、SvelteKit,Remix、Nuxt、SolidStart、Qwik、Phoenix LiveView 标注为即将支持。

数据外发:请求会发送至所选 LLM 供应商,具体数据处理条款以供应商政策为准,资料未说明。

未确认项:Windows 支持情况、国内网络与模型服务兼容性、托管版是否可用及定价,均无资料依据,需待核验。

国内使用情况

网友核验 用户经验分享

与站长实测独立,不代表官方认证或本站已实测。

我要核验
0 位参与者0 份有效分项记录

最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。

分项统计、有效期与样本量
核验项目有效人数成功 / 部分 / 失败 / 无法判断成功率最近核验 / 有效期
官方网站访问00 / 0 / 0 / 0样本不足暂无 / 7 天
GitHub 仓库访问00 / 0 / 0 / 0样本不足暂无 / 7 天
安装与运行00 / 0 / 0 / 0样本不足暂无 / 30 天
官方服务国内连接 / MCP 连接00 / 0 / 0 / 0样本不足暂无 / 30 天
国内网络情况00 / 0 / 0 / 0样本不足暂无 / 7 天
国内模型兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
自定义 API00 / 0 / 0 / 0样本不足暂无 / 30 天
海外服务依赖
00 / 0 / 0 / 0样本不足暂无 / 30 天
海外账号要求
00 / 0 / 0 / 0样本不足暂无 / 30 天
中文界面
00 / 0 / 0 / 0样本不足暂无 / 30 天
客户端兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
账号及费用信息
00 / 0 / 0 / 0样本不足暂无 / 30 天

成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。

最近有效核验

暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。

查看全部有效核验 →

国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。

官方网站访问
尚未实测 待核验
GitHub 仓库访问
尚未实测 待核验
官方服务国内连接
尚未实测 待核验
国内网络情况
尚未实测 待核验
国内模型兼容性
尚未实测 待核验
自定义 API
尚未实测 待核验
海外服务依赖
尚未实测 待核验
海外账号要求
尚未实测 待核验
中文界面
尚未实测 待核验
国内最后核验时间
尚未实测

许可与国内使用

仓库采用分拆许可模式,README 说明:

  • 框架集成与客户端库(libs/)采用 Apache License 2.0;仓库根目录 LICENSE 文件为 Apache License 2.0 全文;
  • 服务端(apps/frontman_server/)采用 GNU Affero General Public License v3;

README 称可在商业应用中使用 Frontman,AGPL 作用于服务端,以保证基于其构建的托管服务保持开源。仓库元数据将许可证标记为 “Other / NOASSERTION”,具体适用条款应以各目录下的 LICENSE 文件及官方说明为准。开源许可不等于模型服务免费,LLM 调用费用仍需自行承担。README 提到可自托管源码,但托管版与自托管打包方式仍在演进。关于中国大陆地区的访问可用性、境内部署与合规要求,资料未作说明,需待核验。

项目资料与来源

官方网站 ↗

GitHub 仓库 ↗

官方文档 ↗

字段依据与待核验事项

access:来源确认 · npx @frontman-ai/nextjs install

project_type:来源确认 · is an open-source AI coding agent that lives in your browser.

原始 README(折叠技术参考)
<p align="center">
  <a href="https://frontman.sh">
    <img src="https://frontman.sh/og.png" alt="Frontman" width="600" />
  </a>
</p>

<h3 align="center">Let product and design ship frontend fixes without opening an IDE</h3>

<p align="center">
  <a href="https://github.com/frontman-ai/frontman/actions"><img src="https://github.com/frontman-ai/frontman/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
  <a href="https://github.com/frontman-ai/frontman/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0%20%2F%20AGPL--3.0-blue" alt="License" /></a>
  <a href="https://www.npmjs.com/package/@frontman-ai/nextjs"><img src="https://img.shields.io/npm/v/@frontman-ai/nextjs" alt="npm version" /></a>
  <a href="https://discord.gg/xk8uXJSvhC"><img src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="Discord" /></a>
</p>

---

[Frontman](https://frontman.sh) is an open-source AI coding agent that lives in your browser. Click any element in your running app, describe the change in plain English, and Frontman edits the actual source files with instant hot reload. It sees the live DOM, component tree, computed CSS, routes, source maps, and server logs, so non-technical teammates can make precise frontend fixes without guessing which file owns the UI.

<p align="center">
  <a href="https://frontman.sh/docs/"><strong>Docs</strong></a> ·
  <a href="https://frontman.sh/integrations/nextjs/">Next.js</a> ·
  <a href="https://frontman.sh/integrations/astro/">Astro</a> ·
  <a href="https://frontman.sh/integrations/vite/">Vite</a> ·
  <a href="https://discord.gg/xk8uXJSvhC">Discord</a> ·
  <a href="https://www.youtube.com/watch?v=-4GD1GYwH8Y">Demo</a>
</p>

<p align="center">
  <a href="https://www.youtube.com/watch?v=-4GD1GYwH8Y">
    <img src="./assets/demo.webp" alt="Frontman Demo" width="600" />
  </a>
</p>

## What You Can Ask Frontman

Frontman is built for small frontend changes that usually get stuck in design QA, product review, or internal tooling backlogs:

- **"Fix this element across all browsers and devices"** — select the broken UI, explain the issue, and Frontman uses browser context plus source maps to update the right component or styles.
- **"Fix this button on an internal sub-page"** — navigate to the exact route, click the button, and Frontman edits the source behind that rendered element.
- **"Change the empty-state copy across the app"** — describe the messaging change once and review the generated diff before it lands.
- **"Make the mobile cards match desktop spacing"** — Frontman reads computed CSS and layout context instead of relying only on static source files.

## Who Is This For?

**Product managers and designers** who need to fix copy, spacing, colors, layout issues, and internal UI polish without waiting for a developer to open an IDE.

**Frontend developers** who want richer context than terminal-based AI tools provide. Frontman reads the rendered page, not just source files, so it knows what your CSS computes to and which component renders each DOM node.

**Teams** where the handoff costs more than the actual change. Frontman lets teammates make the edit in-browser, then send the diff through your normal review process.

## How Frontman Compares to Other AI Coding Tools

Most AI coding tools work from source files and never see the running application. Frontman takes the opposite approach — it starts from the browser and works backward to the source.

| | Frontman | Cursor | GitHub Copilot | v0 |
|---|---|---|---|---|
| **Context** | Live DOM, computed CSS, component tree, server logs | Source files in IDE | Source files in IDE | Sandboxed preview |
| **Editing interface** | Browser overlay | IDE (VS Code fork) | IDE extension | Web app |
| **What it edits** | Your existing codebase | Your existing codebase | Your existing codebase | Generates new code |
| **Sees rendered output** | Yes (framework middleware) | No | No | Own sandbox only |
| **Open source** | Yes (Apache 2.0 / AGPL-3.0) | No | No | No |
| **Best for** | Visual frontend editing, designer/PM collaboration | Full-stack IDE replacement | Autocomplete, code review | Generating new UI from scratch |

Frontman and these tools are complementary. Many developers use Cursor or Copilot for backend work and general refactoring, then switch to Frontman when they need to see what they're editing in the browser.

## Works with OpenClaw

Frontman is available as an [OpenClaw](https://openclaw.ai) skill. Install it to give your AI agent specialized frontend editing capabilities — component tree awareness, computed CSS, source map resolution, and hot reload feedback that OpenClaw's general browser tool doesn't have.

```bash
openclaw skill install frontman-dev
```

Use OpenClaw for general-purpose automation (shell, messaging, files). Use Frontman for precise visual editing in your codebase. [Read the comparison](https://frontman.sh/vs/openclaw/).

## How It Works

1. **A developer adds Frontman to the project** — one command, works with Next.js, Astro, and Vite.
2. **Anyone on the team opens the app in their browser** — navigate to `localhost/frontman` to get a chat interface alongside a live view of your app.
3. **Click any element and describe the change** — Frontman sees the element's position in the component tree, its computed styles, and the server-side context. It edits the right source file and hot-reloads.

The framework integration turns your local dev server into an [MCP server](https://modelcontextprotocol.io/) that the AI agent queries for both client-side context (DOM tree, computed CSS, screenshots, element selection) and server-side context (routes, server logs, query timing, compiled modules).

## Quickstart

### Next.js

```bash
npx @frontman-ai/nextjs install
# If your project uses src/: mv proxy.ts src/proxy.ts
npm run dev
# Open http://localhost:3000/frontman
```

Works with App Router and Pages Router. Compatible with Turbopack.

See the [Next.js integration guide](https://frontman.sh/docs/integrations/nextjs/) for details.

### Astro

```bash
npx astro add @frontman-ai/astro
npm run dev
# Open http://localhost:4321/frontman
```

Compatible with Astro 5, 6, and 7 on Node.js 22.19 or newer. Listed on the [Astro integration registry](https://astro.build/integrations/?search=frontman). Understands Islands architecture, content collections, and SSR/hybrid modes.

See the [Astro integration guide](https://frontman.sh/docs/integrations/astro/) for details.

### Vite (React, Vue, Svelte)

```bash
npx @frontman-ai/vite install
npm run dev
# Open http://localhost:5173/frontman
```

Auto-detects your framework from `vite.config`. Works with React, Vue, and Svelte — including SvelteKit.

See the [Vite integration guide](https://frontman.sh/docs/integrations/vite/) for details.

Need setup help? Join the [Discord](https://discord.gg/xk8uXJSvhC) or open a [GitHub issue](https://github.com/frontman-ai/frontman/issues).

## Supported Stacks

| Status | Frameworks |
|---|---|
| **Supported now** | Next.js App Router, Next.js Pages Router, Astro, Vite, React, Vue, Svelte, SvelteKit |
| **Coming soon** | Remix, Nuxt, SolidStart, Qwik, Phoenix LiveView |

Framework integrations run in development mode only. Production builds strip Frontman out, so your deployed bundle is identical whether Frontman is installed or not.

## AI Model Support

Frontman uses BYOK (bring your own key). Connect any LLM provider:

- **OpenAI** — GPT and Codex models
- **Anthropic** — Claude Pro/Max models
- **OpenRouter** — Claude, GPT, Gemini, Kimi, MiniMax, and hundreds of other models
- **Fireworks AI**, **NVIDIA**, **Google**, and **xAI**

You pay your LLM provider directly at their standard rates. Try Frontman free: five uses, no card. Self-hosting is available under the repository terms.

## Self-Hosting and License

Frontman is open source and can be self-hosted from source. Official hosted and self-hosting packaging is still evolving.

The project uses a split license model:

- **Framework integrations and client libraries** (`libs/`) — [Apache License 2.0](./LICENSE)
- **Server** (`apps/frontman_server/`) — [GNU Affero General Public License v3](./apps/frontman_server/LICENSE)

You can use Frontman in commercial apps. The AGPL applies to the server so hosted services built on top of Frontman stay open.

## Architecture

```
┌─────────────────────────────────────────────────┐
│ Browser                                         │
│ ┌─────────────────┐  ┌────────────────────────┐ │
│ │ Your Running App│  │ Frontman Overlay        │ │
│ │                 │  │ (chat + live preview)   │ │
│ └────────┬────────┘  └───────────┬────────────┘ │
│          │                       │              │
│  ┌───────▼───────────────────────▼──────────┐   │
│  │ Browser-side MCP Server                  │   │
│  │ DOM tree, computed CSS, screenshots,     │   │
│  │ element selection, console logs          │   │
│  └──────────────────┬───────────────────────┘   │
└─────────────────────┼───────────────────────────┘
                      │
┌─────────────────────┼───────────────────────────┐
│ Dev Server          │                           │
│  ┌──────────────────▼───────────────────────┐   │
│  │ Framework Middleware                     │   │
│  │ (Next.js / Astro / Vite plugin)         │   │
│  │ Routes, server logs, compiled modules,  │   │
│  │ source maps, build errors               │   │
│  └──────────────────┬───────────────────────┘   │
└─────────────────────┼───────────────────────────┘
                      │
┌─────────────────────┼───────────────────────────┐
│ Frontman Server     │  (Elixir/Phoenix)         │
│  ┌──────────────────▼───────────────────────┐   │
│  │ AI Agent Orchestrator                    │   │
│  │ Queries MCP tools, generates edits,      │   │
│  │ writes source files, triggers hot reload │   │
│  └──────────────────────────────────────────┘   │
└─────────────────────────────────────────────────┘
```

## Contributing

Contributions are welcome! Please read the [Contributing Guide](./CONTRIBUTING.md) to get started.

## License

See [Self-Hosting and License](#self-hosting-and-license) above, plus the respective `LICENSE` files for details.

## Star History

<a href="https://star-history.dera.page/#frontman-ai/frontman&type=date&legend=top-left">
 <picture>
   <source media="(prefers-color-scheme: dark)" srcset="https://star-history.dera.page/svg?repos=frontman-ai/frontman&type=date&theme=dark&legend=top-left" />
   <source media="(prefers-color-scheme: light)" srcset="https://star-history.dera.page/svg?repos=frontman-ai/frontman&type=date&legend=top-left" />
   <img alt="Star History Chart" src="https://star-history.dera.page/svg?repos=frontman-ai/frontman&type=date&legend=top-left" />
 </picture>
</a>

## Links

- [Website](https://frontman.sh)
- [GitHub Pages](https://frontman-ai.github.io/frontman)
- [Documentation](https://frontman.sh/docs/)
- [Integrations](https://frontman.sh/integrations/)
- [Comparisons](https://frontman.sh/vs/) — Frontman vs [OpenClaw](https://frontman.sh/vs/openclaw/), [Cursor](https://frontman.sh/vs/cursor/), [Copilot](https://frontman.sh/vs/copilot/), [v0](https://frontman.sh/vs/v0/), [Stagewise](https://frontman.sh/vs/stagewise/)
- [Changelog](./CHANGELOG.md)
- [Issues](https://github.com/frontman-ai/frontman/issues)
- [Discord](https://discord.gg/xk8uXJSvhC)
历史前置条件说明(补充参考)

Node.js 环境(Astro 集成要求 Node.js 22.19 或更新版本,其他框架版本要求待核验);支持 Next.js App Router/Pages Router、Astro 5/6/7、Vite(React、Vue、Svelte、SvelteKit)的项目;仅开发模式运行;需自备 LLM 供应商 API Key(BYOK),费用按供应商标准价格自付;本地源码写权限;Windows 支持、国内网络与模型兼容性待核验。

项目来源与清单版权许可

https://github.com/frontman-ai/frontman

整理来源:https://github.com/slavakurilyak/awesome-ai-agents

清单版权与许可:

MIT License

Copyright (c) 2024 Slava Kurilyak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.