Exposing Home Assistant API to LLMs
· One min read
Since we introduced LLMs in Home Assistant as part of Year of the Voice, we have received the request to allow enabling LLMs to interact with Home Assistant. This is now possible by exposing a Home Assistant API to LLMs.
Home Assistant will come with a built-in Assist API, which follows the capabilities and exposed entities that are also accessible to the built-in conversation agent.
Integrations that interact with LLMs should update their integration to support LLM APIs.
Custom integration authors can create their own LLM APIs to offer LLMs more advanced access to Home Assistant.
See the LLM API documentation for more information and this example pull request on how to integrate the LLM API in your integration.