A Home Assistant custom component that integrates Parasail as a conversation agent. Use powerful AI models from Parasail to control your smart home and answer questions naturally.
- Powerful AI Model: Uses Qwen/Qwen3-235B-A22B-Instruct-2507 for optimal function calling
- Web Search Integration: Search the web using Brave Search API for real-time information (optional)
- Device Control: Full smart home control through Home Assistant's LLM API
- Configurable Parameters: Adjust temperature, max tokens, and top_p for fine-tuned responses
- Easy Setup: Simple configuration through Home Assistant UI
- HACS Compatible: Install and update easily through HACS
- Conversation History: Maintains context across conversations
- Add this repository as a custom repository in HACS (category: Integration)
- Search for "Parasail Conversation" and install
- Restart Home Assistant
- Download this repository
- Copy the
custom_components/parasail_conversationdirectory to your Home Assistant'scustom_componentsdirectory - Restart Home Assistant
- Go to Settings → Devices & Services
- Click "+ Add Integration"
- Search for "Parasail Conversation"
- Enter your configuration:
- API Key: Your Parasail API key (get one at parasail.io)
- Brave API Key (Optional): Brave Search API key for web search (get from brave.com/search/api)
- Model: Select your preferred model (default: Qwen/Qwen3-235B-A22B-Instruct-2507)
- Temperature: Controls randomness (0.0-2.0, default: 0.7)
- Maximum Tokens: Max response length (1-100000, default: 4096)
- Top P: Nucleus sampling parameter (0.0-1.0, default: 1.0)
Once configured, you can use Parasail as your conversation agent:
- Go to Settings → Voice Assistants
- Select your assistant
- Choose "Parasail Conversation" as the conversation agent
Now you can talk to your Home Assistant using Parasail's AI models!
You can update your configuration at any time:
- Go to Settings → Devices & Services
- Find "Parasail Conversation"
- Click "Configure"
- Update your settings
To enable web search capabilities:
- Get a Brave Search API key from brave.com/search/api
- Add the API key in the integration configuration (either during initial setup or via Configure)
- The assistant will automatically have access to the
WebSearchtool - Ask questions like:
- "What's the weather in San Francisco?"
- "What's the latest news about SpaceX?"
- "Search for the best Italian restaurants near me"
The LLM will automatically call the web search tool when needed and synthesize the results into a natural response.
This project includes a comprehensive test suite. To run the tests:
# Create a virtual environment
python3 -m venv venv
source venv/bin/activate
# Install test dependencies
pip install -r requirements_test.txt
# Run tests
pytestSee tests/README.md for more detailed testing documentation.
This project is licensed under the MIT License.
- Parasail API: parasail.io
- Home Assistant: home-assistant.io