🤖AI Workers
AI Workers are advanced AI applications designed to perform core business tasks by leveraging dynamic, agentic capabilities. Unlike traditional applications, AI Workers can handle varied and evolving tasks, making them versatile and intelligent.
Key Features:
Utility-Focused: Specialize in core business operations to enhance efficiency.
Dynamic & Adaptive: Manage a wide range of tasks beyond conventional limits.
Interoperable: Deploy individually or collaborate with other workers to build complex solutions.
Agentic Evolution: Represent a shift from static AI agents to robust, autonomous problem solvers.
In Autoppia, any implementation of the AIWorker
interface with agentic capabilities is considered an AI Worker.
from abc import ABC, abstractmethod
class AIWorker(ABC):
"""Base interface for all marketplace agents.
Defines the core lifecycle and interaction methods for AI workers.
"""
@abstractmethod
def start(self) -> None:
"""Initialize the agent and its required resources.
- Load models/configurations
- Establish service connections
- Initialize internal state
- Allocate resources
"""
@abstractmethod
def stop(self) -> None:
"""Cleanup and release resources.
- Close connections
- Free memory/compute resources
- Save persistent state
- Perform general cleanup
"""
@abstractmethod
def call(self, message: str) -> str:
"""Process an input message and return a response.
Args:
message: Input message/query.
Returns:
str: Agent's response.
"""
Worker Templates
Worker Templates enable developers to build customizable AI Worker. Each template implements the AIWorker
interface and integrates configurations such as integrations, LLMs, and vector stores. These abstract implementations can be adapted for a wide range of use cases.
For Developers:
Design & Build: Create AI Worker templates using any agentic framework.
Publish on the Marketplace: Set your own terms and pricing once your template is ready.
For Users:
Configure Worker Templates: Customize published templates with your credentials and settings.
Deploy Securely: Launch your AI Workers in a privacy-preserving environment, ensuring data security.
Privacy Preserving: Leverage community worker capabilities without exposing sensitive data at runtime.
Last updated