Observed since 20 Oct, 18:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
actuator-ai
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.
| Package / target | Requirement | Relationship |
|---|---|---|
fastapiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | fastapi==0.115.11 | runtime |
uvicornEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | uvicorn==0.34.0 | runtime |
pydanticEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pydantic==2.10.6 | runtime |
langchainEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | langchain==0.3.20 | runtime |
langchain-communityEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | langchain-community==0.3.19 | runtime |
openaiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | openai==1.65.5 | runtime |
python-dotenvEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | python-dotenv==1.0.1 | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest>=7.0.0; extra == "dev" | runtime |
blackEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | black>=23.0.0; extra == "dev" | runtime |
isortEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | isort>=5.12.0; extra == "dev" | runtime |
flake8Environment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | flake8>=6.0.0; extra == "dev" | runtime |
mypyEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | mypy>=1.0.0; extra == "dev" | runtime |
bdist_wheel · 20.54 KB · Python py3
sdist · 92.36 KB · Python source
Observed since 20 Oct, 18:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:49be45d8a4f2e2b5ae06e88c20e1dcd9ceb9bf8a2a70a93a78b507733a96e7e1