Editor
A browser-based coding environment where you can write, run, and iterate on code with AI — all without leaving Mume AI.
Overview
The Editor gives you a full IDE-like experience directly in your browser. It combines a file explorer, code editor, terminal output, and AI chat into a single interface. Everything runs in a sandboxed environment — no local setup required.
Layout
The editor is split into four panes:
- File Explorer (left) — Browse and open files in your workspace. Files created by tool calls appear here automatically.
- Code Editor (center top) — View and edit files with syntax highlighting. Supports manual edits and inline diffs when the AI modifies a file.
- Output (center bottom) — See bash command output, tool call results, and logs in real time.
- Chat (right) — Talk to any AI model, ask it to write code, run commands, or modify files.
Sandbox Tools
The editor comes with four tools enabled by default. These let the AI interact with the sandboxed filesystem:
Bash
Execute bash commands in an in-memory sandbox. Supports standard Unix tools like grep, sed, awk, jq, sort, cat, head, tail, wc, cut, tr, uniq, and diff. The AI can read files, process data, and run multi-step commands.
List Files
Lists all files in the workspace with their paths, sizes, and modification times. Gives the AI an overview of the project structure.
Read Lines
Reads specific line ranges from a file. Useful for inspecting particular sections of code without reading the entire file.
Edit File
Makes targeted find-and-replace edits to files. The AI can precisely modify code by specifying the exact text to find and what to replace it with. Changes show as inline diffs in the editor.
How It Works
- Open the Editor — Click Editor in the sidebar, or click “Open in Editor” on any sandbox tool result in a regular chat.
- Ask the AI — Describe what you want to build or modify. The AI can create files, write code, execute commands, and iterate based on results.
- Review changes — Files appear in the explorer as the AI creates them. Open any file to see its contents, or view inline diffs for modifications.
- Iterate — Keep chatting to refine the code. The AI remembers your workspace state and can build on previous changes.
- Sync to workspace — Sandbox changes can be synced to your persistent workspace (Firestore). Accept or reject individual file changes via the sync panel.
Tips
- Use
Cmd/Ctrl + Sto save manual edits in the code editor. - Resize any pane by dragging the dividers between them.
- Collapse the output panel when you don't need it — drag the divider down or click the handle.
- The AI uses bash for reading files by default (via
cat,grep, etc.), so you don't need the dedicated Read File or Write File tools unless you prefer them. - You can enable additional sandbox tools (Read File, Write File) from the tools menu in the chat composer if needed.
- Switch between models at any time using the model selector in the chat composer.
Authentication
The editor layout is visible to everyone, but sending messages requires a Mume AI account. Sign in to start coding with AI. Your workspace files and editor state are automatically saved and restored across sessions.