Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.34 KB

File metadata and controls

56 lines (39 loc) · 1.34 KB

StackOne AI SDK

StackOne AI provides a unified interface for accessing various SaaS tools through AI-friendly APIs.

Installation

pip install stackone-ai

Quick Start

from stackone_ai import StackOneToolSet

# Initialize with API key
toolset = StackOneToolSet()  # Uses STACKONE_API_KEY env var
# Or explicitly: toolset = StackOneToolSet(api_key="your-api-key")

# Get HRIS-related tools
tools = toolset.get_tools("hris_*", account_id="your-account-id")

# Use a specific tool
employee_tool = tools.get_tool("hris_get_employee")
employee = employee_tool.execute({"id": "employee-id"})

Features

  • Unified interface for multiple SaaS tools
  • AI-friendly tool descriptions and parameters
  • Integration with popular AI frameworks:
    • OpenAI Functions
    • LangChain Tools
    • CrewAI Tools
    • LangGraph Tool Node

Documentation

For more examples and documentation, visit:

AI Framework Integration

License

Apache 2.0 License