Skip to main content

Prerequisites

  • Node.js 18.0.0 or higher
  • npm, yarn, or pnpm package manager

Install the SDK

Install the III SDK using your preferred package manager:

Package Information

The III SDK is published as iii-sdk and provides both ESM and CommonJS exports:
  • Main export: Core SDK functionality
  • Subpath exports:
    • iii-sdk/stream - Stream interfaces
    • iii-sdk/state - State management
    • iii-sdk/telemetry - OpenTelemetry utilities

Dependencies

The SDK includes built-in support for:
  • OpenTelemetry: Automatic distributed tracing, metrics, and logging
  • WebSocket: Persistent connection to the III Engine
  • W3C Trace Context: Standard distributed tracing propagation

Verify Installation

Create a simple test file to verify the installation:
test.ts
Run the file:
You should see the connection state change to connected if the III Engine is running.

Next Steps

Quickstart

Get started with your first III function

API Reference

Explore the complete API documentation