Skip to main content
Bring StackOne actions into your code as typed TypeScript and Python tools. Fetch the tools for a linked account, filter them to what your agent needs, and hand them to your framework’s function-calling loop. The SDK is available in two languages:
Not sure if the Agent SDK is right for you? Check out Call Actions to understand when to use the Agent SDK vs MCP vs A2A.
StackOne Architecture
Your agent connects to StackOne, which handles authentication and data normalization for hundreds of SaaS providers like Salesforce, Workday, Slack, and more.Key concepts:
  • Initialize a ToolSet: Create a StackOneToolSet instance to access tools for providers like Workday, Greenhouse, Slack, and more
  • Filter Tools: Use provider glob patterns like workday_* and slack_*, or the fetch_tools() method for provider/action/account filters
  • Execute Tools: Call provider APIs through StackOne tool interfaces: list employees, send messages, create tickets
  • Tool Discovery: Discover relevant tools at runtime via natural language queries
  • Multi-Tenant: Each tool execution requires an account_id to identify which customer’s account to access

Calling actions

Before starting you need to have followed the previous setup steps described in the Getting Started. Then pick your framework — each guide is a complete agent loop, from install to handing StackOne tools to your model:

OpenAI

TypeScript and Python

Vercel AI SDK

TypeScript

LangChain

Python

LangGraph

Python

CrewAI

Python

Pydantic AI

Python

Resources