Skip to main content
@deyta-ai/sdk is the official TypeScript SDK for the Deyta platform. It wraps the public API with typed inputs and outputs, ergonomic helpers, and reliability primitives (configurable retries, request cancellation, per-call options).

Highlights

Zero dependencies

Native fetch. No axios, no transitive footprint.

Dual ESM + CJS

Works in Node 20+, Bun, and modern bundlers. Type declarations and source maps included.

Typed everywhere

Inputs and outputs are typed end-to-end — no unknown returns from memory operations.

Sub-client pattern

Scope a namespace once with deyta.namespaces.scope(id) and stop repeating namespace_id on every call.

Requirements

  • Node.js 20+ (uses AbortSignal.any) or Bun 1.0+
  • TypeScript 5+ for type definitions

Where to next

Quickstart

First end-to-end memory roundtrip in under a minute.

Scoping

The recommended pattern for production code.