LLM Admin Tools

,

I’m a big fan of AI and find it incredibly useful also for HA, but I still have strong concerns regarding privacy and security of these tools.

To this end I have created the custom integration ha-llm-admin-tools:

What it is

Home Assistant’s own Model Context Protocol Server lets a client connect through LLM APIs. Before 2026.11 it offers one kind of access, and 2026.11 adds a second:

  1. Assist, called Device control from 2026.11, reads and controls the entities you expose
    to voice assistants. It is scoped, but too narrow to maintain an installation: it has no
    access to logs, automations or integrations.
  2. MCP Endpoint in and before 2026.10 offers only limited capabilities
  3. Home Assistant, an API new in 2026.11, will be for administrators. It reaches everything,
    and nothing scopes it: it can render any template and call any action on any target. Its
    only restriction is an all-or-nothing read-only option.

This integration sits between (2) and (3): a third LLM API with the depth an administrator
needs, and limits that you set. A client can diagnose and maintain your installation, while
you decide per entity, area, label, integration and service what it sees and what it may
change. It starts out read-only.

Before 2026.11: Assist only From 2026.11: also the Home Assistant API LLM Admin Tools
Reaches Exposed entities Everything Everything, minus what you hide
Diagnostics None Logs, system information, statistics, integrations Those, plus traces, repairs, definitions, what names what, and a health report
Hide by Exposing or not Nothing Entity, domain, area, label, integration, logger, or Assist exposure
Values withheld None What looks like a credential, in logs Credentials and secrets everywhere; location, personal and network details; your own keys and text
Changes What its intents do Any action, on any target Nothing until you allow it, per subject and service, with things you can protect
Templates No Rendered on request, reading anything Refused unless you allow them
Before a change dry_run, and what a removal would take along)
After a change Logbook Logbook Logbook, and a record with the client’s reason, kept for you

It adds no entities, devices or service actions. Nothing is polled and nothing runs in the
background: data is only read when a tool is called. The only things it stores are the
records of changes and recent calls.

In addition to the condensed overview above it offers:

  • A Skill teaching an agent how to use it with a focus on privacy and security
  • Extensive settings to customize what a LLM can see and do in your installation
  • Extended tools, especially compared to 2026.10
  • Tools that facilitate diagnostics and failure analysis
  • Tools with a focus on reducing the amount of retrieved data for more token efficiency

Finally a personal wish:

Especially 2026.11 will make it much harder to tame an LLM as the HA access tokens are an all or nothing thing. As soon as an admin token is created the using agent can basically circumvent all security or privacy measures since it allows access via:

  • MCP
  • REST API
  • Websockets
  • and more

The integration here tries to limit the exposure but it cannot be closed down with the current means (at least to my knowledge).

I would wish for more scoped tokens that can at minimum be restricted to:

  • Type of API
  • Local only, i.e. only if the requests originates from the local network
  • Access domains
1 Like