AI that builds, not just answers.

LumaBrowser's built-in AI Chat doesn't just reply with text; it produces artifacts: standalone documents that render live next to or inside the conversation. Code, web pages, diagrams, media, and fully interactive mini-apps, all generated on demand and runnable in the same window.

Download LumaBrowser - free See the artifact types
Live artifacts in AI Chat. Bring your own model; it runs locally, with nothing to wire up.

Eight kinds of artifact

Ask for something concrete and the model picks the right artifact type for the job. Documents open in a panel beside the chat; interactive modules render right inside the conversation. All of them are editable, runnable, and saved.

Code

Any language, rendered in a VS Code-style Monaco editor with full syntax highlighting. Read it, scroll it, copy it, the same editing surface you already know.

HTML

Full pages or fragments, shown as a split view: the source on one side, a live preview on the other. Change the request, watch the preview update.

SVG

Vector graphics rendered straight to an image. Icons, diagrams, and illustrations come back as crisp, scalable artwork you can drop anywhere.

Markdown

Long-form docs rendered formatted, headings, lists, tables, and code blocks laid out for reading, not buried inside a single chat reply.

Image

Generated bitmaps shown right where you asked for them, no separate viewer, no download round-trip to look.

Video

Clips from your local video models, kept with the conversation that made them.

Audio

Generated sound and music, saved as an artifact you can play back, download, or share.

Live

Interactive modules, calculators, charts, dashboards, trackers, live lookups, that render inline in the chat and respond to your input in real time.

Live interactive modules

The live type is the one that turns a chat into a tool. The model calls create_live_artifact with a small HTML fragment plus a script; the module renders inline in the chat, powered by a lightweight reactive runtime (ResonantJS) with optional Chart.js for charts. No build step, no <script> tag wrangling; it just renders and reacts.

Make me a counter I can click.

Here's a live counter. Tap the buttons; it updates right here in the chat, and the count is saved.

Counter
Live module, inline in the chat.

Under the hood, a live module is plain markup plus a script that runs with a few values already in scope: root (the module's container), R (its ResonantJS instance), Chart (when Chart.js was requested), store and luma. An element marked res="name" re-renders whenever R.name changes. Here is what the model sends for the counter:

<!-- html: plain markup, no <script> tag. res="count" binds to R.count -->
<div class="lm-row">
    <b res="count"></b>
    <button class="dec">− Decrement</button>
    <button class="inc lm-primary">+ Increment</button>
</div>
// js: root, R, store and luma are already defined. Never redeclare them.
R.add('count', (await store.get('count')) ?? 42);

function change(by) {
    R.count = R.count + by;          // the <b res="count"> re-renders
    store.set('count', R.count);   // survives restarts and edits
}
root.querySelector('.dec').addEventListener('click', () => change(-1));
root.querySelector('.inc').addEventListener('click', () => change(1));

// Need a chart? Ask for libs: ["chartjs"] and `Chart` is in scope too.

Data that stays

store saves a module's data as JSON, so a tracker or score keeper survives app restarts and later edits of the module.

Live web data

luma.fetchPage(url) reads any website or JSON API through the app's real browser, with no CORS limits, and luma.openTab(url) opens a page for you.

Refresh on a schedule

Ask for a widget that stays current and the model can set a background run that refreshes its data every so many minutes. Manage the schedule from the Dashboard.

Your Hub, in a widget

luma.ext("personal-hub") gives a module your Hub task board, agenda and activity feed to build on.

Generated code that actually checks out

A snippet that looks right but throws on the first run isn't an artifact, it's a chore. LumaBrowser puts validation gates between the model and your panel.

Lint on create and edit. Code artifacts are automatically linted whenever they're created or edited; JavaScript and TypeScript, JSON, and PowerShell are all checked. A syntax safety gate runs before a live module renders, and a lint pass runs after. The model is instructed to fix any problems with edit_artifact before it declares the work done; so you get fewer broken snippets and fewer round-trips.

Lint on create/edit

Every code artifact is linted as it's written. JS/TS, JSON, and PowerShell all run through the checker.

Safety gate before render

Live modules pass a syntax safety gate before they're allowed to render in the panel.

Lint pass after render

A second lint pass runs after the module renders, catching what static checks alone might miss.

Self-repair before done

The model is told to fix flagged problems with edit_artifact before it calls the task finished.

Versioned by default

Iterate without losing earlier drafts. Every edit creates a new version under the same root. The chat shows one entry per artifact with a version count, full history is retained, and deleting an artifact removes the whole version chain.

v1

First draft - the model's initial take on your request.

v2

You asked for a tweak; a new version is saved under the same root.

v3

Another edit. The chat still shows one entry, with a version count.

v4 · head

The current version. Earlier drafts stay in the full history, ready to revisit.

Open it, share it, keep it

An artifact isn't trapped in the chat window. Each one is served at a local URL on the LumaBrowser REST gateway, for example http://127.0.0.1:<port>/artifacts/<id>.html, so you can pop it into a full browser tab or download it. A live module pops out as a standalone page too. With Network Sharing's web app running, one click copies a share link to an artifact.

A real local URL

Every artifact is reachable on the REST gateway at /artifacts/<id>.html.

Open in a full tab

Pop the artifact out of the panel and into a normal browser tab when you need more room.

Download it

Keep the file on disk; it's a standalone document, not a screenshot of one.

Share a link

With Network Sharing's web app running, the share button copies a link to the artifact, and paired devices can view your artifacts too.

Runs on whatever model you bring

Artifacts aren't tied to one vendor. They're produced by whichever model you configure, a local model (llama.cpp, or MLX on Apple Silicon) or your own OpenAI or Anthropic key. Pick the model that fits your privacy, cost, and quality budget; the artifact pipeline works the same either way.

Local model

Run entirely on your machine via llama.cpp, or MLX on Apple Silicon. Read more on local AI.

Your OpenAI key

Point LumaBrowser at your own OpenAI key when you want a hosted frontier model.

Your Anthropic key

Bring an Anthropic key and let Claude drive the same artifact pipeline.

Same pipeline, any model

Validation, versioning, and live rendering behave identically whichever model you choose.

Stop copy-pasting code out of a chat box

LumaBrowser's AI Chat builds runnable artifacts, code, pages, visuals, and live mini-apps, right beside the conversation, versioned and validated, on whatever model you bring. It's free. Explore the APIs or head back to the overview to see the rest of LumaBrowser.

Download LumaBrowser - free Read the API reference