Skip to content

SurfaceWeaveAgent-generated UI, woven safely

A protocol-first runtime that turns Tool Schemas, Agent adjustments, user preferences, and trusted Component Packs into dynamic interfaces.

SurfaceWeave woven surface mark

From a Tool to trusted UI ​

SurfaceWeave owns the interaction boundary—not your workflow. The business Agent or backend chooses the next Tool; the Runtime validates, renders, retains session data, and reports the next structured action.

1. DescribeRegister a Tool with JSON Schema and interaction metadata.
2. WeaveGenerate a Surface and apply validated Agent or preference patches.
3. ExecuteHandle ActionIntent through a host-owned, allow-listed executor.
bash
npm install @surfaceweave/core@next \
  @surfaceweave/generator@next \
  @surfaceweave/agent-tools@next

Say it. Reshape the whole application. ​

The flagship conversation playground connects fixed dialogue templates or your temporarily configured model to a live application. Move navigation to any edge, create a custom palette, generate new cards and grids, rebuild the page, open synchronized views, or turn fields into decision cards. Combine changes and undo them without losing the latest user input. Use the Open live playground button above to try it directly in your browser. No Key is needed for fixed templates. Follow the conversation walkthrough to connect a model, or run pnpm dev locally.

Fixed templates are scripted; optional model mode accepts your temporary OpenAI-compatible Chat Completions configuration and executes model-authored semantic operations. The site is static: it includes no model proxy or shared API Key. Your provider must allow HTTPS browser requests from https://chenrgsix.github.io. Business APIs remain simulated. Both the application shell and business form are actual Surfaces. All mutations use the SDK; validated semantic color tokens are mapped to styles only by trusted local components. Generated card text and metrics are presentation content, not authenticated business evidence.

Both embedded business views subscribe to the same SurfaceStore, so form values and semantic revisions stay synchronized. Renderer bindings are replaceable; the wire protocol remains framework independent.

SurfaceWeave dialogue changes a live application

Experimental release candidate

0.1.0-rc.6 is published with npm provenance. npm @next resolves to RC.6; latest intentionally remains on immutable RC.2. Review the RC.6 release summary and compatibility matrix before production use.

Released under the MIT License.