Bring the power of Google's Gemini CLI directly to your Home Assistant dashboard!
Gemini Terminal provides an AI-driven, persistent web terminal pre-configured with the Home Assistant MCP (ha-mcp) server, giving Gemini native access to your smart home environment.
- Google Gemini CLI Integration: A full-featured web terminal with the official Gemini CLI pre-installed.
- Native Home Assistant Control: Thanks to the integrated
ha-mcpserver, Gemini can read states, call services, and interact with your entities natively. - Session Persistence: Built-in
tmuxsupport means you can navigate away or refresh without losing your terminal session or AI conversation. - Smart Environment Context: Automatically creates a
GEMINI.mdfile loaded with system info, architecture, and recent logs to ground Gemini in your specific setup. - Seamless Authentication: Configure your
GEMINI_API_KEYstraight from the Home Assistant add-on UI. - Direct Config Access: Boots directly into your
/configdirectory for immediate YAML editing and troubleshooting.
We've made installation as simple as possible.
Click the button below to add this repository directly to your Home Assistant instance:
- In Home Assistant, go to Settings → Add-ons → Add-on Store.
- Click the ⋮ menu in the top right corner and select Repositories.
- Add the following URL:
https://github.com/oded996/gemini-cli-home-assistant-addons - Find Gemini Terminal in the add-on store and click Install.
- After installation, go to the add-on's Configuration tab.
- Enter your
GEMINI_API_KEY(highly recommended for seamless startup). - Start the add-on.
- Click Open Web UI (or enable the "Show in sidebar" toggle) to access your terminal!
For advanced configurations, check out the Full Add-on Documentation.
This project was built on the incredible work of others in the Home Assistant community:
- Tom Cassady (@heytcass): For creating the original Claude Terminal for Home Assistant which served as the foundation for this project.
- Magnus Overli (@magnusoverli): For OpenCode for Home Assistant, which provided the inspiration and architectural reference for our recent stability refactors.
This repository is licensed under the MIT License - see the LICENSE file for details.
Note: The Gemini CLI tool itself is subject to Google's Terms of Service.