Skip to content

brAIn

Claude with the run of Home Assistant. It notices, investigates, explains, remembers and fixes, and it asks before it changes anything.
Version 5.5 Experimental

brAIn runs Claude Code inside Home Assistant. It sees and can change your whole house, watches for what goes wrong, explains what happened, and remembers how your home works.

It is one sidebar entry with one Claude login. Your Claude Pro or Max subscription pays for it, or an API key.

brAIn’s sidebar entry in the dark theme, with Personality on and the assistant named Nova: the Morph UI, Insights, Ask and Memory tabs, a “Good night.” greeting with a sentence about what the house is doing, an “Ask or tell the house…” line, a timeline with a 3D print in progress, and the Kitchen and Living Room with their lights, speaker and TV

The tabs are Morph UI (the dashboard), Insights, Ask and Memory. ⚙ holds Settings and a built-in Guide that works offline. On a phone the tabs sit under the header.

What you can do

Ask it anything, and have it fix things

Open Ask and type.

You say What happens
“Why did the hallway light come on at 3 am? Fix it.” It reads the automation’s trace, explains the cause, edits the automation, validates and reloads. brain undo puts the old file back.
“Which of my devices have stopped reporting?” A list, from live state and history.
“Rename the Sonoff switches to what they control, and put the basement lights in a Basement area.” It does the whole sweep through Home Assistant’s registries.
“Add a soil moisture sensor to the greenhouse ESP and flash it.” It edits the ESPHome YAML, validates it and installs over the air.

The Ask tab in chat mode: the question “The hallway light came on at 3am again. Find out why and fix it.”, a collapsed “Worked through 6 steps”, and brAIn’s answer explaining the missing brightness and the fix it made

Ask is a chat or a real terminal, with several conversations open at once. Ask → · Power Tools → · ESPHome → · Music Assistant →

See what needs you, in one list

brAIn checks the house on its own and looks into each problem before you see it. Insights → Needs you holds every decision as one kind of card.

  • A dead battery. Press Add to To Do, Snooze or Ignore.
  • A broken automation. Press Go ahead to see the exact change, then Apply. The card keeps Undo.
  • From your phone. The notification has the same buttons and a Reply box. Type “I already replaced it” and it is marked fixed. The card is in Home Assistant’s Repairs too.

A Needs you card titled “The hall automation points at a sensor that no longer exists”: “brAIn can fix this”, a “What Apply will change” list with one step, a “What could go wrong” line, and Apply, Respond, Check again, Dismiss, Snooze and Ignore

Needs you & To Do → · Notifications & Repairs → · House checks → · The Resident →

Hear about a leak, whatever else is going on

A tripped leak, smoke, CO or gas sensor reaches your phone at once, through quiet hours, and repeats until you answer. It needs no Claude run, sign-in or usage budget.

The Insights tab in the dark theme with a red banner across the top: “16 things need you: 7 problems, 2 questions, 3 suggestions and 4 tidy-ups (1 urgent)”, “Kitchen Leak is reporting water”, and a Review link

Notifications → · Emergency playbooks →

Get answers as cards

Ask a question and get an insight card: the answer first, the numbers, and a chart drawn for your data. Refresh it on a schedule, share it as a picture, or put it on a dashboard.

The Insights tab: Cards, Needs you and History along the top, and insight cards such as “Why did the hallway light come on at 3 am?” with the automation trace that explains it, and “Downstairs dries 15 min before it cools” with humidity and temperature charts

Insights → · Timeline: what caused each change → · Upkeep & the house book →

Know what is unusual for this house

Every night brAIn measures what normal is here, with no Claude run: what each sensor reads at this hour, which doors are usually open, how fast rooms lose heat.

  • The garage freezer’s door is open at 23:30 and it never is. You get one row before bed.
  • The heating starts too late for the room to be warm by seven. brAIn says so.

What brAIn measures → · Heating & climate →

Use a dashboard that says what matters

Switch on Morph and the first tab is a dashboard built from your areas. A sentence at the top says what is going on. Tap, slide or hold any card. To change it, hold anything and tell brAIn what should be different.

A Morph light group held open in place in the light theme: the Kitchen’s Cans card with a lane for each of six lights, an All slider at 35%, a colour track, and today’s on and off history, with the Countertop and Bar cards moved down to make room

Morph’s cards, themes and room rail also work on Home Assistant’s own dashboards. Morph →

Automate in a sentence

You say or press What happens
“Whenever the front door opens after dark, turn the hall light on.” brAIn drafts the automation and replays it over your last month. Accept it, or try it for a week.
“Turn the porch light off at midnight tonight.” A one-off that runs once and switches itself off.
Nothing. You keep doing the same thing by hand. brAIn offers the automation, with the evidence.
“Design scenes for the living room.” Four moods (morning, day, evening, night), shown as swatches before you accept.
You open Emergency playbooks The automation you want for smoke, a leak or a freeze, written from the devices you have.
You turn on overnight self-healing (off by default) brAIn may restart a stopped app, ping a dead Z-Wave node or reload a failed integration. At most three a night.

Nothing is written to your house until you accept it. Rules & one-offs → · Suggestions → · Scene designer → · Playbooks → · Self-healing → · Replay →

Talk to it

Pick brAIn as your Assist conversation agent. “Is anyone still in the garage?” “Turn the lounge down for a film.” “Remember that we call the office lamp the beacon.”

Each agent has its own name, model and reach. A new agent reaches only what you expose to Assist. Voice →

Call it from automations

brain.ask returns an answer as data your automation can branch on:

action: brain.ask
data:
question: Is anything in the house drawing more than usual right now?
schema:
type: object
properties:
unusual: {type: boolean}
why: {type: string}
required: [unusual, why]
response_variable: answer
# answer.data.unusual is a boolean you can put in a condition

brain.ask is read-only unless you say otherwise. brain.run_task runs a job in the background, events fire for every new case, and brAIn can answer Home Assistant’s Suggest with AI buttons. Automations & insight jobs →

Teach it, and see what it learned

Memory → Knowledge lists every fact brAIn holds, each with a bin beside it. Type a fact to teach it. An Ignore with a reason becomes a correction, so the same non-problem is not raised again.

Memory → Knowledge: a list of rooms and devices on the left, and facts such as “The fridge sits at 3–4 °C; above 6 °C for an hour means the door was left open” with a bin beside each

Memory & knowledge → · Learning →

Drive your other BRUH apps

Install another BRUH app and brAIn can use it, with nothing to set up: “print three freezer labels for bolognese”, “start the benchy on the X1”, “start the sous vide at 54”.

It works with BRUH Bambu Studio, BRUH Cooking, BRUH Browser, GardenRX, BRight, BRUH Print, BRUH Minecraft and BRUH Task Manager. brAIn and the BRUH apps →

It asks first, and it can be undone

  • Changing something asks first, unless you choose otherwise. Reading never asks.
  • Nothing on a schedule acts on your house.
  • Protected entities are never acted on. Put locks, alarms and the garage door on the list.
  • Every change can be put back: files with brain undo, a fix with Undo on its card.
  • Cameras are off until you tick one.

Permissions & safety →

Where your data goes

  • Everything runs in your Home Assistant.
  • Claude runs go to Anthropic under your own account. House checks, measurements, safety alerts and self-healing use no Claude run.
  • Only the development loop sends anything elsewhere: redacted reports to a private GitHub repository you own. It is off by default. Development loop →
  • Your Claude credential stays out of Home Assistant backups.

What you need

Home Assistant OS or Supervised, 2023.6 or later. The To-do list needs 2023.11 and AI Task needs 2025.7.
Host 64-bit, amd64 or aarch64. A Raspberry Pi 4 or 5 is fine.
Memory About 1 GB free beyond Home Assistant’s own.
Account An Anthropic account. Claude Pro or Max is the most economical. An API key works too.

Where to go next