Inline HTML artifact/webview preview in Codex Desktop

Open 💬 0 comments Opened Jun 23, 2026 by Mercer-Su

What variant of Codex are you using?

app

What feature would you like to see?

Summary

Codex Desktop currently cannot render local HTML artifacts inline in the conversation, unlike Claude Desktop-style artifact previews.

Current behavior

When Codex generates an HTML file for workflow diagrams, debugging panels, result comparison pages, or tool-chain documentation, the user can only view Markdown/Mermaid in the chat or open the HTML outside Codex manually.

Expected behavior

Codex Desktop should support one of the following:

  • Inline preview of generated local HTML artifacts
  • A built-in webview/artifact viewer
  • A first-class “Open preview” action inside the Codex Desktop UI

Why this matters

This is useful for code-agent workflows where the assistant needs to present:

  • Tool-chain architecture diagrams
  • Interactive debugging dashboards
  • Result comparison pages
  • Local report pages generated during analysis

Markdown/Mermaid is helpful, but it is not enough for richer interactive inspection or HTML-based diagnostics.

Environment

Codex Desktop
macOS

Additional information

_No response_

View original on GitHub ↗