Skip to content
AI Primer
release

Pilot turns visual web edits into source-code instructions for agents

Pilot, an open-source web design tool, previews visual edits through an injected stylesheet and turns them into instructions for an agent. The agent can then update the source code to match the edits.

3 min read
Pilot turns visual web edits into source-code instructions for agents
Pilot turns visual web edits into source-code instructions for agents

TL;DR

A 16px padding adjustment can become Tailwind's p-4 when the agent writes it back. The README says Pilot checks the resulting page to show which changes actually landed.

Visual controls and Send

Pilot adds a welcome dose of direct manipulation to agent-driven UI work. Its editing workflow works like this:

  1. Select an element. Shift-click selects several for a shared edit.
  2. Choose a property. Shorthand such as pt, w or gap-x opens a visual control where values can be typed or dragged.
  3. Scope the preview. Modifiers such as from-768 and hover: target screen widths or hover states.
  4. Send to the agent. Designing can continue while it works; each change remains previewed until it exists in the code.

The preview uses an injected stylesheet and leaves source files untouched, as the creator clarified in a reply. That separation is why Pilot can work across frameworks, according to his explanation: the agent handles the implementation.

In a separate preview, mds shared a dashboard property inspector without identifying the tool.

Comments and skills

Comments attach a written request to selected elements, with an optional screenshot or file. Typing / brings in personal or team agent skills, according to the README's workflow description.

The launch's comment menu shows six example entries:

  • pilot-props: Change a component's props from a list.
  • pilot-make-responsive: Make an element work across screen widths.
  • pilot-break-and-fix: Test resilience to long text, many items and broken images.
  • pilot-make-accessible: Fix contrast, names, focus and tap targets without changing the layout.
  • afk: Work through a project while the user is away.
  • better-accessibility: Review and fix keyboard, focus, ARIA and form behavior.

The README specifically identifies Props and Make responsive as Pilot's own built-in skills; the menu can also contain skills supplied by the user or team.

Shared-component scope

When an edit targets a component instance, the agent asks an on-page question with three choices:

  • Change all instances.
  • Create a variation.
  • Edit only this component.

Local setup and permissions

Pilot runs jobs through the agent's terminal app, on the user's existing agent plan. The installation guide specifies:

  • Supported agents: Claude Code, Codex or Cursor.
  • Setup: The agent runs npx usepilot@latest init and configures Pilot to start with the local dev server. Pilot runs only during development and never ships to the live site.
  • Authentication: The first Send or comment opens the agent's sign-in page if necessary. The queued request waits for sign-in.
  • Permissions: Project-file edits and previously allowed actions can proceed. Actions that would require a new permission prompt are refused, with an explanation in the reply.

The repository labels Pilot a 0.x early preview and warns that behavior will change between versions.

FSL license

The creator describes Pilot as “free and open source”. The repository's license section specifies FSL-1.1-MIT, which permits use, modification and sharing, including at work, but excludes competing commercial products or services built from the code.

Each version becomes MIT-licensed two years after release.

Further reading

Discussion across the web

Where this story is being discussed, in original context.

On X· 5 threads
TL;DR4 posts
Visual controls and Send4 posts
Comments and skills1 post
Local setup and permissions2 posts
FSL license1 post
Share on X