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
Works with any agent that runs local MCP servers. iterbar init sets up Claude Code and Cursor, and prints the config for Codex.
On your page
- Comment on page elements
- Switch a section between variants
- Read your agent's replies in the inbox
In your agent
list_feedbackget_feedbackget_batchwait_for_feedbacklist_slotsreplyset_status
Setup
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.
Runs in Vite apps npm soon
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 claudeor --agent codex, cursor, all
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.