SDK · TypeScript

Build a mind in TypeScript.

@minds-sdk/typescript is the canonical SDK — 13 client modules covering KV, vector, graph, analytics, ML, memory (all 5 types), SNN, neurosymbolic, continual, MHN, and the gRPC router. ESM + CJS, full TypeScript types, AsyncGenerator streaming.

Capabilities

What you get.

Production-grade from day one. No flags, no betas — these ship when you adopt Minds.

13 client modules
KV · vector · graph · analytics · ML · memory ×5 · SNN · neurosymbolic · continual · MHN · router.
ESM + CJS
Bundled for Node 18+, Bun, Deno, and modern browsers.
AsyncGenerator streaming
Stream long-running generations with native iteration.
Zod-friendly
Every API returns a typed shape — pipe through Zod for validation at boundaries.
URI resolution
akasha:// scheme with .well-known + DNS SRV discovery.
Service layer
Swap HTTP backend for in-memory backend for tests. Same API.
API

A few lines is all it takes.

exampletypescript
import { Minds } from "@minds-sdk/typescript";

const minds = new Minds({ apiKey: process.env.MINDS_KEY });

const memories = await minds.recall({
  query: "Why did Q3 revenue dip?",
  modes: ["vector", "graph", "episodic"],
  timepoint: "2026-10-01",
  topK: 5,
});

// Streaming
for await (const chunk of minds.generate.stream({ prompt: "Explain the dip." })) {
  process.stdout.write(chunk);
}
Specs

What it costs, what it guarantees.

At a glance
Package
@minds-sdk/typescript
Runtimes
Node 18+ · Bun · Deno · browsers
Bundle size (min+gz)
~38 KB core
Modules
13 client modules
Types
first-class, .d.ts shipped
Guarantees
Durability
fsync per WAL commit
Isolation
MVCC · snapshot
Audit
BLAKE3 Merkle chain
Encryption
AES-256-GCM per-namespace
Concurrency
100K+ ops/sec

Get started in an afternoon.

Run anywhere — Akasha Cloud, on-prem, or air-gapped.