Show HN: Codex Plays NetHack A developer created Terminai, a transparent terminal wrapper that lets AI models like Codex or Claude control a terminal session with user approval, and demonstrated it by having Codex play NetHack in auto-approve mode with the goal of ascending. The tool provides full terminal context to the AI and requires user confirmation for inputs by default, though the demo used auto-approve. Past sessions showed Codex attempting to win by ascending but instead escaping or leaving the dungeon without playing. LIVE Streaming for 1 watching I wrote Terminai https://github.com/emosenkis/terminai , a fully transparent terminal wrapper, to put codex or claude in the backseat while I remain the driver, staying completely invisible until summoned with Ctrl-Space . They have access to terminal context, content, and history, and can send input which, by default, requires user approval before being sent to the terminal. Here it is in auto-approve mode letting Codex control a game of NetHack https://en.wikipedia.org/wiki/NetHack . Prompt: /goal Win the game by ascending https://nethackwiki.com/wiki/Ascension in normal mode Past sessions: - https://asciinema.org/a/92TaJIyC2OYLvb9Y https://asciinema.org/a/92TaJIyC2OYLvb9Y /goal Win the game in normal mode - it ‘escaped’ without really playing - https://asciinema.org/a/PXROudliU5yGhECA https://asciinema.org/a/PXROudliU5yGhECA /goal Win the game by ascending in normal mode - it ‘ascended’ by leaving the dungeon without playing