by skye-harris
Home Assistant LLM integration for local OpenAI-compatible services (llamacpp, vllm, etc)
# Add to your Claude Code skills
git clone https://github.com/skye-harris/hass_local_openai_llmGuides for using ai agents skills like hass_local_openai_llm.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T15:46:50.230Z",
"npmAuditRan": true,
"pipAuditRan": false
}hass_local_openai_llm is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by skye-harris. Home Assistant LLM integration for local OpenAI-compatible services (llamacpp, vllm, etc). It has 279 GitHub stars.
Yes. hass_local_openai_llm passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/skye-harris/hass_local_openai_llm" and add it to your Claude Code skills directory (see the Installation section above).
hass_local_openai_llm is primarily written in Python. It is open-source under skye-harris on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh hass_local_openai_llm against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Allows use of generic OpenAI-compatible LLM services, such as (but not limited to):
This integration has been forked from Home Assistants OpenRouter integration, with the following changes:
<think> tags from responsesHave HACS installed, this will allow you to update easily.
Adding Tools for Assist to HACS can be using this button:
[!NOTE] If the button above doesn't work, add
https://github.com/skye-harris/hass_local_openai_llmas a custom repository of type Integration in HACS.
Local OpenAI LLM integration.local_openai folder
from latest release to the
custom_components folder
in your config directory.After installation, configure the integration through Home Assistant's UI:
Settings → Devices & Services.Add Integration.Local OpenAI LLM./v1 but may differ depending on your server configuration.chat_template_kwargs request parameterCustom HTTP Headers
Add custom HTTP headers as key-value pairs to all LLM API requests. Useful for passing custom metadata or provider-specific headers.
When the server type is set to DeepSeek Cloud, both conversation and AI task agents show a new DeepSeek Configuration section with a Reasoning Effort option. This option controls whether thinking is enabled, and what level of reasoning to perform on the request.
When enabled, thinking content returned by the model is also fed back into the conversation as reasoning content on supported Home Assistant versions (2026.4+).
When the server type is set to llama.cpp, both conversation and AI task agents show a llama.cpp Configuration section with the following options.
Passes enable_thinking=true via chat_template_kwargs to enable reasoning on supported models.
Note: This option completely overrides any existing enable_thinking option in your Chat Template Arguments.
Controls whether thinking/reasoning content from prior conversation turns is sent back in new completion requests.
Some reasoning models require this enabled, and others require it disabled. Check the documentation for your model if unsure.
thinking_content is passed as reasoning_content in the next request, allowing
the model to see its own prior reasoning.Pins requests to a specific llama.cpp server slot for prompt-cache reuse. Leave empty to allow any slot to be used.
When enabled, the integration prioritizes using models already resident in memory to minimize latency.
It follows these rules:
This is ideal for users with diverse model setups who want to route tasks to whatever is currently available in memory rather than waiting for a specific model to load.
These options control how llama.cpp selects tokens during text generation. Please refer to the llama.cpp documentation for further information and usage.
| Parameter | Description | Range |
|---|---|---|
| Top-P | Restricts sampling to the top-p probability mass of tokens. | 0–1 |
| Min-P | Minimum probability threshold for nucleus sampling, providing additional control when combined with top-p. | 0–1 |
| Top-K | Limits sampling to the k highest-probability tokens. | 1–1000 |
| Repeat Penalty | Penalizes repeat sequences of tokens. | -2–2 |
| Presence Penalty | Penalizes tokens already present in the context. | -2–2 |
llama.cpp exposes the value supplied via its --alias flag on the model object. When an alias is set it is used as the
model's display name; otherwise the raw model id (typically the full model file path) is used, with the path and
.gguf
extension stripped for a cleaner name.