Feature request: integrate RemoteCompose for LLM-assisted rendering

Resolved 💬 1 comment Opened May 3, 2026 by Jason-Hoford Closed Jun 1, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

When using Claude (and Claude Code) on visual/UI tasks, the only output
formats are HTML/CSS/JS or static images. HTML is bloated (a 1-KB pendulum
becomes 10+ KB of HTML+JS) and brings sandboxing concerns. Static SVGs
are frozen. There's no compact, animated, interactive, multi-platform
output format that Claude can generate. This blocks AI-generated UI for
physics simulations, scientific instruments, GPU shaders, dashboards.

Proposed Solution

Integrate RemoteCompose as a Claude output format. RemoteCompose is a
binary UI format from Android engineers in AndroidX with open-source
renderers for TypeScript/Web, iOS, Android, and native (C++).

Claude generates Python using the rcreate library, which emits a .rc
file (typically 1–10 KB). The .rc plays in any RemoteCompose renderer.
Same artifact, every platform.

Could ship as: a first-party Python package, a cookbook example, or
a built-in skill/tool Claude invokes for UI generation requests.

Alternative Solutions

Currently we work around this by:

  • Hand-writing RemoteCompose Python (no first-party Claude support).
  • Generating HTML/JS via standard Claude usage (10× larger, sandboxed).
  • SVG (no animation, no interactivity).

None cover the gap: compact + animated + interactive + multi-platform.

Priority

Medium - Would be very helpful

Feature Category

Other

Use Case Example

Walking through one demo from the gallery I built this week:

  1. User asks Claude: "Generate a heart-rate monitor with FINE / CAUTION /

DANGER state buttons. Tap a button to switch state — colour and pulse
rate should change."

  1. Claude writes ~80 lines of Python using rcreate.
  2. Output: a 3.8 KB .rc file.
  3. User embeds it in any RemoteCompose renderer.
  4. Result: an interactive EKG monitor that responds to taps.

I built 21 such demos (slingshot physics, Mandelbrot, GPU shaders,
clockwork gears, scrolling stock chart, more). Live gallery:
https://white-sunset-77c4.hoford1.workers.dev/
90-sec walkthrough: https://youtu.be/JlZPQg3QqDE

This took ~one week, generated entirely by Claude Code from one-sentence
prompts. The format is already production-stable; the gap is just
first-party Anthropic support so users can get there in one prompt.

Repos:

  • github.com/camaelon/remotecompose-experiments — renderers (TS, C++, iOS,

KMP)

  • github.com/Jason-Hoford/RemoteUI — Python code-generation library
  • AndroidX RemoteCompose:

https://developer.android.com/jetpack/androidx/releases/compose-remote

Both maintainers (camaelon, upstream creator; Jason Hoford, Python lib
author) are open to collaboration on integration.

Additional Context

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗