Installation
Quick Start
Core Concepts
Services
Connect to databases, APIs, and other network services exposed through your Private Connect infrastructure. The SDK automatically provides connection strings and ports.Agents
Discover and communicate with agents in your workspace. Agents can register capabilities, send messages, and coordinate distributed workflows.Sessions
Create ephemeral orchestration sessions for coordinating multi-agent workflows with automatic cleanup and TTL.API Structure
The SDK is organized into three main API namespaces:Agents API
Discovery, messaging, and orchestration
Services API
Service discovery and connection details
Sessions API
Ephemeral orchestration sessions
Configuration
Your Private Connect API key. Get this from your workspace settings.
Hub URL for Private Connect API. Override for self-hosted deployments.
Agent ID for this client. Auto-detected from local config if not provided.
Disable anonymous usage tracking.
Environment Variables
You can configure the SDK using environment variables:TypeScript Support
The SDK is written in TypeScript and provides full type definitions for all methods, parameters, and return types.Error Handling
The SDK throws errors for failed requests:async/await or .then()/.catch().
Next Steps
TypeScript Setup
Configure TypeScript and explore type definitions
Agents API
Build distributed agent systems
Services API
Connect to your infrastructure
Sessions API
Coordinate multi-agent workflows