AI-driven framework for smart home automation
Project description
OpenAction
OpenAction is an AI-driven framework for smart home automation. It replaces static, manually created rules with dynamic scripts generated and managed by an Artificial Intelligence (LLM) based on natural language.
Core Features
- Natural Language Automation: Create complex smart home automations through simple chat dialogues with an LLM (such as Claude).
- Sensors & Actuators: All hardware devices provide their interfaces as independent MCP services.
- OpenAction Interface: The framework itself acts as an MCP server. The AI uses provided tools to create and manage automations within the system.
- Dynamic Scheduling: An integrated Cron service ensures the precise execution of AI-generated scripts.
- Persistent State: Tasks have access to a persistent
Storeto save states across multiple executions.
Architecture & Workflow
The system is based on a decentralized architecture connected via the Model Context Protocol (MCP):
- The Request: The user describes an automation in a chat with the AI (e.g., Claude Desktop).
- The Translation: The AI analyzes the prompt, writes a Python script (including a cron rule and an execute function), and uses tools of the OpenAction MCP Server to store the script in the system.
- The Scheduling: OpenAction's local services monitor the schedules and trigger the tasks at the specified times.
- The Execution: During execution, the script calls the corresponding endpoints of the connected hardware MCP servers (e.g., switching lights, reading temperatures) via the
McpRegistry.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openaction-0.0.13.tar.gz.
File metadata
- Download URL: openaction-0.0.13.tar.gz
- Upload date:
- Size: 31.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4a91994b7735db5a13ed605ade935d0bdd0c2f597d743bf702b08459f995b84
|
|
| MD5 |
433fb5b85fb1860f9a95ddb593d6809e
|
|
| BLAKE2b-256 |
492c685c77d9e7f3ab9df77a493fe7d6823b40fb3a676ecb3c4adaa23978c002
|
File details
Details for the file openaction-0.0.13-py3-none-any.whl.
File metadata
- Download URL: openaction-0.0.13-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b2ee4fc8559b573453ac914968ffa3571b0d7df5c562652366099ef49226579
|
|
| MD5 |
db6440158211263235787fa502956750
|
|
| BLAKE2b-256 |
d8fa0d7e210ea5a4882ecfe7b3286cbd025a1863380c15962cfdfc521faf9fae
|