docs/guides/ai-agent-webui.md
nanobot includes a browser WebUI for persistent chat sessions, visible agent activity, workspace controls, Apps, MCP presets, Skills, settings, and Automations.
Use the WebUI when you want a local AI agent interface that is easier to operate than a terminal, especially for project work, file attachments, model switching, workspace selection, Apps, Skills, and scheduled automations.
python -m pip install nanobot-ai
nanobot onboard --wizard
nanobot agent -m "Hello!"
The published wheel already includes the WebUI bundle. You only need the
webui/ source directory when changing the frontend.
nanobot webui
The launcher checks setup, enables the local WebSocket channel after confirmation, starts the gateway, and opens the browser.
When nanobot edits a file, the WebUI activity timeline can show the changed line counts, a unified diff, and an Open file action for a read-only preview. File previews use the chat's current workspace access mode: restricted access stays inside the selected workspace, while Full Access can preview files outside the workspace when the gateway allows it.
nanobot webui --background when you do not want to keep a terminal open.nanobot gateway status, logs, restart, and stop to manage a
background gateway.127.0.0.1 by default.8765 by default.nanobot agent -m "Hello!".