Beyond the standard wrapper around the Aipolabs ACI APIs,, the SDK provides a suite of features and helper functions to make it easier and more seamless to use functions in LLM powered agentic applications. This is our vision and the recommended way of trying out the SDK in agentic applications.

One key feature is the set of four meta function schemas we provide:

from aipolabs import meta_functions

# meta functions
tools = [
    meta_functions.AipolabsSearchApps.SCHEMA,
    meta_functions.AipolabsSearchFunctions.SCHEMA,
    meta_functions.AipolabsGetFunctionDefinition.SCHEMA,
    meta_functions.AipolabsExecuteFunction.SCHEMA,
]

These meta functions differ from the direct function (tool) calls you might typically execute—such as GITHUB__LIST_STARGAZERS —in that they are specifically tailored for use by large language models (LLMs) to interact with Aipolabs ACI API. Their purpose is to enable LLMs to explore and interact with our APIs more easily and dynamically via function calling.

Together with our Unified Function Calling Handler, it offer a powerful, self-discovery mechanism for LLM-driven applications, enabling them to autonomously select, interpret, and execute functions based on the context of a given task or conversation.

# unified function calling handler
result = client.handle_function_call(
    tool_call.function.name,
    json.loads(tool_call.function.arguments),
    linked_account_owner_id="john_doe",
    configured_only=True,
    inference_provider=InferenceProvider.OPENAI
)

For detailed examples, please refer to the Use Cases section or explore the runnable examples in the SDK repository.