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.
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.
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.
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.
Vector graphics rendered straight to an image. Icons, diagrams, and illustrations come back as crisp, scalable artwork you can drop anywhere.
Long-form docs rendered formatted, headings, lists, tables, and code blocks laid out for reading, not buried inside a single chat reply.
Generated bitmaps shown right where you asked for them, no separate viewer, no download round-trip to look.
Clips from your local video models, kept with the conversation that made them.
Generated sound and music, saved as an artifact you can play back, download, or share.
Interactive modules, calculators, charts, dashboards, trackers, live lookups, that render inline in the chat and respond to your input in real time.
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.
Here's a live counter. Tap the buttons; it updates right here in the chat, and the count is saved.
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.
store saves a module's data as JSON, so a tracker or score keeper survives app restarts and later edits of the module.
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.
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.
luma.ext("personal-hub") gives a module your Hub task board, agenda and activity feed to build on.
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.
Every code artifact is linted as it's written. JS/TS, JSON, and PowerShell all run through the checker.
Live modules pass a syntax safety gate before they're allowed to render in the panel.
A second lint pass runs after the module renders, catching what static checks alone might miss.
The model is told to fix flagged problems with edit_artifact before it calls the task finished.
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.
First draft - the model's initial take on your request.
You asked for a tweak; a new version is saved under the same root.
Another edit. The chat still shows one entry, with a version count.
The current version. Earlier drafts stay in the full history, ready to revisit.
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.
Every artifact is reachable on the REST gateway at /artifacts/<id>.html.
Pop the artifact out of the panel and into a normal browser tab when you need more room.
Keep the file on disk; it's a standalone document, not a screenshot of one.
With Network Sharing's web app running, the share button copies a link to the artifact, and paired devices can view your artifacts too.
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.
Run entirely on your machine via llama.cpp, or MLX on Apple Silicon. Read more on local AI.
Point LumaBrowser at your own OpenAI key when you want a hosted frontier model.
Bring an Anthropic key and let Claude drive the same artifact pipeline.
Validation, versioning, and live rendering behave identically whichever model you choose.
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.