Llm Intents

Exposes internet search tools for use by LLM-backed Assist in Home Assistant

LLM Mart
14 views 890 listing impressions

Additional tools for LLM-backed Assist for Home Assistant:

  • Web Search powered by your choice of Brave or SearXNG
  • Location Search powered by Google Places
  • Routes & Travel Time powered by Google Routes
  • Wikipedia
  • Weather Forecast
  • YouTube Search and Playback
  • Basic Utilities — Calculator, Kitchen Unit Converter, and Date Information
  • Entity History — Part of the Home control domain

Each tool is optional and configurable via the integrations UI. Some tools require API keys, but are usable on free tiers. A caching layer is utilised in order to reduce both API usage and latency on repeated requests for the same information within a 2-hour period.

Additionally, a customisable clone of Home Assistants inbuilt Assist tooling API can be enabled and used with your Conversation Agents:

  • Edit the hidden prompt that the Assist API injects into your system prompt, if this is not to your liking, or conflicts with instructions that you have provided in your own prompt.
  • Disable any of the default Assist API tools that you don't want your Conversation Agents to have access to.
  • This is named Home Control in the list of tools.

Installation

Install via HACS (recommended)

Have HACS installed, this will allow you to update easily.

  • Adding Tools for Assist to HACS can be using this button: image

Note

If the button above doesn't work, add https://github.com/skye-harris/llm_intents as a custom repository of type Integration in HACS.

  • Click install on the Tools for Assist integration.
  • Restart Home Assistant.
Manual Install

Integration Configuration

After installation, configure the integration through Home Assistant's UI:

  1. Go to Settings → Devices & Services.
  2. Click Add Integration.
  3. Search for Tools for Assist.
  4. Follow the setup wizard to configure your desired services.

Conversation Agent Configuration

Once the integration is installed and configured, you will need to enable the desired services within your Conversation Agent entities.

For the Ollama and OpenAI Conversation integrations, this can be found within your Conversation Agent configuration options, beneath the Control Home Assistant heading, and enabling the services desired for the Agent:

  • Search Services
  • Weather Forecast
  • Media Services
  • Basic Utilities

🔍 Brave Web Search

Uses the Brave Web Search API to return summarized, snippet-rich results.

Requirements
  • Requires a Brave Search API key.
    • Brave provide $5 of free credit per month, equal to 1000 searches.

Configuration Steps

  1. Select "Brave" as the search provider during setup.
  2. Enter your Brave Search API key.
  3. Configure optional settings like number of results, location preferences.

Options

From the project's README.

Comments (0)

Sign in to join the conversation.

No comments yet.