SkillsLLM
CategoriesBlogAI NewsAbout
HomeAI Agentshass_local_openai_llm

hass_local_openai_llm

by skye-harris

Pending

Home Assistant LLM integration for local OpenAI-compatible services (llamacpp, vllm, etc)

101stars
15forks
Python
Added 3/14/2026
View on GitHubDownload ZIP
AI Agentsai-agentsai-assistantconversation-agenthome-assistanthomeassistanthomeassistant-integrationllamacpplmstudioollamaopenai-apiopenai-compatibleopenrouterretrieval-augmented-generationscalewayvllmweaviate
Installation
# Add to your Claude Code skills
git clone https://github.com/skye-harris/hass_local_openai_llm
README.md

Local OpenAI LLM <small>(Custom Integration for Home Assistant)</small>

Allows use of generic OpenAI-compatible LLM services, such as (but not limited to):

  • llama.cpp
  • vLLM
  • LM Studio
  • Ollama
  • OpenRouter
  • Scaleway

This integration has been forked from Home Assistants OpenRouter integration, with the following changes:

  • Added server URL to the initial server configuration
  • Made the API Key optional during initial server configuration: can be left blank if your local server does not require one
  • Uses streamed LLM responses
  • Conversation Agents support TTS streaming
  • Automatically strips <think> tags from responses
  • Added support for image inputs for AI Task Agents
  • Added support for reconfiguring Conversation Agents
  • Added option to trim conversation history to help stay within your context window
  • Added temperature control
  • Added option to strip emojis from responses
  • Added support for parallel tool calling
  • Added experimental Retrieval Augmented Generation capability
  • Added chat template arguments support

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

<br>

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

  • Click install on the Local OpenAI LLM integration.
  • Restart Home Assistant.
<details><summary>Manual Install</summary>
  • Copy the local_openai folder from latest release to the custom_components folder in your config directory.
  • Restart the Home Assistant.
</details>

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 Local OpenAI LLM.
  4. Follow the setup wizard to configure your desired services.

Configuration Notes

  • The Server URL must be a fully qualified URL pointing to an OpenAI-compatible API.
    • This typically ends with /v1 but may differ depending on your server configuration.
  • If you have the Extended OpenAI Conversation integration installed, this has a dependency of an older version of the OpenAI client library.
    • It is strongly recommended this be uninstalled to ensure that HACS installs the correct OpenAI client library.
  • Assist requires a fairly lengthy context for tooling and entity definitions.
    • It is strongly recommended to use at least 8k context size and to limit...
Comments (0)
to leave a comment.

No comments yet. Be the first to share your thoughts!

Related Skills

gemini-cli

by google-gemini

An open-source AI agent that brings the power of Gemini directly into your terminal.
97,754
12,257
TypeScript
AI Agentsaiai-agents
View details
everything-claude-code

by affaan-m

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
76,097
9,506
JavaScript
AI Agentsai-agentsanthropic
View details
awesome-claude-skills

by ComposioHQ

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
44,141
4,446
Python
AI Agentsagent-skillsai-agents
View details
chatgpt-on-wechat

by zhayujie

CowAgent是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、拥有长期记忆并不断成长。同时支持飞书、钉钉、企业微信应用、微信公众号、网页等接入,可选择OpenAI/Claude/Gemini/DeepSeek/ Qwen/GLM/Kimi/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助手和企业数字员工。
42,209
9,826
Python
AI Agentsaiai-agent
View details
cherry-studio

by CherryHQ

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs
41,505
3,839
TypeScript
AI Agentsai-agentclaude-code
View details
oh-my-openagent

by code-yeongyu

omo; the best agent harness - previously oh-my-opencode
40,033
3,024
TypeScript
AI Agentsaiai-agents
View details