Skip to main content

JavaScript SDK Getting Started

The RunAgent JavaScript SDK provides a native-feeling interface for calling your deployed agents from JavaScript and TypeScript applications.

Installation

Basic Usage

Initialize the Client

Call Your Agent

Streaming Response

TypeScript Support

The SDK comes with full TypeScript support:

Error Handling

Next Steps