Observed since 20 Oct, 18:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A framework for building natural language interfaces to actions
A powerful framework for building natural language interfaces to actions
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.
pip install actuator-ai
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)
@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")
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
For full documentation, examples, and advanced usage, visit our GitHub repository.
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 12 Mar 2025 | 12 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:9bbd7ce53a42eaf171dcc21cf1864c3115a79da5828909aeabcaf3f13f054be2