P

Loading...

Web Front ์ง€์ ํ•˜๊ธฐ! ๐Ÿซต (feat. Agentation)
Tech

Point It Out on the Web Front! ๐Ÿซต (feat. Agentation)

March 18, 2026by PETER
473
by PETER

Intro

  • If we use an AI agent incredibly well and set up a Harness perfectly, will a service magically be created with just a single 'click'๐Ÿ–ฑ๏ธ? It seems unlikely to reach that level, at least by '26. Anyone with even a little interest in UI/UX is bound to give feedback like, "move this over here."
  • The service I'm introducing today, Agentation, is for just that. Personally, I can feel that my Frontend workflow efficiency has improved significantly since I started using Agentation.๐Ÿค—

1. Agentation?๐Ÿง

  • Agentation is a tool created not by a developer, but by a designer named Benji Taylor. It's a service designed to make it easy to command an Agent to perform Frontend modifications on web pages using React 18+. In other words, as long as you're using React 18+, you can also use it with Next.js.

  • As you'll see if you visit the homepage, perhaps because his main job is a designer, the design is very simple yet stylish. In particular, the animation of a moving rabbit made of ASCII code that you see upon entering is insane... (Totally my aesthetic..๐ŸŽฏ)

    Screen Recording 2026-03-17 PM 8.22.56 (1)


2. Installation ๐Ÿ“

  • Install it in your project's directory with the command below!

    npm install agentation-mcp
    # or
    pnpm add agentation-mcp
    
  • Next, run npx add-mcp "npx -y agentation-mcp server" in your Terminal. This will allow you to select and install the agent you are using.

    • You can select multiple agents by pressing the Space Bar. Then press Enter!
  • Type npx agentation-mcp doctor and if you see the output below, the installation is complete!โœ”๏ธ

    Screenshot 2026-03-17 PM 9.03.16


3. Settings ๐Ÿฝ๏ธ

  • You only need to set it up once in the project you're using. :) It's really simple!

  • First, let's add the code to the RootLayout of your React / Next.js project to run Agentation only in development mode. For Next.js, import Agentation at the top of the layout.tsx file (which corresponds to the RootLayout), or for React, in main.tsx.

    import { Agentation } from "agentation";
    
  • Add the following to your RootLayout!

    {process.env.NODE_ENV === "development" && <Agentation />}
    

    Screenshot 2026-03-17 PM 9.19.19

  • If you're using React with Vite, you can add it like this.๐Ÿ˜‰

    • Instead of import.meta.env.MODE === "development", you can just use import.meta.env.DEV.

    Screenshot 2026-03-18 AM 10.17.56

  • After that, running npm run dev / pnpm dev / vite dev will automatically launch Agentation in development mode.๐Ÿค—


4. Basic Usage ๐Ÿ–ฑ๏ธ

  • Now, when you start development and go to localhost, you'll see a small round friend in the bottom right corner.

    image

    1. Click the circle as shown below.
    2. When you hover over an area you want to edit, it automatically recognizes the Component and you can add an annotation!๐Ÿ˜ฎ
    3. You can also drag over an empty area to leave an annotation. ๐Ÿ‘
    4. Once you've left an annotation, you can copy it by pressing the 'Copy Feedback' button or by pressing 'C' on your keyboard.โœจ

    export-1773810924092

    1. Just take the copied annotation and paste it into the Agent you're using, and you're done!
    • When you paste it, you can see that the annotations you created are structured to be easily understood by the Agent, providing location information.๐Ÿซข

    Screenshot 2026-03-18 PM 2.29.57

  • It works very well!

    Screenshot 2026-03-18 PM 2.31.25

๐Ÿ’ก TIP

  • After copying and pasting, it can be annoying to see the previous annotations still on the screen when you return. In this case, check the Clear on copy/send option in the settingsโš™๏ธ to have annotations automatically disappear after being copied.

    image


5. Hands-Free Mode ๐ŸŒด

  • The ability to communicate with the Agent by copy-pasting is already something to be thankful for... but for someone like me who finds even that a bit tedious, as expected, there's a Hands-Free Mode, seemingly just for me(?)!๐Ÿซข
  • Now, you can just write an annotation and press Enter, and the feedback will be automatically sent for modification! ๐Ÿ˜ฎ

1. CLAUDE.md / AGENTS.md

  • Let's add the following prompt to CLAUDE.md/AGENTS.md, which tells the agent that when I say 'watch mode', it should automatically receive and apply modifications in real-time via MCP.

    ## Agentation Integration
    
    When I say "watch mode", call agentation_watch_annotations in a loop.
    For each annotation: acknowledge it, make the fix, then resolve it with a summary.
    Continue watching until I say stop or timeout is reached.
    

2. Running the Local MCP Server

  • Let's open a Terminal and run the command below. You can change the port from 4747 to 8080 or something else.

    npx agentation-mcp server --port 4747

  • Now, we need to let the Frontend know the local MCP Server address! Let's do this by adding the endpoint prop as shown below!

    image

  • If you go back to the Agentation settingsโš™๏ธ on the Frontend, you should now see a green light in the MCP section. If you see it, the setup was successful.๐Ÿฅณ

    image

  • After restarting Claude Code, I can confirm that it is correctly recognizing the local Agentation MCP.

    image

3. Have Fun Pointing Things Out ๐Ÿซต

  • Alright, let's enjoy Hands-free Mode.๐Ÿ˜Ž When I tell Claude Code 'watch mode', it goes into a waiting state like this!

    image

  • Then, as you start requesting modifications, as soon as you point something out,

    1. The Web Front Agentation notifies the MCP Server that an annotation has been added.
    2. The Agent, which is watching the MCP Server, retrieves the annotation from the server.
    3. After finishing the modification, it sends a message in the order of MCP Server ๐Ÿ‘‰ Front to resolve the annotation!

    ๐Ÿ˜† This is truly the best...

    export-1773821332104


Wrap-up ๐Ÿณ

  • It's truly a great season for developing.๐Ÿฅน

โœจHAPPY BUILDING!๐Ÿ‘ทโ€โ™‚๏ธ

References


14
Buy me a coffee

0 comments

Please login to leave a comment.