Skip to content

Reasoning Layer TypeScript SDK

Type-safe access to Reasoning Layer knowledge bases from Node.js, browsers, Deno, and Bun.

Zero Dependencies

No runtime dependencies. Uses Web Platform APIs (fetch, AbortController) for maximum compatibility across Node 18+, browsers, Deno, and Bun.

Dual Serialization

Type-safe handling of both tagged ValueDto (term CRUD) and untagged plain values (inference) formats — the SDK prevents mixing them at compile time.

Full API Coverage

42 resource clients covering sorts, terms, inference, queries, cognitive agents, fuzzy logic, constraints, namespaces, collections, execution sessions, causal reasoning, and more.

Builder Ergonomics

Fluent builders for values, feature inputs, term inputs, guards, sorts, psi-terms, and Allen temporal relations — with full JSDoc and IntelliSense.