Iterate on your UI with your coding agent.

Switch a section between variants, comment on any element, and your agent changes the code. Local, MIT.

npx iterbar init --agent claude

or --agent codex, cursor, all

View on GitHub iterbar on npm

Works with any agent that runs local MCP servers. iterbar init sets up Claude Code and Cursor, and prints the config for Codex.

A real recording: one comment, from pick to done. The reply is scripted.

On your page

  • Comment on page elements
  • Switch a section between variants
  • Read your agent's replies in the inbox

In your agent

  • list_feedback
  • get_feedback
  • get_batch
  • wait_for_feedback
  • list_slots
  • reply
  • set_status

Setup

The full setup guide

  1. 1 Add the Vite plugin

    It isn't on npm yet: use it from a Devroll checkout.

    // vite.config.ts (React): keep your plugins, add iterbar() after them
    import { iterbar } from "@iterbar/vite";
    import react from "@vitejs/plugin-react";
    import { defineConfig } from "vite";
    
    export default defineConfig({
      plugins: [react(), iterbar()],
    });

    In SvelteKit, use plugins: [sveltekit(), iterbar()] and also import "@iterbar/vite/client" from src/hooks.client.ts.

  2. 2 Set up your agent

    Installs the skill and the MCP server. For Codex, add the config.toml table it prints.

    npx iterbar init --agent claude

    or --agent codex, cursor, all

  3. 3 Comment, then ask your agent

    Press C, click, write. Paste the prompt init printed into your agent.

Leave your agent its first comment.

npx iterbar init --agent claude

or --agent codex, cursor, all

The bar's Vite plugin comes from a Devroll checkout for now.

View on GitHub iterbar on npm