Skip to main content

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 Store to save states across multiple executions.

Architecture & Workflow

The system is based on a decentralized architecture connected via the Model Context Protocol (MCP):

  1. The Request: The user describes an automation in a chat with the AI (e.g., Claude Desktop).
  2. 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.
  3. The Scheduling: OpenAction's local services monitor the schedules and trigger the tasks at the specified times.
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openaction-0.0.13.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openaction-0.0.13-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

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

Hashes for openaction-0.0.13.tar.gz
Algorithm Hash digest
SHA256 b4a91994b7735db5a13ed605ade935d0bdd0c2f597d743bf702b08459f995b84
MD5 433fb5b85fb1860f9a95ddb593d6809e
BLAKE2b-256 492c685c77d9e7f3ab9df77a493fe7d6823b40fb3a676ecb3c4adaa23978c002

See more details on using hashes here.

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

Hashes for openaction-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 7b2ee4fc8559b573453ac914968ffa3571b0d7df5c562652366099ef49226579
MD5 db6440158211263235787fa502956750
BLAKE2b-256 d8fa0d7e210ea5a4882ecfe7b3286cbd025a1863380c15962cfdfc521faf9fae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page