
# Home Assistant Codex Bridge
**Codex, always available inside Home Assistant.**
Chat, work with files, manage projects and schedule tasks from your Home Assistant
sidebar. Your Home Assistant runs the app, so your PC does not need to stay on.
[](https://my.home-assistant.io/redirect/hacs_repository/?owner=Herbertmt978&repository=HA_Codex_Bridge&category=integration)
[](https://github.com/Herbertmt978/HA_Codex_Bridge/releases/latest)
[](https://github.com/Herbertmt978/HA_Codex_Bridge/actions/workflows/ci.yml)
[](https://github.com/Herbertmt978/HA_Codex_Bridge/actions/workflows/release.yml)
[](codex_bridge_app/README.md)
[](LICENSE)
[Installation](docs/installation.md) | [Capabilities](#automations-and-codex-capabilities) | [Chat activity](docs/chat-activity.md) | [All guides](docs/README.md) | [Updates](#updates-and-recovery) | [Remote access](docs/remote-access.md) | [Backup and recovery](docs/backup-restore.md) | [Security](SECURITY.md) | [Support](SUPPORT.md)
## What it is
Codex Bridge brings an always-on Codex workspace to Home Assistant. Pick up a
chat from your laptop or phone, work on a project, or let a scheduled task run
while your computer is switched off. Your chats, files and task history stay
with the App.
Sign in with your ChatGPT account: no OpenAI API key is needed. The App runs
inside Home Assistant OS; AI processing uses OpenAI's cloud. Home Assistant,
the App, internet access and a valid ChatGPT session must remain available for
tasks to run.
Home Assistant handles access to the panel. Your browser connects to Home
Assistant, which talks to the private App. Use your existing Home Assistant
remote-access route when you are away from home.
## Why Codex Bridge?
- **Ready when you need it:** keep Codex available on your Home Assistant machine,
with no desktop app or always-on PC required.
- **A workspace for real tasks:** organise chats into projects, upload files,
review changes and carry useful context from one conversation to another.
- **Work on your schedule:** run recurring or one-off tasks through Home Assistant,
then read the results in your chats and run history.
- **Connected to your home, when you choose:** enable built-in Home Assistant MCP
tools, a supported community HA-MCP connection, or both. Choose the tools Codex
can use and configure Assist separately.
- **Familiar Home Assistant access:** open everything from the sidebar and keep
the App behind Home Assistant's sign-in and remote-access setup.
## Two components, two installation paths
Install both components for the normal Home Assistant OS setup:
- **HACS Integration:** adds the Codex Bridge panel to Home Assistant.
- **Supervisor App:** runs Codex and the private Bridge service.
An optional third App, **Codex Host Access**, enables root work on Home Assistant
OS after an explicit warning and acknowledgement. It can access host files,
credentials, services and networking. It is not needed for normal use; read the
[installation and access guide](codex_host_access_app/DOCS.md) before enabling it.
For Home Assistant device and automation management, consider the community
[HA-MCP server](https://github.com/homeassistant-ai/ha-mcp) as an optional
companion. Our [connection guide](docs/home-assistant-mcp.md) explains how to
enable it in Bridge and choose a public HTTPS or optional local connection.
When Home Assistant's built-in MCP Server integration is installed, use the
**Use Home Assistant tools** switch in **Settings → MCP servers**. The community
connection has its own switch, so you can choose which tool set to use.
The App supports **Home Assistant OS on amd64**. You need administrator access,
HACS and a ChatGPT account with Codex access. Home Assistant Container cannot
run Supervisor Apps. An existing private external Bridge is an advanced
alternative; see [migration and external setup](docs/migration-from-windows.md).
This is a community custom repository. It is not an official Home Assistant
or HACS integration.
## Install and first run
1. Add this repository to HACS as an **Integration**, install **Codex Bridge**,
and restart Home Assistant.
2. In **Settings → Apps → App store → Repositories**, add