← Brewology.com

PS5 Store › Apps › PS5 AI CLI

PS5 AI CLI changelog

v0.1.0-beta.2 · Oct 4, 2026

This update restores Codex conversation history when reconnecting and improves recovery from interrupted connections. It also makes repeat source builds much faster.

Changes

  • Restore terminal history: reconnecting restores Codex's retained conversation and unsent prompt while keeping the same CLI instance running.
  • Automatic reconnection: the browser retries interrupted connections, and the payload attempts to recover a failed listener without losing pairing or restarting Codex.
  • Respect intentional disconnects: choosing Disconnect or exiting Codex stops automatic retries.
  • Faster developer builds: measured rebuilds took approximately 10 seconds unchanged and 47 seconds for UI changes, using persistent compilation caches. Cold builds still take longer; timings depend on the build machine.
  • Payload Manager feed: install through the repository's payloads.json source.

Install or update

Download ps5-ai-cli.elf below, or use the Payload Manager feed. The ELF is the only asset installed on the console.

For an update, exit Codex with /quit, stop only the PS5 AI CLI gateway in Payload Manager, and replace the old payload before launching the new one. Keep /data/ps5-ai-cli to preserve sign-in and workspace files. Leave unrelated payloads running.

The home-screen icon opens a running payload. For a phone or computer, open http://PS5_IP:8035/ on the same network and enter the six-digit code from Pair device on the PS5. One screen controls the terminal at a time; use Disconnect before switching screens. If the console's IP address changes, use its new address.

Validation and limits

Native PS5 testing of these fixes passed saved sign-in, a Codex model reply, and fresh browser attachment at unchanged and different terminal widths. The header, conversation and unsent prompt returned while preserving the same CLI process. All 17 gateway tests passed on both macOS and Linux; local browser tests also passed automatic recovery and intentional disconnect behavior.

Physical TV close/reopen, actual PS5 network-change recovery, directly connected USB/Bluetooth keyboards, and reboot/autostart remain unverified. Automatic recovery may still require manually restarting the payload on a real network change.

The tested environment is PS5 firmware 13.60 with Relapse / elfldr and Payload Manager v0.5.2, using Codex 0.160.0. Codex is the only available CLI. Other firmware and loader combinations remain unverified. Git, Node.js, Python and general package managers are not bundled; broader coding workflows and interactive programs requiring a kernel PTY remain unsupported or unverified. Internet access and working DNS are required for Codex startup and model replies.

Assets

  • ps5-ai-cli.elf: installable payload.
  • SHA256SUMS and build-manifest.json: checksums and build identity.
  • *-source.tar.gz: corresponding application and dependency sources, patches, build scripts and lockfiles.
  • *-notices.tar.gz: third-party license/copyright notices and dependency inventory.

See the README for controls and troubleshooting. Original project code is GPL-3.0-or-later; dependencies retain their own terms. This independent homebrew project is unaffiliated with Sony, PlayStation or OpenAI.

v0.1.0-beta.1 · Oct 4, 2026

PS5 AI CLI opens the native Codex terminal on your PS5. Choose Codex, sign in with its device-code flow, and use your controller or a paired phone/computer browser.

This first experimental beta targets PS5 firmware 13.60 with Relapse / elfldr and Payload Manager v0.5.2. It includes Codex 0.160.0.

Install

  1. Download ps5-ai-cli.elf below. This is the only file you install on the console; the shell, file tools, fonts and launcher are embedded.
  2. Install and run it using Payload Manager. Open the PS5 AI CLI home-screen icon and choose Codex.
  3. Sign in through Codex. For another screen, open http://PS5_IP:8035/ on the same network and enter the six-digit code shown in Pair device on the PS5.

The home-screen icon requires the payload to be running. One screen controls the CLI at a time; use Disconnect to switch. Restart CLI starts a fresh Codex process while keeping sign-in and workspace files.

Included

  • Terminal-style CLI selector and native Codex interface.
  • Controller confirmation and on-screen keyboard with visible Backspace.
  • Monochrome terminal icon and bundled monospace fonts.
  • Browser prompt focus, reconnect and draft preservation.
  • Bundled native shell and 28 file tools, with corrected command execution and child-process handling.
  • Ownership-checked shortcut/runtime installation and recovery after deleting the shortcut.
  • Six-digit random pairing codes with a persistent, console-only Pair device panel.

Device-code login, saved sign-in after restarting the payload, model replies, controller text entry, CLI restart, and a model-driven create/run/edit/check shell task have passed on the tested console. Local tests cover gateway authentication, installer isolation, runtime replacement, and restart/reaping behavior.

Limits

  • Codex only. Other CLI names in the picker are unavailable.
  • Reopening the TV app or attaching from a fresh browser can show the live prompt without earlier terminal output. The CLI continues running, but full screen/history restoration is not reliable.
  • Other firmware/loaders, reboot/autostart, and USB/Bluetooth keyboards directly connected to PS5 remain unverified.
  • Only bounded shell/file workflows have been tested. Git, Node.js, Python and general package managers are not bundled. Interactive child programs requiring a kernel PTY and arbitrary Linux/FreeBSD binaries are unsupported.
  • Model requests can have noticeable initial delays. Restart the payload after network changes if it becomes unreachable.
  • Exit Codex using /quit before stopping the gateway for an update. Payload Manager force-stops processes and does not automatically stop a running CLI child with the gateway.

See the README for controls, updates, uninstalling and troubleshooting. Internet access and working DNS are required for Codex sign-in and replies.

Assets

  • ps5-ai-cli.elf: the installable payload.
  • SHA256SUMS and build-manifest.json: integrity checks and build identity.
  • *-source.tar.gz: corresponding application and dependency sources, patches, build scripts and lockfiles.
  • *-notices.tar.gz: third-party license/copyright notices and dependency inventory.

Original project code is GPL-3.0-or-later; dependencies retain their own terms. This independent homebrew project is unaffiliated with Sony, PlayStation or OpenAI.