Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/iii-hq/sdk/llms.txt

Use this file to discover all available pages before exploring further.

Choose Your Language

The III SDK is available in three languages. Select your preferred language to get started:

Node.js

TypeScript/JavaScript SDK with full async support

Python

Async Python SDK with type hints

Rust

High-performance async Rust SDK

Quick Example

Here’s a minimal example of using the III SDK across all three languages:
import { init } from 'iii-sdk'

// Initialize the SDK
const iii = init('ws://localhost:49134')

// Register a function
iii.registerFunction(
  { id: 'greeting' },
  async (data: { name: string }) => {
    return { message: `Hello, ${data.name}!` }
  }
)

// Call the function
const result = await iii.call('greeting', { name: 'World' })
console.log(result.message) // "Hello, World!"

Core Concepts

Before diving deeper, familiarize yourself with these key concepts:

Functions

Register and invoke functions across services

Triggers

Automatically invoke functions based on events

Channels

Stream data bidirectionally between functions

Context & Logging

Access execution context and structured logging

Next Steps

1

Choose your language

Select Node.js, Python, or Rust and follow the language-specific quickstart guide.
2

Learn core concepts

Understand the architecture and how functions and triggers work together.
3

Explore advanced features

Build docs developers (and LLMs) love