Home-Mandate

Home-Mandate — Review, Pricing, Alternatives

AI is coming home. Decide what it may do.

Home-Mandate in brief

What is it?
Home-Mandate is an AI tool in the smart-home category: AI is coming home. Decide what it may do.
Who is it for?
Home Assistant administrators who want to give AI agents limited, approvable and auditable access to their home without handing over a full token.
Price
Free.
Best alternative
AI-Infra-Guard (Tencent)

Overview

Description

Home-Mandate is an authorization gateway between AI agents and Home Assistant. Every agent gets its own identity and a mandate: which devices it may read or control, where a human has to approve first, and what it may never do. Home-Mandate keeps Home Assistant's credentials to itself, so agents never see a Home Assistant token. They get short-lived OAuth tokens (10 minutes, refresh tokens 30 days, rotated) bound to Home-Mandate. No agent is admitted without a Home Assistant administrator who signs in and picks its mandate. Every request is evaluated by the reference evaluator of the Home-Mandate specification, never by a language model, with exactly one of three answers: allow, ask or deny. The default rule is that anything not explicitly allowed is not allowed. Mandates can be set per device, area, category and action, with time windows, weekdays, value limits (brightness, temperature, position, volume) and a per-hour rate limit. Critical actions (unlocking, opening a gate or garage door, disarming the alarm, running scripts, activating scenes, camera snapshots) require an approval even where a rule allows them, unless a rule explicitly allows them without approval. Approval requests arrive on the approvers' phones through the Home Assistant Companion app with Allow and Deny buttons; no answer means no. An emergency stop blocks every agent at once, and single agents can be revoked, both effective with the next request. Every decision, approval and change is written to a hash-chained audit log with signed checkpoints and verification in the UI and on the command line. The tool ships as one static binary in a FROM scratch image for amd64 and aarch64, signed with cosign, and installs as a Home Assistant OS app or in container mode. It exposes an MCP endpoint (MCP over HTTPS) with OAuth 2.1, a web UI in English and German, and command line administration. The current version is 0.1.3.

Strengths
  • Decisions are made by fixed rules outside the language model with a default deny, so no agent can talk itself into more
  • Agents never see the Home Assistant token and receive short-lived OAuth tokens (10 minutes, rotated)
  • Every decision is written to a hash-chained audit log with signed checkpoints and verification in the UI and CLI
Weaknesses
  • First version (0.1.3) with rough edges and few real installations via the Home Assistant OS app so far
  • Camera snapshots and set on devices of the category "other" are evaluated and logged but not executed
  • An approval waits at most 10 minutes, and a restart ends open approval requests without execution

Use cases

Smart-home admin letting an AI agent read email

Enthusiast running a personal Home Assistant instance as administrator

This persona runs Home Assistant at home and wants an AI agent to read emails and web pages, but fears a prompt injection trying to open the garage or disarm the alarm. They install Home-Mandate as a Home Assistant OS app, admit the agent through the MCP endpoint, and give it a mandate where reading states is allow, lighting actions are ask, and locking, alarm and gates are deny. The agent never sees the Home Assistant token: it receives 10-minute OAuth tokens. Requests like "turn on the living room light" trigger an Allow/Deny notification on the phone via the Companion app. Home-Mandate is free and self-hosted, so no paid plan applies. Keep in mind: version 0.1.3 is a first version with rough edges, you should keep backups, and a restart ends open approvals without executing them.

Multi-user household tracking what AI agents do

Connected family with several adult approvers on Home Assistant

In this household, several people use AI assistants and each should be able to approve or refuse a sensitive action without depending on a single person. The mandate defines the approvers whose phones receive requests through the Home Assistant Companion app, with a cooldown after a refusal and at most two waiting requests per agent. Critical actions such as unlocking the front door, opening the gate or disarming the alarm always require approval, even when a rule allows them. An emergency stop blocks every agent at once. Every decision is written to the hash-chained audit log, with a daily signed checkpoint notification sent to approvers. The tool is free and can also be administered on the command line. Worth noting: the log is kept 30 days, and removed agents or mandates are only actually deleted once the log no longer mentions them.

Integrator deploying a containerized agent behind TLS

Developer or integrator running Home Assistant in container mode

This persona runs Home Assistant in container mode and must expose Home-Mandate's MCP endpoint to agents that do not run on the home network. They deploy the FROM scratch image (amd64 or aarch64) signed with cosign, put a TLS-terminating reverse proxy in front and name it via the HM_PROXY variable. They create a Home Assistant user with administrator rights, which is required because only administrators can subscribe to the mobile_app_notification_action event that carries approval answers. The agent authenticates with OAuth 2.1, either by browser sign-in (Authorization Code with PKCE) or a pairing code. Home-Mandate enforces TLS 1.3 only and allows no plaintext outside localhost. Keep in mind: in container mode the UI needs a certificate or reverse proxy and an https:// public URL, otherwise only the command line manages Home-Mandate.

Frequently asked questions

Can an AI agent see my Home Assistant token?

No. Home-Mandate keeps Home Assistant's credentials to itself. Agents receive short-lived OAuth tokens (10 minutes, refresh tokens 30 days, rotated) bound to Home-Mandate and never see the Home Assistant token.

What happens if nobody answers an approval request?

Without an answer, nothing happens. An approval waits at most 10 minutes (the approval timeout setting, 30 to 600 seconds). The agent's call waits up to 45 seconds and then gets a pending result, and it learns the outcome with approval_status.

Which actions count as critical?

Unlocking, opening a gate or garage door, disarming the alarm, running scripts, activating scenes and camera snapshots require an approval even where a rule allows them, unless a rule explicitly allows them without approval. Covers that may close an entrance (garage, gate, door, and covers without a class) count as gates.

How does Home-Mandate decide to allow, ask or deny?

The decision is made by fixed rules (the reference evaluator of the Home-Mandate specification), never by a language model. Every request gets exactly one answer: allow, ask or deny, with a default deny for anything not explicitly allowed.

What happens on an emergency stop or a restart?

The emergency stop blocks every agent at once, effective with the next request; a single agent can also be revoked. After the stop, an administrator reconnects each agent to its existing entry and mandate when it signs in again. A restart ends open approval requests without execution: they are recorded in the audit log and the notifications on the phones are replaced.

What are the limits of the current version?

Version 0.1.3 is a first version with rough edges: you should read the limits and keep backups. Camera snapshots and set on devices of the category "other" are evaluated and logged but not executed. In container mode the UI needs a certificate or a reverse proxy and an https:// public URL, otherwise only the command line manages Home-Mandate.

Pricing (prices are indicative and may change regularly — check the official price on the publisher's website)

Popular
Open source (self-hosted)
0month
  • Allow / ask / deny mandates per device, area, category and action
  • Time windows, weekdays and value limits
  • Phone approvals via the Home Assistant Companion app
  • Emergency stop and per-agent revocation
  • Hash-chained audit log with signed checkpoints
  • MCP endpoint with OAuth 2.1

Comparisons

User reviews

Be the first to leave a review (no signup required)

No reviews yet.

Be the first to share your opinion!

Discussions

Chat about Home-Mandate

This space lets you connect with other users of the tool: ask questions, share tips and your experience to move forward together.

  • Discuss the tool and its features
  • Ask the community for help or advice
  • Share your experience and use cases