Authorization notice. Orca Replay is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Reverse engineering. TLS interception decrypts traffic between a vendor client and its backend, so check that your use complies with the vendor's terms and your organisation's policy before recording.
Who it is forA developer using Codex CLI signed in with a ChatGPT subscription who needs a replayable record of a run.
The problemA Codex CLI session uses a credential that only its own backend accepts, so a base-URL redirect cannot capture it.
The outcomeA trace of the run captured at the process and socket boundary, which you can then replay and inspect with the same commands as other runs.
What you need first
- Node.js and npm, to install the orcareplay package
- A coding agent installed locally, such as Claude Code or Codex CLI, to record a run
- A model API key and network access for recording and for live forked turns
- A terminal with permission to install a global npm package
Steps
- Run
npm i -g orcareplayto install the package. - Read the README section on when the harness will not be redirected and confirm your Codex CLI setup matches it.
- Run
orca recordwith the--tls-interceptoption, following the README for the exact syntax of that flag. (inferred, check the README) - Run
orca show lastto confirm the trace includes model turns, andorca replay lastto confirm the offline replay.
Prompt for your agent
Use the OrcaReplay repo (Continuum-AI-Corp/OrcaReplay) to record a Codex CLI session with TLS interception enabled, following the README section on when the harness will not be redirected. Report whether `orca show last` lists model turns from the session. Verify that hosts not on the intercept list are listed in the trace as tunnelled.
Caveat. The README describes --tls-intercept only at a high level, so the exact flag syntax and setup must be read from the README before running this.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Continuum-AI-Corp/OrcaReplay and "Record a Codex CLI run that cannot be redirected"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer