integrate-flowlines-sdk-js
Installation
SKILL.md
Flowlines SDK Integration Guide
Follow these steps to integrate the @flowlines/sdk into a Node.js/TypeScript application.
Step 1: Install the SDK
npm install @flowlines/sdk
Requires Node.js >= 20.
Step 2: Initialize the SDK
The SDK instruments AI libraries by monkey-patching their module exports. This means Flowlines.init() must run before those libraries are imported and before any AI client instances are created.
Choose the initialization approach based on the application's setup: