ActuatorAI
A powerful framework for building natural language interfaces to actions
Overview
ActuatorAI makes it easy to create AI-powered interfaces that can understand natural language requests and execute corresponding actions. It provides a clean, declarative API for defining actions and their natural language triggers.
Features
- ✨ Simple Declarative API - Define actions with intuitive decorators
- 🧠 Built-in LLM Integration - Leverages state-of-the-art language models
- 🔌 Extensible Architecture - Create custom actions, formatters, and adapters
- 🌐 API Server - Ready-to-use FastAPI server for web integration
- 🛠️ Customizable - Configure to use different LLM providers
Installation
pip install actuator-ai
Quick Start
Basic Usage
from actuator_ai.core import action, ActuatorAI
# Define an action with a natural language pattern
@action("Get the weather for {location}")
def get_weather(location: str):
# Your implementation here
return {"temperature": 72, "condition": "sunny"}
# Create an ActuatorAI instance
ai = ActuatorAI()
# Process a natural language request
result = ai.process("What's the weather in San Francisco?")
print(result)
Multiple Actions
@action("Find restaurants in {city}")
def find_restaurants(city: str):
return {"restaurants": ["Restaurant A", "Restaurant B"]}
@action("Book a flight from {origin} to {destination}")
def book_flight(origin: str, destination: str):
return {"flight": "AB123", "departure": "9:00 AM"}
# ActuatorAI will automatically determine which action to use
result = ai.process("Find me some restaurants in New York")
API Server
ActuatorAI includes a ready-to-use FastAPI server:
from actuator_ai.api import create_app
app = create_app()
# Run with: uvicorn my_module:app --reload
Documentation
For full documentation, examples, and advanced usage, visit our GitHub repository.
License
MIT
Metadata
Release files for actuator-ai 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| actuator_ai-0.1.1.tar.gz | 94.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| actuator_ai-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 115.6 kB
Release files / actuator_ai-0.1.1.tar.gz
| Download URL | actuator_ai-0.1.1.tar.gz |
|---|---|
| Size | 94.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f5c0ee0217e9019a06c87fe7ed9e8913ace795ed0f35cda11c9a6b42cefc25f
|
|
BLAKE2b-256 checksum How to use checksums |
f7572ec12d7880d093de05ad1111d7bbf2997b5eac99428c75d2447379098ae5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / actuator_ai-0.1.1-py3-none-any.whl
| Download URL | actuator_ai-0.1.1-py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4fd22d0e866ddbb40bc96cc785ea1b3992079e3de2d02a62a5860ec71c43ebe
|
|
BLAKE2b-256 checksum How to use checksums |
eef3a2fc26537c485f94138825aca0d12579937bab5cb1a2b8830da5007ae695
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for actuator-ai 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.