Bring GitHub Copilot AI capabilities to Home Assistant — enabling AI conversation agents, voice assistants, and smart home automations powered by the Copilot SDK.
Use GitHub Copilot as an AI conversation agent within Home Assistant.
Works seamlessly with Home Assistant's built-in voice pipeline.
Choose from GPT-4o, o1, Claude 3.5 Sonnet, and many more.
Maintains conversation history within sessions via the SDK.
Run the Copilot CLI as a Home Assistant add-on — no local CLI needed.
Supports amd64 and aarch64 for broad hardware compatibility.
GitHub Copilot.custom_components/github_copilot directory to your Home Assistant custom_components directory.Installing the Copilot CLI inside the Home Assistant Core container can be difficult on Home Assistant OS. The GitHub Copilot Bridge add-on solves this by running the CLI in a dedicated container that the integration connects to over the internal network.
This is the easiest way to use the integration without manually installing the Copilot CLI binary in the Core container.
amd64 and aarch64https://github.com/tserra30/Github-Copilot-SDK-integrationgithub_token: "ghp_yourTokenHere"
The integration connects to the add-on via its internal hostname (shown in the add-on Info tab). The URL format is:
http://<hostname>:8000
# Example:
http://a1b2c3d4-github-copilot-bridge:8000
Note: Home Assistant generates the hostname from the add-on slug by replacing all underscores (_) with hyphens (-). Always use hyphens — using underscores will cause DNS resolution to fail.
GPT-4o).http://a1b2c3d4-github-copilot-bridge:8000. Leave empty to use a locally installed Copilot CLI.When using the Bridge add-on (with CLI URL set), the GitHub token only needs to be set in the add-on configuration. The integration will not pass a token to the SDK in remote mode — the bridge server handles authentication entirely.
automation:
- alias: "Morning briefing with Copilot"
trigger:
- platform: time
at: "07:00:00"
action:
- service: conversation.process
data:
text: "Good morning! What should I know today?"
agent_id: conversation.github_copilot
Choose from a wide variety of LLMs via the Copilot SDK:
This means the Copilot CLI is not reachable. Two options:
copilot auth login.This integration uses a patched github-copilot-sdk 0.1.22+ha wheel installed automatically from the repository's wheels/ directory. It is a universal py3-none-any wheel with protocol v3 support — no glibc version constraints. This resolves the manylinux_2_28 incompatibility seen with SDK versions 0.1.23+.
GPT-3.5 Turbo or GPT-4o-mini.For more help, open an issue on GitHub.
Contributions are welcome! Please read CONTRIBUTING.md for guidelines on how to propose changes, run the linter, and submit pull requests.