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

The StackOne Agent Tools consist of three main components:
  1. Unified API - Our standardized API layer that normalizes data across different providers
  2. Toolsets - Language-specific SDKs that wrap the unified API into AI-friendly tools
  3. Dashboard & Accounts - Central management of your integrations and API keys

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-Specific Features

  • Type Safety: Full TypeScript support with comprehensive type definitions
  • Framework Support: Native integrations with OpenAI, Vercel AI SDK, and more
  • Tool Filtering: Advanced glob pattern filtering for tool selection
  • Meta Tools: Dynamic tool discovery and execution capabilities
  • File Handling: Built-in support for file uploads and transformations

Core Guides

Next Steps

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

Resources