Skip to content

sackio/aloha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌺 Aloha

An AI agent for Home Assistant β€” like Claude Code, for your smart home.

Chat with your home in plain English. Aloha reads your entities, writes automations, edits config, debugs what's broken, and operates Home Assistant for you β€” with a curated library of HA skills and full MCP tool access.

Open source. Bring your own AI key β€” or use the managed aloha.pushbuild.com.


What is Aloha?

Home Assistant is the most powerful smart-home platform there is β€” and almost impossible for a non-technical person to configure. AI coding agents are fluent in HA's YAML, its automations, its quirks. Aloha glues them together: a baked-in agent that administers Home Assistant through a friendly chat UI.

  • πŸ› οΈ 76 Home Assistant tools β€” read/control entities, CRUD automations, edit config files, manage dashboards & HACS, read logs and traces.
  • πŸ“š HA skills β€” curated playbooks the agent follows for real tasks: set up motion lighting, debug why an automation didn't fire, triage unavailable entities, run a health check, make safe config changes. (Easily extensible.)
  • πŸ”Œ MCP, both ways β€” Aloha exposes its tools as an MCP server and can consume external MCP servers to extend the agent.
  • πŸ€– Any AI β€” Anthropic Claude, OpenAI, Gemini, Ollama (local/offline), Groq, OpenRouter, or any OpenAI-compatible endpoint. Bring your own key.
  • πŸ›‘οΈ Safe by default β€” every config change is shown as a diff for your approval before it's written. Nothing touches your setup without sign-off.

Two ways to run it

1. Self-host (open source, free)

Bring your own AI provider key (or run a local model with Ollama β€” fully offline, no account). You own everything; nothing phones home.

git clone https://github.com/sackio/aloha.git
cd aloha
docker compose up -d --build

Already running Home Assistant? Point Aloha at it instead of bundling one:

docker run -d --name aloha -p 7123:7123 \
  -e ALOHA_MODE=standalone -e ALOHA_HA_URL=http://your-ha:8123 \
  -v aloha-data:/data ghcr.io/sackio/aloha:latest   # prebuilt images coming soon

Also ships as a Home Assistant OS add-on (haos-addon/) β€” Supervisor injects the HA token automatically.

2. Aloha managed (no setup, no API key)

Don't want to deal with API keys and billing? Use the hosted agent at aloha.pushbuild.com β€” pick "Aloha managed" in the setup wizard, sign in, and you're chatting with your home. Flat monthly with generous usage. (In active development.)


First run

Open the Aloha UI and the wizard walks you through picking an AI provider and connecting to Home Assistant. Then just ask:

"What lights are on right now?" "Create a bedtime routine that locks the doors and turns off the lights at 11pm." "Why didn't my away-mode automation fire yesterday?" "Set up motion-activated lighting in the hallway."


Power users: connect your IDE over MCP

Aloha exposes its full tool suite over the Model Context Protocol:

claude mcp add aloha http://your-host:7123/mcp

Use Claude Code, Cursor, or any MCP client to manage your home from your editor.


How it works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ one container ────────────────────────┐
β”‚  Home Assistant (:8123)  ◄──localhost──  Aloha agent (:7123)   β”‚
β”‚                                          FastAPI + React UI    β”‚
β”‚                                          agent loop β†’ 76 tools β”‚
β”‚                                          skills Β· MCP client   β”‚
β”‚   shared volume: /data  (HA config + Aloha settings/sessions)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Provider-agnostic agent loop, multi-step tool use, and a diff→approve safety gate.


Status

Aloha is under active development. The agent, tools, skills, MCP support, and the Docker/standalone/add-on paths work today; prebuilt multi-arch images, the Raspberry Pi image, and the managed tier are in progress.

Contributing

Issues and PRs welcome. Skills are just markdown files in aloha/skills/library/ β€” adding one is a great first contribution.

Contact

Questions, feedback, or interested in the managed tier? Reach us through the contact form at aloha.pushbuild.com, or open a GitHub issue.

License

MIT β€” see LICENSE.

About

🌺 An open-source AI agent for Home Assistant β€” like Claude Code, for your smart home. Chat to configure, debug, and run HA. 76 tools, skills, MCP, multi-provider.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors