# Show HN: Codex Plays NetHack

> Source: <https://asciinema.org/s/HS1tpO6cjFsaSzS7>
> Published: 2026-07-27 06:29:49+00:00

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)
