Skip to main content
The TaskForceAI TypeScript SDK provides a type-safe way to interact with our platform from Node.js or browser environments. The package README is the canonical reference for constructor options, streaming helpers, mock mode, and error handling. This page stays intentionally short so the SDK reference only has one detailed source of truth.

Canonical Reference

Installation

The package supports Node.js 24.13.0 or newer when installed with another package manager in downstream projects.

Quick Start

Common Workflow

Run the task, or switch to streaming when you want incremental status updates:

Files and Threads

The SDK also exposes the current Developer API helpers for uploaded files and persistent conversation threads:
Use uploadAttachment() for task-scoped images that should be submitted as transient attachment_ids; use uploadFile() for persistent Developer API files.