Feature · AI Agent

AI that writes code and runs it.

Agent Mode uses a sandboxed WebContainer — a real Node.js runtime in your browser. The AI writes code, executes it, reads the output, fixes errors, and loops until it works.

Most AI coding tools suggest code. LumiChats Agent Mode runs it. The AI operates inside a WebContainer — a sandboxed Node.js environment that executes directly in your browser, no server required. You watch the agent write files, run commands, read output, and iterate — exactly like a developer would.

How it works

01

Describe your task

Tell the agent what you need built — a REST API, a data processing script, a web scraper, a React component. Be as specific or as high-level as you want.

02

The agent writes code

The AI generates the necessary files and code. You see every file it creates in real time, with syntax-highlighted code blocks.

03

The WebContainer executes it

The code runs in a sandboxed Node.js environment in your browser. Terminal output streams live — you see stdout, stderr, and exit codes as they happen.

04

The agent reads the output and iterates

If the code throws an error, the agent reads the error message and automatically fixes the code. It loops until the task succeeds or it has exhausted its retry logic.

05

Download the finished files

Once the agent is done, download any generated files directly. Your scripts, apps, and documents are ready to use.

Real use cases

Debug a failing REST API

Paste your API code and the error. The agent reproduces the error, identifies the root cause, fixes it, and verifies the fix runs correctly.

Build a data pipeline

Describe what data you need to transform. The agent writes a Node.js script, runs it against sample data, and iterates until the output matches what you need.

Generate and test documents

Ask the agent to create a Word document, Excel spreadsheet, or PDF. It uses skill libraries (docx, exceljs, pdfkit) to build real, downloadable files — not just content.

Scrape and process web data

Give the agent a URL and describe what data you need. It writes a Node.js scraper, runs it, and returns structured output.

Technical Note

Agent Mode uses WebContainers by StackBlitz — a WebAssembly-based runtime that runs a full Node.js environment in the browser without any server infrastructure. This means your code executes in your browser's sandbox with no privacy concerns and no server costs. Agent Mode requires a modern browser with SharedArrayBuffer support (cross-origin isolation is enabled on the /chat route).

Start free. No card needed.

5 free messages every day. Activate a ₹69 Day Pass whenever your workload picks up.

Create Free Account