HyperFlow Client SDK Guide

Overview

The HyperFlow Client SDK is a JavaScript/TypeScript library that simplifies building custom applications powered by HyperFlow flow-graphs. It handles all the complexity of the Control API communication, state management, streaming, and interaction lifecycle, letting you focus on your application's UI and business logic.

What It Provides:

Why Use the SDK?

Without SDK (Direct Control API):

With SDK:

// Without SDK: 800+ lines of complex polling, state management, spec handling...

// With SDK:
const { messages, sendMessage, isReady } = useHyperFlow({
    apiKey: 'hf_...',
    flowGraphID: '67ca914369e9b8a95c967fdf',
});

// Done! Everything just works.