About
xAI Grok Conversation is a Home Assistant conversation agent that uses xAI's Grok models through the cloud. It also provides speech-to-text, text-to-speech and AI Task engines that work with an existing xAI API key. Actions cover one-shot questions with optional live search, photo analysis, image generation with optional reference images, content generation and a home state briefing. Options include a primary chat model, a fast model for short commands, a fallback model, a vision model, reasoning effort, sampling settings and search citations. Sensors track token and cost usage, and an action resets them. Setup happens in the UI by entering the API key, and the integration needs the Marketplace or HACS on older versions.
Automatic summary of the README and code of braytonstafford/grok_conversation. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Uses the vendor's cloud Needs an internet connection and an account with the vendor.
From the Marketplace Installed through the Marketplace, formerly HACS.
Actively maintained Its author released or pushed a change in the last six months.
Provides
- Sensors
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Connect
- API Key
After setup
- Instructions
- Primary chat model
- Fast model (auto-routing)Used when auto-routing detects a short/simple command. Default grok-4.3 (no separate fast model after the May 15 2026 retirement).
- Fallback modelTried automatically if the primary model errors. Default grok-4.3.
- Vision modelFallback for image services and AI Task attachments when the chat model cannot take images. An image-capable chat model always wins; this option is only used as a fallback. Default grok-4.3.
- Maximum tokens to return in response
- Temperature
- Top P
- Reasoning effortControls reasoning effort for Grok reasoning models (provider default / low / medium / high). Provider default omits the parameter so xAI applies its own default (often high); it does not disable reasoning.
- Home Assistant LLM API
- Use recommended sampling settings
- Live Search (Web / X)
- Show search citations
- Include username in messages
- Home location context
Texts from the code of braytonstafford/grok_conversation.
Actions
- Ask (stateless)One-shot stateless Grok query with optional live search
- Photo analysisAnalyze images with Grok Vision
- Query imageLegacy alias for photo analysis
- Generate imageTurn a prompt into an imageFields: Config entry, Prompt, Model, Aspect ratio, Resolution, Quality, Number of images, Response format, Reference images
- Generate contentSend a prompt (and optional images) to Grok
- Clear memoryReload integration to reset agent memory
- Reset usage statsZero token/cost sensors
- Home briefingSummarize current home state with Grok
From the README
Home Assistant conversation agent + cloud Voice TTS/STT + AI Task, powered by xAI Grok.
One HACS install → Conversation agent, Speech-to-text, Text-to-speech, and AI Task engines that use your existing xAI API key.
Shows in Vulpo
Chart card, Apple Watch.Information
- Installs
- 228 sharing analytics
- GitHub stars
- 44
- Connection
- Uses the vendor's cloud
- Upkeep
- Updated in the last 6 months
- Version
- v1.11.1,
- Category
- AI and voice, AI models
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
grok_conversation- Issues
- Report an issue











