A community-developed Home Assistant add-on lets Codex inspect and edit YAML configurations, test supported changes and reload automations, though it cannot see live device states on its own.
The HA Codex add-on runs Codex inside Home Assistant with read and write access to the configuration directory. It can inspect existing YAML files, automations and scripts before suggesting changes, which can help fit new logic into an established smart-home setup.
The add-on is community-developed and must be installed from the GitHub repository for ambient-home-systems/ha-codex rather than Home Assistant’s default app store. Users can select a Codex model, adjust reasoning effort and enable session persistence. Authentication can use a ChatGPT account or an API key when that option is available.
With Home Assistant control actions enabled, Codex can validate configuration and request supported reloads for components such as automations and scripts. Approval remains important because an incorrect edit could affect other routines, and the tool still needs Home Assistant traces, device history or other live context to diagnose sensor and triggering problems.
The add-on requires Home Assistant OS and cannot be installed directly in a Docker-based Home Assistant setup. Docker users would need to run Home Assistant OS instead, potentially in a virtual machine.