Mewlith — step-by-step GUI guide¶
This guide takes you from nothing to using every page of the Mewlith web app, the VS Code panel and the hosted (multi-user) mode. Every command sits in its own box. On GitHub and on the docs site, hover over a box and click the copy icon in its top-right corner, then paste it into your terminal.
Quickest start for your device (Windows app, phone, Mac/Linux, VS Code): Start here: pick your device. This guide is the long version, page by page. 5.6.0 is the current stable release. On Windows, Get it from Microsoft.
Contents: 0 The Windows app · 1 Install · 2 Add a free AI key · 3 Start Mewlith · 4 Open the app · 5 The screen · 6 Agent tasks and approvals · 7 Chat mode · 8 Tasks · 9 Files · 10 Office documents · 11 Skills · 12 Tools · 13 Memory · 14 Routines · 15 Settings and connectors · 16 Shortcuts · 17 Prompts to copy · 18 VS Code · 19 Hosted mode · 20 Admin panel · 21 Phone · 22 Troubleshooting
Two ways to run it. Local mode (default) is just for you, on your own computer, with every tool. Hosted mode gives other people an account with a daily usage limit you control (sections 19–20). The Windows app (section 0) signs in to a hosted account, or runs Local mode for you.
0. The Windows app¶
The Mewlith app for Windows installs like any other program and opens in its own window frame: Menu, the Mewlith name, and minimize, maximize and close. It is not the standard Windows title bar. Drag that bar to move the window; Win+Z snaps it. The same three-pane layout and File / Edit / View / Help menus also appear in the browser and in the macOS and Linux apps, which keep their native window buttons. It opens on a sign-in screen with two choices: your Mewlith account (the same chats, files and usage time on every device) or Local mode (just this PC, no account). Please report problems at https://github.com/ymmiah/AutoMotoAI/issues.
Step 0.1 (recommended) — install from the Microsoft Store: Get it from Microsoft. Click Get / Install. Microsoft signs this copy, so Windows does not show an unknown-publisher warning, and the Store updates the app for you.
Step 0.1b (advanced) — if you cannot use the Store, download the direct installer from the
v5.6.0 GitHub release:
AutoMoto-AI-Setup-5.6.0-Windows-x64.exe (installs just for you, no admin) or
AutoMoto-AI-5.6.0-Windows-x64.msi (for all users; needs admin). These files may show a SmartScreen
warning until they are signed. If they do, click More info → Run anyway.
(Why: WINDOWS-DISTRIBUTION.md.) You can check the download first against
SHA256SUMS.txt on the release page:
(Get-FileHash "$HOME\Downloads\AutoMoto-AI-Setup-5.6.0-Windows-x64.exe").Hash
Step 0.2 — open Mewlith from the Start menu, then sign in. Type the server address your admin gave you (for example
https://mewlith.example.org; it must start with https:// unless it's on this PC), your username and
password. Open This device's name to call it something you'll recognise, like Amira's Windows PC, then
click Sign in.

Your password goes once to the server and is never saved. The app keeps a device key in Windows Credential Manager instead, so next time it opens straight into your account.
Step 0.4 — you're in. It's the same Mewlith you know from the browser, with your chats in the sidebar.

Step 0.5 — the same account everywhere. Sign in on your phone's browser (section 21) or another PC with the same
username: you see the same chats and files. Here the chat made on the PC is open on a phone, and a question asked on
the phone appears in the app after Reload (Ctrl+R):


Step 0.6 — see and sign out devices. Account → My devices lists every app and browser signed in to your account. this one is the device you're using. Click Sign out next to anything you don't recognise; changing your password signs out every other device too.

Admins see every user's apps under Admin → Signed-in apps and can sign any of them out (a lost laptop, a shared PC):

Step 0.7 — Local mode (no account). Click Start local mode on the sign-in screen. It needs the Mewlith engine on this PC; if it isn't installed, click Install the local engine (it opens PowerShell and runs the official installer that ships inside the app), add a free AI key when it asks, then click Start local mode again. The app starts the engine for you and stops it when you close the window.
Useful menu items (Menu on the window bar, and the Mewlith menu): Switch Local / Cloud / Server (Ctrl+Shift+H), Reload (Ctrl+R),
Check for updates…, Sign out of this device. Help has this guide (F1) and the local engine's log.
Updates — the beta app follows the beta channel: it checks for new beta builds when it starts and asks before installing a new version. Every update is signed; the app refuses one whose signature doesn't match.
1. Install¶
The full guide for every system is INSTALL.md. These are the short versions. You need Python 3.11 or newer and Git (INSTALL.md shows how to get them).
Windows 10/11 (PowerShell)¶
Step 1.1 — open PowerShell (Start menu → type PowerShell) and go to your home folder:
cd $HOME
Step 1.2 — download Mewlith:
git clone https://github.com/ymmiah/AutoMotoAI
Step 1.3 — go into the folder:
cd AutoMotoAI
Step 1.4 — run the installer (no admin rights needed):
powershell -ExecutionPolicy Bypass -File scripts\install.ps1
Close PowerShell and open a new window so the mewlith command is found.
macOS and Linux (Terminal)¶
Step 1.1 — go to your home folder:
cd ~
Step 1.2 — download Mewlith:
git clone https://github.com/ymmiah/AutoMotoAI
Step 1.3 — go into the folder:
cd AutoMotoAI
Step 1.4 — run the installer:
./scripts/install.sh
If the installer says ~/.local/bin is not on your PATH, run this once (macOS uses ~/.zshrc):
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
On Linux with bash, use ~/.bashrc instead:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
Prefer Docker? See INSTALL.md → Docker.
2. Add a free AI key¶
Mewlith needs at least one AI key. NVIDIA NIM is free: go to https://build.nvidia.com, sign in and click Get API Key. (Google Gemini, Groq and OpenRouter also have free tiers — see INSTALL.md → Get a free AI key.)
The installer created a private settings file, ~/.mewlith/.env. Open it:
Windows (PowerShell):
notepad "$env:USERPROFILE\.mewlith\.env"
macOS:
open -e ~/.mewlith/.env
Linux:
nano ~/.mewlith/.env
Add this line with your key, save and close the file:
NVIDIA_API_KEY=nvapi-paste-your-key-here
Check that Mewlith found it (you should see ✅ next to NVIDIA NIM):
mewlith status
Keep keys secret. Never paste a key into a chat, an issue, a screenshot or a Git commit. Mewlith's agent can never read the
.mewlithfolder.
3. Start Mewlith¶
Start the server:
mewlith serve
It prints something like this and opens your browser:
Mewlith v5.6.0b3 "Agent" -> http://127.0.0.1:8765/
Open (one-time link): http://127.0.0.1:8765/?launch=…
Workspace: ~/.mewlith/workspace · sandbox: local · approvals: ask · routines: on
Leave this window open while you use Mewlith. Press Ctrl+C in it to stop the server.
Port 8765 already in use? Start on another port:
mewlith serve --port 8766
4. Open the app (one-time sign-in link)¶
For your safety the app only opens from a one-time link (it works once and expires after 1 hour). serve opens
it for you. If you closed the tab, or you see this locked page:

Step 4.1 — open a second terminal window (leave serve running in the first one).
Step 4.2 — open the app with a fresh link:
mewlith open
No browser on that machine (SSH, Docker, a server)? Print the link instead and paste it into your browser:
mewlith open --print
5. A quick tour of the screen¶

| Area | What it does |
|---|---|
| New chat (top left) | Starts a fresh conversation (Ctrl+N, or Ctrl+Shift+O in Chrome). |
| Search chats | Finds old chats by title (Ctrl+K opens the command palette). |
| Tasks · Memory · Routines · Files · Settings | The pages, explained below. (Tools and Skills are under Settings → Advanced: you never need to pick them, Mewlith does.) |
| Help / Guide | Opens this guide in a new tab. |
| Chats | Your saved conversations. Hover one to rename ✎ or delete 🗑. |
| Agent / Chat (top) | Agent uses tools step by step; Chat gives a plain answer with no tools. |
| Auto · best available | Which AI answers first. Auto picks the best one and switches if one fails. |
| Panel icon (top right) | Shows the Run info panel: provider, model and every step. |
| Idea cards | Summarise my file, Make a Word report, Fix my code… Click one to fill the message box. After you attach a file you get ideas for that file (for a .pptx: Summarise my slides, Speaker notes, Improve my deck). |
| Message box | Type and press Enter to send, Shift+Enter for a new line, 📎 to attach a file or image. |
6. Give the agent a task and approve its steps¶
Step 6.1 — make sure Agent is selected at the top.
Step 6.2 — type a goal in the message box. Copy this one to try:
Create a file notes/study-tips.md with 3 short study tips for a computing student, then tell me where you saved it.

Step 6.3 — press Enter. Mewlith works out what kind of task it is (a Word report, a spreadsheet, a zip, code…), picks only the tools it needs and shows each step in plain words, like Writing your Word document or Reading your slides. Click a step to see the details (the tool name and its arguments).
Step 6.4 — risky steps (writing files outside scratch/, running commands, apps, connectors) stop and show an
approval card that says what it wants to do (Allow: Writing your Word document?). Details shows the exact
arguments. Click Approve (or press A) or Deny (D).

Step 6.5 — read the answer. Open the Run info panel (top-right icon) to see the provider, model and steps. Click a step row to expand its result.

Good to know. Press Esc or the ■ button to stop a run. Runs keep going if you switch chats; the Tasks badge counts them and changes colour when one is waiting for your approval.
7. Chat mode (quick answers, no tools)¶
Step 7.1 — click New chat, then Chat at the top.
Step 7.2 — ask a question:
Explain recursion to a first-year student in 3 sentences.

Chat mode never runs tools, so nothing needs approval. Switch back to Agent for anything that needs the web, files or commands.
8. Tasks page¶
Click Tasks in the sidebar. Every agent run in this session is listed with its status, steps and provider. Use Open chat to jump to it, Stop to cancel it, and Result to read the answer.

9. Files: upload, preview, CSV, archives¶
Click Files. This is the agent's workspace (its sandbox folder).
Step 9.1 — click Upload and pick files (Word, Excel, PowerPoint, PDF, CSV/TSV, JSON, YAML, XML, Parquet,
SQLite, logs, ZIP/tar/7z, images). Uploads go into uploads/ (or the folder you have open) and are checked for zip bombs, zip-slip, links and XXE;
macros never run.

Step 9.2 — each file card has:
| Button | What it does |
|---|---|
| Download | Saves the file to your computer. |
| Ask agent | Starts a new chat with the file attached. |
| View | Opens a viewer: a table for CSV/Excel, a tree for archives, an outline for JSON/YAML, the last lines of a log. |
| Extract / Clean zip | For archives: unpack into a folder, or re-pack without __MACOSX, .DS_Store, .git, .env. |
| Zip (on folders) | Makes a clean, repeatable .zip of the folder. |
CSV viewer — row count, delimiter, encoding and the first 50 rows:

Archive viewer — every entry, a safety verdict and any problems:

Ask the agent to work with a data file (copy, then upload a CSV first):
Read uploads/sales.csv and show total Units by Region, sorted from highest to lowest.
10. Word, Excel, PowerPoint and PDF¶
Step 10.1 — click 📎 in the message box and pick a Word, Excel, PowerPoint or PDF file (or use Ask agent on the Files page).
Step 10.2 — ideas for that file appear above the message box. Click one (for a deck: Summarise my slides), or type your own request, and press Enter. Sending a file with no text also gives you a summary.


Create a new document (the agent asks before saving outside scratch/):
Create a Word document reports/week6.docx with a title, a short introduction and a table of my three study goals.
Make an Excel budget in reports/budget.xlsx with Rent 650, Food 180, Travel 60 and a Total row that uses a formula.
Turn reports/week6.docx into a 5-slide PowerPoint deck in reports/week6.pptx.
Free LibreOffice adds page previews on the Files page, PDF export and old .doc/.xls/.ppt files. Without it,
everything else still works (check with mewlith apps).
11. Skills¶
You don't need this page: Mewlith loads the right skill by itself. For a look under the hood, open
Settings → Advanced → Skills. Skills are SKILL.md playbooks the agent reads when a task matches (for example data-files,
zip-archives, wordpress-plugins-themes). Each card shows whether this computer has what the skill needs.
- View reads a skill. Customise copies a bundled skill so you can edit it.
- New skill writes your own: a name, a description of when to use it, and the steps.

12. Tools¶
You don't pick tools either: for each task Mewlith offers the AI only the few it needs (about 10-18 of 41). Developers can see them all in Settings → Advanced → Tools, grouped, with a safety level: safe runs by itself, risky asks you first, blocked never runs. Below the tools you'll see Services (GitHub, GitLab… with token status) and Local apps found on this computer.

13. Memory¶
Click Memory. Facts here are added to every future chat.
Step 13.1 — type a fact, add optional tags and click Remember. Or just tell the agent:
Remember that I prefer short answers with bullet points.
Step 13.2 — the trash icon forgets a fact. The Journal lists what the agent did.

14. Routines (scheduled prompts)¶
Click Routines to run a prompt on a schedule while mewlith serve is running.
Or just ask in the chat, for example "every morning at 8 give me the top 3 tech headlines": Mewlith sets the routine up for you (it asks first).
Step 14.1 — fill in Name (letters, numbers, -), Schedule and Prompt, then Create routine.
Example schedule (every weekday at 08:00):
0 8 * * 1-5
Example prompt:
Search the web for today's top 3 AI stories and summarise them with links
Other schedules: every 30m, every 2h, every 1d, or any 5-field cron.
Step 14.2 — Run now tests it, Pause/Resume, Edit, Delete. Risky steps are always denied in routines, so they stay read-only.

The same from the terminal:
mewlith routines add news --cron "0 8 * * 1-5" --prompt "Search the web for AI news and give me 5 bullets with links"
15. Settings, connectors and keys¶
Click Settings.

| Section | What you can do |
|---|---|
| Assistant | How new chats start, and Approval: Ask (recommended), Read-only, or Auto (no questions — only in a throwaway sandbox). You write the request; Mewlith does the steps. |
| Offline AI | Built-in models on this PC: download, switch, test, delete, import a GGUF file, disk and memory needs, and Offline only. Ollama is optional and tucked away. |
| Appearance | Three themes (Midnight, Cloud, Electric Violet, or System) and two chat layouts (Centred, Workbench). |
| Folders | Add project folders the assistant may also use (it still asks before touching them). |
| Providers | Which AI Auto tries first, keys for this tab only, and Test keys. |
| More | Connectors (enable, then Reconnect now), and links to Tools and Skills if you want to look under the hood. You never need those lists: AutoMoto picks them. |



Enable a connector from the terminal instead (then restart serve):
mewlith mcp enable notion
16. Command palette and keyboard shortcuts¶
Press Ctrl+K (⌘K on a Mac) to search chats and run commands: switch mode, open any page, change theme, open this guide, forget tab keys.

| Keys | Does |
|---|---|
Ctrl/⌘ + K |
Command palette |
Ctrl/⌘ + N (Chrome: Ctrl/⌘ + Shift + O) |
New chat |
Ctrl/⌘ + B |
Show / hide the sidebar |
Enter / Shift + Enter |
Send / new line |
A / D |
Approve / deny the waiting approval card |
Esc |
Stop a run, close dialogs |
Copy buttons. Every code block, command, log, diff and file path in the app has a copy button in its top-right corner (or just after a path or command). It's always visible and stays in place while the box scrolls. Press it, or Tab to it and press Enter or Space. It shows Copied and screen readers hear "Copied". Copy buttons never appear on anything that looks like a password, key or token.
Connect GitHub or GitLab. Developer Studio → Tools → Connect GitHub or GitLab signs you in with a
fine-grained token in three guided steps: choose GitHub or GitLab (or your own GitLab server), open the
pre-filled token page, and paste the token. The token is kept only in your computer's password store
(Windows Credential Manager, macOS Keychain or your Linux keyring), never in files or the browser. You
see who you're signed in as, when the token ends and what it can do, with a warning if it's too broad
or never expires. Tokens found in a .env file can be moved into the password store. See
GIT-SIGN-IN.md.
Share to GitHub or GitLab. Developer Studio → Tools → Share to GitHub or GitLab sends your
checkpoints online in four steps: connect, pick the repository, check, share. The check lists every
checkpoint and file, and blocks passwords, keys, .env files, CI files and huge files. Nothing is
sent until you click, and force-push is never used. Get latest brings in other people's
checkpoints. If sharing fails for any reason, your work is saved as a .patch in
Documents/Mewlith/patches with step-by-step commands for Windows, Mac or Linux, each with a copy
button. See SHARE-TO-GITHUB.md.
Ask for a review. Developer Studio → Tools → Ask for a review opens a draft pull request (GitHub) or merge request (GitLab) from a shared branch. The title and description are written from your checkpoints, and you can change them. A confirm dialog shows exactly what is sent, and Mewlith never merges. Checks on GitHub shows the website's checks in the same small ring card as Run my app ("5/6", failing names, Check again). It only reads. If anything fails, you get step-by-step instructions with a copy button on every link and command. See PULL-REQUESTS-AND-CI.md.
Edit, test & share. Developer Studio → Tools → Edit, test & share is the chat-first place to change,
test and share your app. Ask in your own words or tap an idea: Explain my project, Fix the error, Test
my app, Share to GitHub, Ask for a review or Map my project. On desktop, the chat is on the left and a
live panel on the right shows your files, the test result or sharing. On tablets, the panel slides in from the
right, and on phones it slides up. Press Close to put it away. Manual controls and All tools are in
the ••• menu at the top. When the assistant wants to change a file,
you see the change as a diff with Apply and Skip. Test, share and review show a card with exactly what
will run or be sent, and nothing happens until you press its button. If sharing is refused, you get a .patch
file and step-by-step commands, each with a copy button. Once you've changed or tested something, a small strip
shows "All saved", "Tests passed" and "Not shared yet". Point at it for the numbers. The separate cards still work.
Project map. Developer Studio → Tools → Project map shows the languages in your project and how its files link, which frontend calls reach which API routes and data models ("2 of 3 calls matched a route" in the small ring card), and the parts of a big project, with build commands to copy. Rename safely previews every change first, stops when a rename would be ambiguous or clash, and has Undo. Your code is only read, never run. See PROJECT-MAP.md.
17. Example prompts to copy¶
Research with sources:
Search the web for what's new with NVIDIA NIM this month and give me 5 bullets with links.
Build and test code in the sandbox:
Create a tiny Python project in scratch/hello-cli with a README and a pytest test, then run the test and show me the result.
Explain an error from a screenshot (attach it with 📎 first):
Describe this image and point out anything I should fix.
Study helper:
Make a one-page revision sheet on SQL joins with an example table and three practice questions, saved as notes/sql-joins.md.
Data:
Read uploads/sales.csv, add a Revenue column (Units * Price) and save the result as reports/sales-with-revenue.xlsx.
WordPress plugin check (upload the zip first):
Validate uploads/hello-plugin.zip as a WordPress plugin, run a security review and tell me what to fix.
Clean up a ZIP:
Repack uploads/hello-plugin.zip as a clean zip with hello-plugin/ as the top folder.
18. VS Code panel and commands¶
Step 18.1 — download AutoMoto-AI-5.6.0-VSCode.vsix from the
latest release, then install it:
code --install-extension AutoMoto-AI-5.6.0-VSCode.vsix
(or Extensions → … → Install from VSIX…).
Step 18.2 — start Mewlith in a terminal (the extension finds it by itself, nothing to configure):
mewlith serve --no-browser
Step 18.3 — click the Mewlith icon in the activity bar to open the Chat panel. Type a question and press Enter. Tick work in this folder to let the agent use your open project (it still asks before every edit).

Step 18.4 — press F1 (or Ctrl+Shift+P) and type Mewlith to see every command:

| Command | What it does |
|---|---|
Mewlith: Ask about selection (Ctrl+Alt+A / ⌘⌥A) |
Sends the selected code with your question. |
| Mewlith: Fix this error | Also a 💡 quick fix on any problem; makes the smallest fix and asks before editing. |
| Mewlith: Explain this file | From the editor or Explorer right-click menu. |
| Mewlith: Run agent task on workspace… | Any goal, e.g. "add a test for the parser". |
| Mewlith: Create document/spreadsheet/deck from prompt… | Makes a Word, Excel or PowerPoint file. |
| Mewlith: Repack folder as ZIP / Validate WordPress plugin/theme | Archive and WordPress helpers. |
| Mewlith: Let the agent work in this folder | Adds the folder to Mewlith's allowed folders. |
| Mewlith: Open the Mewlith web UI | Opens the full web app with a one-time link. |
| Mewlith: Show connection status | Checks the connection to the local server. |
The extension talks only to your local server (127.0.0.1); it doesn't sign in to hosted servers — use the
web page for those.
19. Hosted (multi-user) mode: sign in and usage meter¶
Hosted mode lets friends or classmates use your Mewlith with their own private workspace and a daily limit (60 minutes of active AI time per day by default). Where to host it for free: HOSTING.md and INSTALL.md → Host it for other people.
For the owner (you)¶
Step 19.1 — create your admin account. On a host with no shell, open the server logs, copy the setup code, and open /setup (HOSTING.md). With a shell, the first account is the admin; it asks for a password of 10+
characters that doesn't contain your username:
mewlith admin create yourname
Step 19.2 — start in hosted mode:
mewlith serve --hosted
Step 19.3 — open http://127.0.0.1:8765 and sign in with your admin account. To let other people reach it, put it behind HTTPS first (HOSTING.md shows free ways: your PC + Cloudflare Tunnel, or an Oracle Cloud Always Free VM).
For everyone else¶
Step 19.4 — open the link the admin sent you. With an invite link (…/?invite=am-…) the
Create account tab opens with the code already filled in. Pick a username and a password (10+ characters,
not containing your username) and click Create account.

Already have an account? Use Sign in:

Step 19.5 — the usage meter at the bottom of the sidebar shows the time left and when it resets. Time only counts while the AI is working for you (model replies and tool runs) — not while you read, type or approve.

Step 19.6 — Account shows your usage, your limits and lets you change your password.

Step 19.7 — when your time runs out you'll see this card. Ask the admin for bonus time, or wait for the reset.

On a shared server the agent can research the web and work on Office, archive and data files in your own workspace. It can't run shell commands, control a computer or see anyone else's files, and every risky step asks.
20. Admin panel: bonus time, unlimited, suspend, reset, defaults¶
Sign in as the admin and click Admin in the sidebar.

Give someone extra time today — click + Bonus on their row, type the minutes and click Give bonus. The bonus lasts until the period resets.

Set a personal limit or unlimited — click Quota and type a number of minutes, unlimited, or default.

The table updates straight away (amira got +30 minutes, ben is now unlimited):

Other actions on each row:
| Button | Does |
|---|---|
| Reset | Starts their usage for this period from zero. |
| Suspend / Unsuspend | Blocks or allows sign-in (their running tasks stop). |
| Delete | Removes the account and all their chats and files (asks first). |

Change the default for everyone — in Defaults set Default minutes / period, Period (daily or weekly),
Resets at (UTC hour), Sign-up (open, invite or closed), an AI requests cap and storage per user, then
Save defaults.
Invite people — in Invite codes set a label, uses and days valid, click Create invite, then Copy link and send it. The code is shown only once.

Usage log and Audit log at the bottom show who used what, and every admin action.

The same from the terminal (on the server):
mewlith admin list
mewlith admin bonus ben 30
mewlith admin quota ben --unlimited
mewlith admin quota ben --minutes 120
mewlith admin reset ben
mewlith admin suspend ben
mewlith admin unsuspend ben
mewlith admin settings --default-minutes 60
mewlith admin invite --uses 10 --days 7
mewlith admin passwd ben
(In Docker, put docker compose exec mewlith python -m mewlith in front instead of mewlith.)
21. Use it on your phone¶
Got an account? Open the server address in Chrome (Android) or Safari (iPhone), sign in, and add it to your home screen. Step by step with pictures: Start here → B. Phone or tablet. There's no phone app in a store yet.
The web app has a phone layout. Tap ☰ (top left) for the menu.

Your phone can't reach 127.0.0.1 on your PC, so use hosted mode (accounts, HTTPS — see
INSTALL.md section 7). On a home Wi-Fi you trust, find your PC's address
(ipconfig on Windows, ip addr on Linux), then start hosted mode on it — replace 192.168.1.20 with your address:
MEWLITH_MODE=multiuser MEWLITH_ALLOWED_HOSTS=192.168.1.20 MEWLITH_COOKIE_SECURE=0 mewlith serve --hosted --host 0.0.0.0
The same on Windows (PowerShell):
$env:MEWLITH_MODE="multiuser"; $env:MEWLITH_ALLOWED_HOSTS="192.168.1.20"; $env:MEWLITH_COOKIE_SECURE="0"; mewlith serve --hosted --host 0.0.0.0
Then open http://192.168.1.20:8765 on the phone and sign in. Plain http:// is only OK on a network you trust.
22. Troubleshooting¶
| You see | Do this |
|---|---|
| "Mewlith is locked" | The one-time link was used or is over 1 hour old. Run mewlith open (or mewlith open --print). |
mewlith: command not found |
Open a new terminal. macOS/Linux: add ~/.local/bin to PATH (section 1). |
Port 8765 … is already in use |
Mewlith is probably already running: mewlith open. Or use mewlith serve --port 8766. |
| All AI providers failed / no answer | Run mewlith status: is there a ✅? Check the key in ~/.mewlith/.env (exactly NVIDIA_API_KEY=…, no spaces). Add a second free provider so Mewlith can fail over. |
| Slow or timed-out answers | Add AI_TIMEOUT=120 to ~/.mewlith/.env and restart serve. |
| An approval card is waiting | The run pauses until you click Approve or Deny (or press A / D). |
| No document previews on Files | Install LibreOffice (free), open a new terminal, check mewlith apps. |
Hosted: 401 please sign in |
Sign in again (sessions last 7 days). On plain http:// set MEWLITH_COOKIE_SECURE=0. |
Hosted: 421 / host not allowed |
Add the address you use: MEWLITH_ALLOWED_HOSTS=your.domain (comma-separated). |
| Hosted: "too many failed sign-ins" | Wait 15 minutes, or the admin sets a new password: mewlith admin passwd <name>. |
| Hosted: "limit reached" | The admin gives bonus time (+ Bonus or mewlith admin bonus <name> 30). |
More fixes: INSTALL.md → Troubleshooting. Still stuck? Open an issue at
https://github.com/ymmiah/AutoMotoAI/issues with the output of mewlith status (never paste keys).
Screenshots: Mewlith 5.5.0 on Linux in Chromium and VS Code 1.143, 30 October 2026. Section 0: the 5.6.0 Beta 3 app built from this repository on Linux (the Windows build looks the same; CI saves a Windows screenshot of every build). The example AI replies in the chat screenshots came from a scripted stand-in model so they stay the same every time; with a real key the wording will differ.