Catalog PyPI
Back to packageRELEASE DETAILS

0.1.1

PyPI

actuator-ai

A framework for building natural language interfaces to actions

Published12 Mar 2025
Direct dependencies12
Transitive dependenciesNot calculated

README

Version 0.1.1 documentation

ActuatorAI

ActuatorAI Logo

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 12

Native requirements
12 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
fastapi
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
fastapi==0.115.11runtime
uvicorn
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
uvicorn==0.34.0runtime
pydantic
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
pydantic==2.10.6runtime
langchain
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
langchain==0.3.20runtime
langchain-community
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
langchain-community==0.3.19runtime
openai
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
openai==1.65.5runtime
python-dotenv
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
python-dotenv==1.0.1runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
pytest>=7.0.0; extra == "dev"runtime
black
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
black>=23.0.0; extra == "dev"runtime
isort
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
isort>=5.12.0; extra == "dev"runtime
flake8
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
flake8>=6.0.0; extra == "dev"runtime
mypy
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
mypy>=1.0.0; extra == "dev"runtime

Distribution files

2 collected
actuator_ai-0.1.1-py3-none-any.whl

bdist_wheel · 20.54 KB · Python py3

Source file
actuator_ai-0.1.1.tar.gz

sdist · 92.36 KB · Python source

Source file

Repository

PENDING
umairhaider/actuatorai

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:42 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:49be45d8a4f2e2b5ae06e88c20e1dcd9ceb9bf8a2a70a93a78b507733a96e7e1

Other collected versions

View all collected versions →