Skip to content

About

AI-powered coding agent that iteratively edits and tests web apps using computer vision

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

PatchSight

A vision-capable AI coding agent that iteratively patches your UI issues

Demo Video

See the demo

How it works

  1. Playwright captures the target page with screenshots while scrolling.
  2. A vision-capable LLM reviews the screenshots and returns strict JSON.
  3. Feedback is reviewed by the user, who can reject unwanted suggestions.
  4. A coding agent is given the relevant files and feedback JSON and applies the patches via diff.
  5. An algorithm reads each proposed edit to verify code integrity.
  6. The updated page is rendered, and this process iterates.
PatchSight Workflow

Setup

Add an API key and model to .env or your shell:

OPENAI_API_KEY=...
UI_REVIEW_MODEL=...

OPEN_AI_KEY is also supported

Running the UI Review

Create a new directory containing the UI to be reviewed.
Then execute npm run dev

About

AI-powered coding agent that iteratively edits and tests web apps using computer vision

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages