How it worksTeamsDocs
Get Flatbread

Paste this to your agent

Install and set up Flatbread using https://flatbread.io/install.md
Or set it up by hand

How to share a Codex session

Pasting a Codex answer into a chat loses how it got there: the commands it ran, what they printed, where it failed and the patch it applied.

What Codex has built in

/export exports the conversation as Markdown.

/copy copies the last response, or part of it.

/feedback sends logs to the Codex maintainers. It is not a link for anyone else.

/resume reopens a saved chat.

Checked against Codex's slash commands, in its source on 9 November 2026.

Where the session is saved

Each session is a rollout file, ~/.codex/sessions/YYYY/MM/DD/rollout-<time>-<id>.jsonl. $CODEX_HOME moves the folder, and archived_sessions beside it holds the same files once archived.

Every session records the files it changed; some record token usage and how each tool call ended. Where a session leaves one out, its run says not recorded instead of guessing.

Share it as one link

Flatbread turns an agent session into one link: what was asked, every step, what broke, what fixed it and the diff. People read it. Agents pull it and pick up where it ended. Secrets stay on your machine. Nothing uploads until you approve the review.

Tell your agent

Install and set up Flatbread using https://flatbread.io/install.md

Or run it yourself

npm install -g flatbread-cli && flatbread setup

Then, when a session is done, say share this run in its chat, or run flatbread share codex in a terminal.

What happens next

  1. A review page opens in your browser. It runs on your own computer (127.0.0.1), and nothing has left it yet. No tab? Open the link the terminal or your agent printed.
  2. Check it. Keys, passwords and personal details are already hidden. Hide more words if you like, and choose who can open the run: Private (only you), Unlisted (anyone with the link) or Public.
  3. Press Confirm & share. Not signed in yet? Press Sign in to Flatbread first: it opens a new tab, and this page keeps what you chose.
  4. Copy your link: the page that follows shows it, with Copy link.

See a shared run · Docs