Skip to content

return_rp

Give AI a canvas. Bring the design back to Axure.

Turn a screenshot, a brief or RP/1 source into a native .rp you can keep editing, not another prototype screenshot.

return_rp — an AI-native canvas that compiles to a native Axure project

npm Release MIT

Axure RP 9 / RP 11 · AI-native canvas · CLI and MCP


In one sentence

AI drafts. You decide. Axure finishes the job. Pages, components, variables and interactions live in a versionable RP/1 source file, then compile into a native project.

You give it You get back
A screenshot, a brief, a PRD, or RP/1 source A native .rp, a browser preview, HTML / CSS / JS export, and structure plus acceptance reports

Why it is not another UI generator

Most screenshot-to-code tools return_rp
Output HTML, images or a non-editable mockup A native .rp, plus HTML / CSS / JS export
Design source One-shot output that is hard to diff RP/1 text source you can version and revise by layer
Agent collaboration Often regenerates the whole page Queries and edits by layer, semantics and scope
Axure versions Usually one version Bidirectional RP 9 / RP 11 parity
Verification Look at a screenshot Structure checks + browser interactions + Axure save/reopen and preview

One pipeline

flowchart TD
  A["Screenshot / brief / PRD"] --> B["RP/1 design source"]
  B --> C["Studio canvas"]
  C --> D["Native .rp"]
  C --> E["Browser preview"]
  D --> F["Keep editing in Axure"]
  E --> G["HTML / CSS / JS export"]
  1. Write intent as source. Screenshots go through the tracing pipeline; briefs and PRDs become RP/1 directly.
  2. Refine on the canvas. Your agent builds the first draft; you select, edit text and adjust layouts.
  3. Verify before delivery. Structure, browser behavior and Axure save/reopen are checked separately.
  4. Bring it into Axure. Generate a native project, or export a browser-runnable build.

Install

git clone https://github.com/karlmoriaty/AxureRP-return-rp.git
cd AxureRP-return-rp
python3 -m venv .venv && source .venv/bin/activate
python -m pip install -r requirements.txt
npm ci

CLI or MCP only, without cloning:

npx -y -p return_rp return_rp --help
npx -y -p return_rp return_rp-mcp

Native generation needs local Axure and a blank project you saved yourself. See Installation for Windows, archive installs and template variables.

Screens

Studio canvas Native .rp in Axure RP 9

Studio canvas — AI drafts, you refine · Native .rp in Axure RP 9 — every widget still editable

Documentation

Page Contents
Installation Requirements, source and archive installs, blank templates
Workflow The four-step pipeline and what each artifact proves
Studio Canvas, layers, authoring and verification workflow
RP/1 language Header, pages, primitives, runtime values, data
MCP tools Client config, generation, sync, image tracing, GUI roundtrip
Verification Structure, browser and native roundtrip layers
Version parity RP 9 / RP 11 capability matrix and registered gaps
Troubleshooting Paste, save, preview and MCP symptoms

Deeper references live in the repository: RP/1 manual · capabilities · troubleshooting reference

Project


MIT licensed. Independently built by karlmoriaty. Unaffiliated with Axure.