Codex
What a Codex session looks like in Chat View, including images, patches, web searches and plans.
Chat View reads Codex's rollout file on your host. Newer Codex versions wrap several actions in one exec call; Moshi unwraps it so each shell command, patch or plan update gets its own card.
At a glance
| In Codex | In Chat View |
|---|---|
| Image attached to a prompt | Preview above your message |
view_image, and other tools that return images | Preview on the tool card |
 on its own line in a reply | The image from your host, shown inline |
apply_patch | Mini diff per file |
Shell commands, including exec_command and its follow-ups | Command and output; consecutive commands share one card |
!command you type | Your command with its output and exit status |
update_plan | Checklist |
| Proposed plan (Plan mode) | Plan card |
request_user_input | Question card |
| Web search, open and find | Named web card with the queries and sources |
| Reasoning summaries | Thinking blocks |
::moshi-visual line | Inline visual |
Images
Codex records your text and its images in separate rows. Moshi joins them again, so the preview sits on your message and the [Image #1] label goes away. Tap any image for the full-screen viewer, where you can zoom and share it. An image bigger than a thumbnail loads from your host only when it is shown.
Plans and questions
A proposed plan shows as a plan card. When Codex's own menu is on screen and Moshi can verify it, you choose from the card. Questions are answered from the card by picking an option.
Turns
An interrupted turn shows an Interrupted marker. Typing $ in the composer lists skills, including those from enabled Codex plugins.
Not shown
Environment context, AGENTS.md instructions and memory citations are left out. Reasoning appears only when Codex writes a summary of it.
Related docs
- Chat View — how Chat View works for every agent, with the full support table.
- Hooks — install
moshi-hookand the agent's hooks. - Codex guide — set up and use Codex with Moshi.