Skip to main content

Installation

Install the MeshAI JavaScript SDK using npm or yarn:

Quick Start

Client Configuration

Basic Configuration

Core Methods

executeTask()

Execute a single AI task with automatic agent selection.
Parameters:

createWorkflow()

Create multi-step workflows with task dependencies.
Example:

Workflow Management

Workflow Class

Task Dependencies

Task Types

Available Task Types

Task-Specific Examples

Response Objects

TaskResult

WorkflowResult