freshcrate
Skin:/
Home > Frameworks > frontman

frontman

The AI agent that lives in your framework/browser

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

The AI agent that lives in your framework/browser

README

Frontman

Ship frontend changes from your browser — no code editor needed

CI License npm version Discord


Frontman is an open-source AI coding agent that lives in your browser. It hooks into your dev server as middleware and sees the live DOM, component tree, CSS styles, routes, and server logs. Click any element in your running app, describe what you want changed in plain English, and Frontman edits the actual source files with instant hot reload. It supports Next.js, Astro, and Vite (React, Vue, Svelte). Free and open-source — Apache 2.0 (client libraries) / AGPL-3.0 (server). Bring your own API keys (Claude, ChatGPT, or OpenRouter).

Frontman Demo

Who Is This For?

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

Designers and product managers who want to change copy, adjust spacing, fix colors, or explore layout ideas without opening an IDE. They click the element they want to change, describe the edit, and the source code updates. The diff goes through your team's normal review process.

Teams where the back-and-forth between design and engineering costs more time than the actual change. Frontman lets anyone on the team iterate on the frontend directly.

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
Pricing Free (BYOK) $20/mo Pro $10/mo Pro $20/mo Premium
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 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.

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.

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 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).

Frontman only runs in development mode. Production builds strip it out. Your deployment bundle is identical whether Frontman is installed or not.

Quickstart

Next.js

npx @frontman-ai/nextjs install
npm run dev
# Open http://localhost:3000/frontman

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

See the Next.js integration guide for details.

Astro

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

Listed on the Astro integration registry. Understands Islands architecture, content collections, and SSR/hybrid modes.

See the Astro integration guide for details.

Vite (React, Vue, Svelte)

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 for details.

AI Model Support

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

  • Anthropic (Claude) — direct API key or OAuth with your Claude subscription
  • OpenAI (ChatGPT) — direct API key or OAuth with your ChatGPT subscription
  • OpenRouter — access to Claude, GPT, Llama, Mistral, and hundreds of other models

You pay your LLM provider directly at their standard rates. There are no prompt limits, usage caps, or subscription fees from Frontman.

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 to get started.

License

This project uses a split license model:

See the respective LICENSE files for details.

Star History

Star History Chart

Links

Release History

VersionChangesUrgencyDate
v0.18.0## What's Changed * Polish backend auth UI by @BlueHotDog in https://github.com/frontman-ai/frontman/pull/1018 * Add Frontman Pro pricing page by @BlueHotDog in https://github.com/frontman-ai/frontman/pull/1016 * add nvidia provider by @itayadler in https://github.com/frontman-ai/frontman/pull/1025 * fix: replace Belt.Option.mapWithDefault with Option.mapOr for optional rendering by @arawrdn in https://github.com/frontman-ai/frontman/pull/1027 * Add wordpress woocommerce support by @itayadler inHigh5/18/2026
v0.17.0 #### @frontman-ai/client ### Patch Changes - [#1012](https://github.com/frontman-ai/frontman/pull/1012) [`9b645f8`](https://github.com/frontman-ai/frontman/commit/9b645f85e286e9a65e7ca0de3a43767ddb7aab51) Thanks [@dependabot](https://github.com/apps/dependabot)! - Align React and ReactDOM dependency ranges for the ReactDOM update. #### @frontman-ai/frontman-core ### Patch Changes - [#1013](https://github.com/frontman-ai/frontman/pull/1013) [`70dff99`](https://github.com/frontman-ai/fronHigh5/12/2026
v0.16.0 #### @frontman-ai/client ### Minor Changes - [#875](https://github.com/frontman-ai/frontman/pull/875) [`0d53ccc`](https://github.com/frontman-ai/frontman/commit/0d53ccc5a3552f3665db198deb80f817535546b2) Thanks [@itayadler](https://github.com/itayadler)! - Add Fireworks Fire Pass support, including Fireworks API key setup and Kimi K2.5 Turbo in the provider picker. ### Patch Changes - [`17116b2`](https://github.com/frontman-ai/frontman/commit/17116b203da5608000090031aa301a4c7026245b) ThankHigh5/8/2026
v0.15.0 #### @frontman-ai/client ### Minor Changes - [#788](https://github.com/frontman-ai/frontman/pull/788) [`38b50d3`](https://github.com/frontman-ai/frontman/commit/38b50d38def48d1a1b6f233dced12231c8d5a817) Thanks [@BlueHotDog](https://github.com/BlueHotDog)! - feat: add framework-conditional browser tool registration Introduces `Client__ToolRegistry.forFramework` which composes core browser tools with framework-specific tools based on the active runtime framework. Creates `@frontman-ai/High4/8/2026
v0.14.0 ### Changed - Package version bumps (see per-package changelogs for details) Medium3/27/2026
v0.13.0 ### Changed - Package version bumps (see per-package changelogs for details) Medium3/26/2026
v0.11.0 #### @frontman-ai/client ### Minor Changes - [#568](https://github.com/frontman-ai/frontman/pull/568) [`63765ed`](https://github.com/frontman-ai/frontman/commit/63765edcbc32873b0b05c59f0c8b56bbb349860d) Thanks [@BlueHotDog](https://github.com/BlueHotDog)! - Add Anthropic API key support as alternative to OAuth - Introduce Provider as first-class domain concept with Registry, Model, and Codex modules - Centralize LLM wiring in ResolvedKey.to_llm_args with enforced context boundaries - Low3/19/2026
v0.10.0 #### @frontman/bindings ### Patch Changes - [#461](https://github.com/frontman-ai/frontman/pull/461) [`746666e`](https://github.com/frontman-ai/frontman/commit/746666eec12531c56835a7e0e4da25efa136d927) Thanks [@itayadler](https://github.com/itayadler)! - Enforce pure bindings architecture: extract all business logic from `@frontman/bindings` to domain packages, delete dead code, rename Sentry modules, and fix circular dependency in frontman-protocol. #### @frontman-ai/client ### Minor ChLow3/4/2026
v0.9.0 #### @frontman/client ### Patch Changes - [#437](https://github.com/frontman-ai/frontman/pull/437) [`bc43aec`](https://github.com/frontman-ai/frontman/commit/bc43aeca56832fe7793d6c38f8dc68a92a4aa161) Thanks [@itayadler](https://github.com/itayadler)! - Fix chatbox rendering jank during streaming by adding React.memo to leaf components, buffering text deltas with requestAnimationFrame, removing unnecessary CSS transitions, and switching scroll resize mode to instant. #### @frontman/frontmanLow2/26/2026
v0.8.0 #### @frontman/client ### Minor Changes - [#426](https://github.com/frontman-ai/frontman/pull/426) [`1b6ecec`](https://github.com/frontman-ai/frontman/commit/1b6ecec8256a2630a71ef3b8d7b3d60c34c16f9a) Thanks [@BlueHotDog](https://github.com/BlueHotDog)! - URL-addressable preview: persist iframe URL in browser address bar using suffix-based routing. Navigation within the preview iframe is now reflected in the browser URL, enabling shareable deep links and browser back/forward support. #### @Low2/24/2026
v0.7.0 #### @frontman/bindings ### Minor Changes - [#425](https://github.com/frontman-ai/frontman/pull/425) [`3198368`](https://github.com/frontman-ai/frontman/commit/31983683f7bf503e3831ac80baf347f00291e37d) Thanks [@BlueHotDog](https://github.com/BlueHotDog)! - Astro dev toolbar icon now navigates to the Frontman UI route instead of logging diagnostics. Expanded Astro bindings with full dev toolbar API coverage. ### Patch Changes - [#415](https://github.com/frontman-ai/frontman/pull/415) [`38cLow2/24/2026
v0.6.0 #### @frontman/bindings ### Minor Changes - [#405](https://github.com/frontman-ai/frontman/pull/405) [`8a68462`](https://github.com/frontman-ai/frontman/commit/8a684623cde19966788d31fd1754d9dc94e0e031) Thanks [@BlueHotDog](https://github.com/BlueHotDog)! - ### Added - **Image saving via write_file** — LLM can now save user-pasted images to disk using a new `image_ref` parameter referencing attachment URIs (`attachment://{id}/{filename}`). The browser MCP server intercepts `write_file` calLow2/20/2026
v0.5.0 #### @frontman/bindings ### Patch Changes - [#393](https://github.com/frontman-ai/frontman/pull/393) [`d4cd503`](https://github.com/frontman-ai/frontman/commit/d4cd503c97e14edc4d4f8f7a2d5b9226a1956347) Thanks [@BlueHotDog](https://github.com/BlueHotDog)! - Fix Astro integration defaulting to dev host instead of production when FRONTMAN_HOST is not set, which broke production deployments. Also add stderr maxBuffer enforcement to spawnPromise to prevent unbounded memory growth from misbehavinLow2/19/2026
v0.4.1 #### @frontman/client ### Patch Changes - [#384](https://github.com/frontman-ai/frontman/pull/384) [`59ee255`](https://github.com/frontman-ai/frontman/commit/59ee25581b2252636fb7cacb5cec118a38c00ced) Thanks [@BlueHotDog](https://github.com/BlueHotDog)! - fix(astro): load client from production CDN instead of localhost The Astro integration defaulted `clientUrl` to `http://localhost:5173/src/Main.res.mjs` unconditionally, which only works during local frontman development. When installed Low2/17/2026
v0.4.0 #### @frontman/client ### Minor Changes - [`99f8e90`](https://github.com/frontman-ai/frontman/commit/99f8e90e312cfb2d33a1392b0c0a241622583248) Thanks [@BlueHotDog](https://github.com/BlueHotDog)! - Add file and image attachment support in the chat input. Users can attach images and files via drag & drop, clipboard paste, or a file picker button. Pasted multi-line text (3+ lines or >150 chars) is collapsed into a chip. Attachments are sent as ACP resource content blocks with base64-encoded bLow2/17/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

E2BOpen-source, secure environment with real-world tools for enterprise-grade agents.e2b@2.28.0
crab-code🦀 Open-source alternative to Claude Code, built from scratch in Rust. Agentic coding CLI — thinks, plans, and executes with any LLM. Compatible with Claude Code workflows.main@2026-06-03
holaOSThe agent environment for long-horizon work, continuity, and self-evolution.main@2026-06-02
@dcyfr/aiPortable AI agent harness with plugin architecturev3.2.1
ralph-claude-codeNo descriptionmain@2026-05-31

More in Frameworks

langchainThe agent engineering platform
deer-flowAn open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of ta
tqdmFast, Extensible Progress Meter
simBuild, deploy, and orchestrate AI agents. Sim is the central intelligence layer for your AI workforce.