Back to examples AI Interface

AI App Builder

An artifact-style client-side composer for configuring AI providers, prompts, UI intent, and exportable app markup.

Show how UIF can frame AI-enabled app assembly while keeping provider keys and generated previews under user control.
Artifact-Style Composer

AI Application Studio

Keys stay in browser memory. Production integrations should use a governed backend proxy.

Direct provider calls may be blocked by CORS. Use the request preview for client prototypes and a proxy for production.
Provider Request
Exportable App Markup
Client Response
Use Send to test a browser-side provider or proxy request. Direct provider calls may require CORS support.

Micro App Contract

This example is a contained UIF Micro App: route-scoped assets, browser-side state, visible controls, and a bounded root that can run inside the larger public shell.

Pattern Purpose

Use this pattern to prototype AI-assisted app surfaces, provider request payloads, and generated UI previews before adding a production proxy.

Recommended Structure

Keep provider settings, prompt context, preview output, and exportable code together, while clearly separating browser-only demo behavior from production API handling.

What Users Can Try

  • Configure provider, model, endpoint, and prompt.
  • Keep API keys in browser memory only.
  • Preview provider-specific request payloads.
  • Export generated application markup.
Sample Markup
<section data-uif-demo="ai-app-builder">
  <select data-uif-ai-provider>...</select>
  <textarea data-uif-ai-prompt></textarea>
  <div data-uif-ai-preview></div>
</section>