Run OpenAI Codex inside Home Assistant through a browser terminal.
This repository is not officially supported. Use it carefully and test changes in your own environment.
This repository is a fork of robsonfelix-hass-addons. Credit to Robson Felix for the original add-on work this repository builds on.
This repository continues to use the same MIT license.
| Add-on | Description |
|---|---|
| HA Codex | Codex CLI with a web terminal, Home Assistant MCP, and isolated persistent auth |
- Opens Codex in the Home Assistant sidebar
- Lets Codex read and edit your Home Assistant files
- Can connect Codex to Home Assistant through MCP
Add this repository URL to the Home Assistant add-on store:
https://github.com/PeterDujan/ha-codex
Then install HA Codex from the add-on store.
- Start the add-on.
- Open the Web UI.
- At the terminal prompt, run:
/ha-init- Then start Codex:
codex- Sign in when prompted. For most users, device login is the easiest option.
/ha-init must be run at the shell prompt, not inside an active codex chat session.
For full setup, configuration, and troubleshooting, see ha-codex/README.md.
MIT License