Let AI build your Home Assistant automations or act as your DevOps.
HA Vibecode Agent - Home Assistant Add-on
Let AI build your Home Assistant automations β or act as your DevOps for the ones you write by hand. Just describe what you need in natural language. π π€
You describe your goal β AI inspects your Home Assistant β designs a custom solution β and deploys it on-board automatically. π
And if you prefer to handcraft your automations and scripts yourself, the agent can simply act as your DevOps and extra pair of hands: quickly uploading your changes, running tests, and analyzing logs on demand. You stay in control and decide how much you delegate to AI and how deep it should go.
Transform the way you manage your smart home. This add-on enables Cursor, Visual Studio Code (VS Code), or any MCP-enabled IDE to:
- π Analyze your Home Assistant configuration, entities, and devices
- ποΈ Create intelligent automations, scripts, and complete systems β including Home Assistant helpers that can be fully managed programmatically
- π¨ Design and customize Lovelace dashboards with full control over cards, layouts, and styling
- ποΈ Create and tweak themes for a personalized UI
- π Safely deploy changes with automatic Git-based versioning
- π Monitor and troubleshoot your setup through log analysis
- π¦ Install and manage HACS integrations and custom repositories
No more manual YAML editing or searching through documentation - just describe what you want in natural language!
Real example: User says "Install smart climate control" β AI analyzes 7 TRVs, creates 10 automations + 9 helpers + 10 sensors + 5 scripts, deploys everything, and it just works!
https://github.com/user-attachments/assets/0df48019-06c0-48dd-82ad-c7fe0734ddb3
Full YouTube Demo:
π― What is this?
HA Vibecode Agent is a Home Assistant add-on that exposes a safe on-board REST API and toolset, allowing AI assistants (Cursor, VS Code, Claude, Continue, and any MCP-enabled IDE) to work with your Home Assistant instead of just generating YAML in the dark.
π Analyze your setup
β
Read your full configuration β entities, automations, scripts, helpers
β
Understand your devices β capabilities, relations, and usage patterns
β
Learn existing logic β analyze how your current automations and scripts behave
ποΈ Build intelligence
β
Create complete systems β multiple interconnected automations in seconds
β
Generate helpers and sensors β tailored to your actual setup and needs
β
Write optimized scripts β based on real entities, areas, and devices
β
Refactor existing logic β improve or merge automations instead of starting from scratch
π Dashboards & UI
β
Create and update Lovelace dashboards β fully programmatically
β
Add, remove, or rearrange cards β stat, graphs, history, custom cards, and more
β
Control layouts and views β organize rooms, areas, and scenarios
β
Design and tweak themes β colors, typography, and styles for a personalized UI
π Safe operations
β
Git-based versioning β every change is tracked with meaningful commit messages
β
Human-readable commits β AI explains what changed and why
β
Configuration validation β test before apply to reduce breaking changes
β
One-click rollback β revert to a previous state if something goes wrong
β
Activity log β full audit trail of what the agent did and when
π¦ Extend with the community
β
Install and configure HACS β unlock 1000+ community integrations
β
Search repositories β themes, plugins, custom components, dashboards
β
Install integrations β one-command setup for new HACS components
β
Keep things fresh β update all HACS repositories from a single place
Result:
You describe your goal β AI inspects your Home Assistant β designs a custom solution β and deploys it on-board automatically. π
π How is this different from other MCP modules for Home Assistant?
Most MCP integrations Iβve seen for Cursor, VS Code or Claude work only on your local machine and talk to Home Assistant over SSH and sometimes the REST API.
For serious Home Assistant work, thatβs not really enough:
Home Assistant is not just a bunch of YAML files. It exposes multiple internal APIs, and some of the most important ones are only available from inside HA itself over the WebSocket API.
When you access HA only via SSH, the AI usually has to generate and upload a helper script on every request, then execute it blindly on the host. Since that script can be different every time, each request is a bit of a
Environment Variables
HA_URLrequiredThe URL of your Home Assistant instanceHA_TOKENrequiredLong-lived access token from Home AssistantConfiguration
{
"mcpServers": {
"home-assistant-vibecode-agent": {
"command": "npx",
"args": [
"-y",
"@coolver/home-assistant-mcp"
],
"env": {
"HA_URL": "http://homeassistant.local:8123",
"HA_TOKEN": "YOUR_LONG_LIVED_ACCESS_TOKEN"
}
}
}
}