This repository contains a Home Assistant add-on that runs OpenAI Codex CLI inside a Home Assistant ingress terminal.
This add-on is a Codex port of the original Claude Terminal add-on created by Tom Cassady (@heytcass). The original project and implementation approach are credited to the original author.
- In Home Assistant, open Settings -> Add-ons -> Add-on Store.
- Open the three-dot menu and select Repositories.
- Add:
https://github.com/moosnelly/ha-codex. - Install Codex Terminal.
A web terminal add-on with Codex CLI preinstalled.
Features:
- Ingress web terminal in Home Assistant
- Auto-launch Codex (or session picker mode)
- tmux-backed persistent terminal sessions
- Access to
/config - Persistent package installs (
persist-install)
Important migration note:
- Version 2 changed add-on identity from
claude-terminal/claude_terminaltocodex-terminal/codex_terminal. - Existing users must install the new add-on and migrate settings manually.
Documentation: codex-terminal/DOCS.md
Open an issue in this repository for bugs or feature requests.
MIT. See LICENSE.