StackOne Agent Tools provide a powerful way to build AI agents that can interact with various business systems through our unified APIs. The TypeScript SDK offers seamless integration with popular AI frameworks like OpenAI and Vercel AI SDK.

Why StackOne for AI Agents?

StackOne simplifies building B2B SaaS agents by providing:
  1. Unified API Access - Standardized interfaces across different SaaS providers
  2. AI-First Design - Tools designed specifically for AI agent development
  3. Multi-Tenant Support - Built-in handling of customer accounts and permissions
  4. Standardized Data Models - Consistent data structures across providers

Architecture Overview

StackOne Agent Tools are built on three core components:

1. Unified API

Our standardized API layer that normalizes data across different platforms, ensuring more accurate and consistent results for your AI agents.

2. Toolsets

Language-specific SDKs that wrap StackOne API endpoints into AI-friendly tools with native support for popular AI agent frameworks. Each toolset requires an API key to authenticate with StackOne API endpoints.

3. Linked Accounts

Account identifiers that enable your agents to access the correct customer-specific tenant data securely and efficiently.

Key Concepts

  • Initialize a ToolSet: Create a StackOneToolSet instance to access unified business APIs
  • Filter Tools: Use glob patterns like hris_* to get specific tool categories
  • Execute Tools: Call business system APIs through unified tool interfaces
  • Multi-Tenant: Each tool execution requires an accountId for customer isolation

TypeScript Framework Integrations

TypeScript Core Features

TypeScript-Specific Features

  • Type Safety: Full TypeScript support with comprehensive type definitions
  • Framework Support: Native integrations with OpenAI, Vercel AI SDK, and more
  • File Handling: Built-in support for file uploads and transformations

Next Steps

  1. Build your first OpenAI agent
  2. Learn about tool filtering
  3. Explore Meta Tools

Resources