Skip to main content

AI-driven framework for smart home automation

Project description

OpenAction

OpenAction is an AI-native action framework for the Agentic Home.

Move beyond rigid "If-This-Then-That" rules and tedious UI-based configurations. Powered by AI agent technology, OpenAction replaces traditional smart home solutions with flexible, adaptive logic. It help to translate natural language intent into dynamic, executable scripts — giving your smart home the ability to adapt, reason, and act.


Core Features

  • ️Natural Language Automation: Define complex home behaviors via chat. No more wrestling with nested "If-Then" menus or YAML configurations.
  • Stateful Intelligence: An integrated Store provides persistence, allowing scripts to save and retrieve data across multiple executions.
  • Dynamic Scheduling: A built-in Cron service triggers AI-generated scripts based on time, sensor events, or external API data.
  • Python Execution: The AI generates standard Python code, enabling complex calculations, loops, and sophisticated error handling.

Architecture & Workflow

The system acts as a bridge between high-level reasoning (Agents) and low-level hardware control. Here, the agent acts as a software developer who can introspect services and write custom, deterministic Python scripts to control the smart home devices. The workflow is as follows:

  1. The Intent: The user describes a goal to an MCP-capable client (e.g., Claude Desktop): "If it’s dark outside and someone is home, turn on the living room light. If we’re away, activate 'Vacation Mode' to simulate presence by randomly toggling lights for 10 minutes to 90 minutes, ending no later than 11 PM."
  2. The Translation: The Agent uses the OpenAction MCP Server tools to inspect available devices and writes a custom Python script.
  3. The Registration: OpenAction stores the script and sets up the necessary triggers (e.g., polling a weather API or listening for a sensor change).
  4. The Execution: When triggered, the script runs in a local sandbox, calling the endpoints of connected Sensors & Actuators.

overview.png

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.18.tar.gz (128.0 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.18-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file openaction-0.0.18.tar.gz.

File metadata

  • Download URL: openaction-0.0.18.tar.gz
  • Upload date:
  • Size: 128.0 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.18.tar.gz
Algorithm Hash digest
SHA256 7454d050ed0c89b222e72c436757cf854a07eb4631b6a3501ea06d7ad095c968
MD5 73b5b89b83f960b5c8c286300721093c
BLAKE2b-256 569e60cfc9662ab4b268db8715d46fc6f0a2f7946fd272ece10a8431c6f7c68c

See more details on using hashes here.

File details

Details for the file openaction-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: openaction-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 19.8 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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 3fa3e2f0f74c64d1e2dfb3b7351ebc64950922eae1fc4ec819e3dd9f907ca5d8
MD5 a8f12e56dcc5efa1daffc57a377a85b3
BLAKE2b-256 025c5d6337b13544a640bacbeff571bf7d3925b2e36036a504b1c1a50118fa17

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