The editor is for developers comfortable reading code. You don’t have to use it — you can
build and change everything by prompting Mythos. Edits you make in
the editor don’t cost credits, because no build runs.
The editor vs a build. A build runs the agent and costs credits. Saving a file in the editor
is a direct edit — it commits your exact change and runs no agent, so it’s free.
Why use it
- Precise changes. Fixing a typo, nudging a value, or tweaking a className is faster to do by hand than to describe.
- No credits spent. Hand-edits commit directly, so iterating in the editor doesn’t draw down your balance.
- Same source of truth. Your saves land in the same git repo as agent builds, so the editor and chat stay in sync.
Prerequisites
- A project that’s already been built, so there are files to edit.
- A desktop browser. The editor is desktop-only (see Limitations).
How to edit a file
Make your change
Type directly in the editor. A dot appears next to the filename and in the tree to mark the file
as having unsaved changes.
Save
Press Ctrl+S (Cmd+S on Mac) or click Save. Mythos formats the file with Prettier,
commits it to your repo, and pushes it to the preview.
What happens on save
When you save, Mythos:- Formats the file with Prettier (for supported file types — TypeScript, JavaScript, CSS, JSON, Markdown, and more), then adopts the formatted version back into the editor so you see the tidy result instantly.
- Commits the file to your project’s git repo — the same repo agent builds write to.
- Pushes it to the live preview so the change appears without a manual refresh.
Good to know
- Autosave is automatic. Roughly 800 ms after you stop typing, a dirty file saves itself.
- Each file keeps its own undo history. Switch between files and your undo stack and cursor position for each one are preserved — they don’t get mixed together.
- One file at a time. The editor has a single active file; there’s no multi-tab view yet.
- Light theme. The whole workspace, editor included, is light.
- The preview is HMR-driven. Changes hot-swap into the running preview rather than triggering a full rebuild.
Limitations
- Desktop only. The workspace IDE doesn’t run on small screens — open it on a narrower screen and Mythos shows a message asking you to switch to a desktop instead of a broken editor.
- Some files are protected. You can’t hand-edit core build plumbing (lockfiles, certain config files). Trying to save one of these is rejected — this keeps a stray edit from breaking the build.
- Single active file. No multi-tab editing, no cross-file find-and-replace yet.
- A save can fail. If the commit can’t land (for example, a network blip on GitHub’s side), your unsaved text is kept in the editor and a save-failed indicator appears so nothing is lost.
Troubleshooting
| Problem | Fix |
|---|---|
| The editor won’t open / shows a “switch to desktop” message | You’re on a screen too small. The editor is desktop-only — open the workspace on a desktop browser. |
| A save was rejected | The file is protected build plumbing. Change app code instead, or prompt Mythos to make the change. |
| You see a save-failed indicator | The commit didn’t land. Your text is still in the editor — press Ctrl+S to retry. |
| You’re previewing an old version and can’t edit | Editing is locked while viewing an earlier version. Return to the latest version to edit. |
FAQ
Does editing in the editor cost credits?
Does editing in the editor cost credits?
No. Hand-edits commit directly without running the agent, so they don’t spend credits. Only agent builds and edits do.
Do I have to press save?
Do I have to press save?
No. Autosave runs about a second after you stop typing. Ctrl+S (Cmd+S) saves on demand.
Does it format my code?
Does it format my code?
Yes. Save runs Prettier on supported file types and shows you the formatted result.
Can I use it on my phone?
Can I use it on my phone?
No. The editor is desktop-only; on small screens Mythos asks you to switch to a desktop.
Are my edits saved to the same place as agent builds?
Are my edits saved to the same place as agent builds?
Yes. Both write to your project’s private git repo, so the editor and chat stay in sync.
Can I edit multiple files in tabs?
Can I edit multiple files in tabs?
Not yet — the editor works one active file at a time, though each file keeps its own undo history.
Related
- Building and editing — change your project by prompting instead.
- Version history — every save is a commit; revert if a change goes wrong.
- Credits & pricing — hand-edits are free; agent builds cost credits.