PS5 AI CLI v0.1.0-beta.2 by saawant12
OpenAI's Codex CLI running on the PS5, with a home-screen terminal, text entry on the controller and a paired phone or computer browser
Install on your PS5
Payload: start elfldr 0.25 or newer on the PS5 first. It listens on port 9021. Then press Send to PS5 beside the file under Files, on a computer or phone on the same network. elfldr downloads the payload and runs it, so the PS5 needs to be online.
Files
| File | Size | SHA-256 | |
|---|---|---|---|
| ps5-ai-cli.elf | 155.4 MB | cbab3f77…a12f | Send to PS5 Download |
Screenshots
About PS5 AI CLI
Codex 0.160.0, OpenAI's coding agent, runs on the console itself, with its own prompts, sign-in and approval screens. Open the PS5 AI CLI icon on the home screen, pick Codex from the list and sign in with the device code Codex shows, on another device. Type with the D-pad and Cross on the on-screen keyboard, then select Enter to send. A bundled shell and file tools let Codex run commands and edit files in /data/ps5-ai-cli/workspace. Git, Node.js and Python aren't included, and programs that need a real terminal don't run.
A phone or computer on the same network can use the same terminal at http://<PS5 IP>:8035/ once you enter the six-digit code from Pair device on the PS5. One screen controls it at a time, so press Disconnect before you switch. Restart CLI starts a fresh Codex without signing you out, and reconnecting brings back the conversation and the prompt you hadn't sent.
Install ps5-ai-cli.elf in Payload Manager and run it once to add the icon. The icon only opens a running payload, so after a reboot start the payload again first. Codex needs internet and working DNS. No AI account or subscription comes with it: you sign in with your own. The sign-in is kept in /data/ps5-ai-cli/home/.codex, so replacing the ELF doesn't lose it. To update, quit Codex with /quit and stop the PS5 AI CLI gateway in Payload Manager before you swap the ELF.
Codex is the only CLI for now. Claude Code, Antigravity, Devin and Grok Build are planned. The author calls it an experimental beta and lists firmware 13.60 with elfldr and Payload Manager 0.5.2.
Release notes
v0.1.0-beta.2 · PS5 AI CLI v0.1.0-beta.2 — Terminal recovery and faster builds · 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.SHA256SUMSandbuild-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.
