AI coding agent & visual workspace for Home Assistant
This add-on bundles OpenCode — an AI coding agent — with OpenChamber — a rich web UI — into a single Home Assistant add-on. Edit configuration, create automations, and manage your smart home using natural language, with optional visual workspace engineering via OpenChamber.
Installation · Features · Updating · Documentation · Support
-
Add the repository:
Or add manually: Settings → Add-ons → Add-on Store → ⋮ → Repositories and enter:
https://github.com/Rahulsharma0810/homeassistant-opencode-openchamber -
Install: Find OpenCode-OpenChamber in the store and click Install.
-
Start: Open the sidebar panel or click Open Web UI, run
opencode, then use/connectto configure an AI provider.
- AI-Powered Editing — Modify any HA config file using natural language
- Rich Web Terminal — 10 themes, clipboard support, touch scrolling
- OpenChamber Web UI — Optional visual workspace with diff viewer, chat timeline, session sync
- 34 MCP Tools — Deep Home Assistant integration (entities, services, config validation, screenshots)
- YAML LSP — Entity autocomplete, hover docs, deprecation warnings, go-to-definition
- Safe Config Writing — Multi-layer validation pipeline with automatic backup/restore
- hab CLI — Manage dashboards, areas, helpers, backups, automations via API
- Zigbee Toolkit — zigporter CLI for device migration, mesh mapping, cascade-rename
- 75+ AI Providers — Anthropic, OpenAI, Google, Ollama, Groq, and more
- PPQ Private TEE Models (Beta) — Encrypted proxy for remote TEE-backed models
This add-on is rebuilt daily to track the latest upstream releases:
| Component | Source | Update Frequency |
|---|---|---|
OpenCode (opencode-ai) |
NPM | On add-on start (via latest update policy) |
OpenChamber (@openchamber/web) |
NPM | Daily via automated Docker build |
| hab CLI | GitHub | Built from source at image build time |
The automated CI pipeline checks for new NPM releases daily at 04:00 UTC, updates the add-on version metadata, builds multi-architecture Docker images (amd64 + aarch64), and publishes them to the GitHub Container Registry. A new add-on update will appear in your Home Assistant UI automatically when a newer image is published.
Current tracked versions:
| Option | Default | Description |
|---|---|---|
| Enable MCP Integration | true |
Home Assistant Model Context Protocol server |
| Enable LSP Integration | true |
YAML Language Server Protocol support |
| CPU Mode | auto |
Auto-detect, baseline (no AVX2), or regular |
| OpenCode Update Policy | latest |
Track upstream releases at each startup |
| Enable OpenChamber | false |
Start the OpenChamber web UI |
| OpenChamber Port | 3010 |
Web UI listen port |
| Enable Screenshot Tool | false |
Headless Chromium for visual verification |
| Enable PPQ Private (Beta) | false |
TEE-backed encrypted proxy |
| Enable LAN Server | false |
Remote opencode attach access |
| Serial Devices | [] |
Host UART devices to map into the container |
| Environment Variables | [] |
Custom env vars for providers/credentials |
- Full Add-on Guide — All features, MCP tools, LSP, safe config writing, OpenChamber
- Changelog — Version history with per-component tracking
- OpenCode Docs — AI agent documentation
- OpenChamber Docs — Web UI documentation
- OpenCode Discord — Community
- GitHub Issues — Bug reports & feature requests
This add-on is released into the public domain under the Unlicense.