Mirafold Wraps Coding Agents in Browser UI
Mirafold puts Codex, Claude Code, and Gemini CLI output in a browser UI without changing the agent underneath.

Mirafold is its maintainer’s open source browser interface for terminal coding agents like OpenAI Codex, Anthropic Claude Code, and Google Gemini CLI. It deals with a boring but real problem: terminal agent sessions are powerful, but long markdown transcripts, diffs, tables, and copy-paste trails can feel rough. The useful takeaway is simple: Mirafold is not a new codex agent, and it should not change what the agent does; it changes how you read and work with the session. For a codex cli github workflow, that distinction matters because the trusted CLI and repository stay the center of gravity while Mirafold becomes the viewing layer.
See what Mirafold actually changes
Mirafold is a browser re-skin for the terminal agent you already run. As of August 2026, the project describes itself as faithful: the agent keeps speaking and acting the same way, but its output can be rendered in a richer browser shell with an input box, folder tree, file views, and generated UI blocks.
A generative UI is an interface that renders model output as the shape that best fits the answer, such as a table, checklist, graph, chart, diff, or form, instead of only plain markdown text.
That is the clever part of the Show HN pitch. Coding agents already produce structured work: plans, patches, test failures, JSON, dependency graphs, and review notes. A browser has more room to display those shapes than a terminal pane that has been scrolling since your first coffee.
The trap is assuming a nicer surface means a safer or smarter agent. Mirafold does not, by itself, make a command safe, make a patch correct, or make repo context accurate. It makes the interaction easier to inspect, which is valuable, but inspection still belongs to the developer.
Notice why developers cared
The Hacker News reaction was not mysterious. People were tired of terminal scrolling, fragile copy-paste, and markdown blocks that make useful agent output feel like a wall of receipts. A browser wrapper is attractive because it meets the work where the work already hurts.
A common Codex CLI session has at least four visual modes fighting for space: the prompt, the agent answer, the file tree, and the diff. When the agent says it changed src/billing/retry.ts, you want to open that file, compare the patch, and keep the plan visible without replaying half the transcript.
Mirafold’s pitch lands because it treats agent output as an interface problem, not only a model problem. A table should be a table. A diff should be a diff. A checklist should be checkable. That sounds small until you are reviewing the third generated migration in a narrow terminal buffer.
The reasonable objection is fidelity. If a UI layer prettifies an agent transcript too aggressively, it can hide the exact text, the command boundary, or the thing the agent actually asked permission to do. Mirafold’s strongest claim is that it is a faithful shell around existing agents, so the right evaluation question is not whether it looks better. It is whether you can still reconstruct exactly what happened.
Keep the raw agent boundary visible
The safest way to think about Mirafold is as a lens, not a replacement control plane. Codex CLI, AGENTS.md instructions, your repo tests, and your permission habits still do the important work.
In a real repo, that means the local rules still live beside the code. For Codex, an AGENTS.md file can tell the agent how to verify changes, which directories are sensitive, and what commands are expected before a handoff.
# AGENTS.md
## Working rules
- Treat database migrations as review-required.
- Do not edit generated files under src/generated.
- Prefer small patches that can be reviewed in one diff.
## Verification
- Run npm test -- --runInBand before final handoff.
- Run npm run typecheck when TypeScript files change.
- Include the exact commands run and any failures not fixed.
## MCP boundary
- GitHub access is read-only unless the developer explicitly asks for a branch or PR.
- Do not post to Slack, Jira, or production systems from an agent session.
That file is still the contract. Mirafold may make the resulting plan and diff easier to read, but it should not become the place where durable repo policy silently lives.
This is also where Codex MCP boundaries matter. If your agent can read issues, fetch docs, or inspect build logs through an MCP server, keep the first connection read-only while you test the browser surface. A prettier session should never make external writes feel casual.
Try it where the terminal gets in the way
Mirafold is worth trying when the terminal is the bottleneck, not when the agent itself is the bottleneck. Good candidate sessions include multi-file refactors, dependency cleanup, test failure triage, documentation edits with tables, and code review summaries that need diffs and file context side by side.
It is overkill for quick one-shot prompts. If you ask Codex CLI to explain a regex, rename a local variable, or draft a two-line shell command, the browser shell may add more surface area than value.
A practical Codex workflow looks like this: start from the normal CLI and repo, keep your AGENTS.md rules in place, run Mirafold for a visual session, then verify outside the UI with the commands your project already trusts. If you are reading from the Codex CLI GitHub repository to understand install behavior or command flags, use that source for the CLI facts and Mirafold for the interaction experiment.
This is also adjacent to the bigger direction in the related training topic: agent sessions are becoming less like chat boxes and more like small development workbenches. If you want another concrete example of agents getting real app actions around Codex, Aident Loadout Gives Codex Real App Actions is the nearby comparison.
Try Mirafold safely
Use this as a light test, not a ceremony. The goal is to find out whether the browser UI helps you review agent work without weakening your normal verification loop.
| Fit | Not fit |
|---|---|
| Long Codex CLI sessions with many files | Tiny one-command prompts |
| Diffs, tables, checklists, and plans | Work where raw terminal logs are legally required |
| Local repo exploration | Production operations or destructive commands |
| Read-only MCP experiments | Write-enabled external integrations on day one |
Copy this checklist into the issue, PR, or local notes for the first session:
## Mirafold trial checklist
Repo:
Task:
Agent:
Branch:
Before starting:
- AGENTS.md exists and includes verification commands.
- Git working tree is clean or intentionally dirty.
- MCP servers are read-only, or disabled.
- No production credentials are available in the session.
During the session:
- Keep the original agent transcript accessible.
- Review every generated diff before accepting it.
- Do not allow destructive shell commands without a separate pause.
After the session:
- Run the repo verification commands outside the browser UI.
- Capture the exact commands and results.
- Compare whether the UI made review faster or merely prettier.
The last line is the honest test. A good agent interface should reduce review friction. It should not just turn uncertainty into nicer cards.
One good next step
Try Mirafold on one non-destructive Codex CLI task that normally produces an annoying transcript. Keep the raw session, run the same verification commands, and decide whether the browser view made the review meaningfully better.
One methodology lens
One useful way to read this through our methodology is the Plan step: delegate first-pass decomposition and dependency mapping, review the sequencing and assumptions, and keep ownership of scope and priorities. If that split is still fuzzy, the workflow usually is too.
Practical starter checklist
- [ ] Name the Codex artifact first: an AGENTS.md instruction, a Codex CLI verification loop, an MCP boundary note, or a skills handoff.
- [ ] Write the review checklist before generation starts: scope, owner, tests, rollback.
- [ ] Keep the first step small enough that a reviewer can inspect the receipt without replaying the whole chat.
Common questions
-
What should teams know about codex cli github?
Start by writing down one visible team rule for Codex, not a loose preference. That usually means a short repository convention, a review checklist, and one owner who can reject agent output when the evidence is missing.
-
Which Codex artifact should teams standardize first?
Standardize the smallest artifact that reviewers already touch: a AGENTS.md instruction, MCP note, or verification checklist. The point is not documentation volume; it is a shared place where scope, allowed tools, expected tests, and rollback notes are visible before generated code reaches review.
-
How do teams know the convention is working?
The convention is working when reviewers can approve or reject agent output from the artifact and evidence alone. Track whether pull requests name the rule used, include the promised checks, and avoid replaying long sessions just to understand what changed.
Best ways to use this research
- Best for: Codex teams deciding which AGENTS.md instruction, CLI workflow, MCP boundary, or verification loop to standardize next around “Mirafold Wraps Coding Agents in Browser UI.”
- Best first artifact: turn the named fix into an AGENTS.md rule, verification checklist, MCP note, or review receipt before the next automated run.
- Best comparison angle: compare the workflow against the current Codex CLI review loop, shell boundary, and evidence trail; keep the path that leaves the shortest auditable trail.
Further reading
- Mirafold — source
- OpenAI Developers — AGENTS.md guide
- GitHub — openai/codex
- OpenAI developers: codex quickstart
Next move
Take this into the related training topic and test whether a new reviewer can defend the merge without replaying the chat.
Related training topics
Related research

Show HN: Remarc Feedback via MCP
Remarc captures comments on text, screenshots, web elements, and voice so coding agents can resolve them through MCP.

Codex CLI 0.121.0 for repo workflows
Codex CLI 0.121.0 repo workflows: named connector owners, a pinned model in AGENTS.md, and PR receipts that survive reviewer handoffs.

Sloppie Is a Linux Agentic Coding Environment
Sloppie is a Linux development environment that turns coding-agent work into review comments, diffs, and terminals.