Skip to main content
@cognee/cognee-ts provides Node.js bindings for the cognee-rs AI-memory SDK, built with Neon. It is published on npm as @cognee/cognee-ts.
Cognee transforms raw text, files, and URLs into a persistent, queryable knowledge graph. The high-level API is remember (ingest + extract in one call) → recall (source-aware retrieval). These wrap the lower-level addcognifysearch stages, which remain available when you need finer control.

Installation

Quick start

The quick start touches three things you will use in every project: the runtime init() call, the Cognee constructor, and the remember / recall pair. The pages below cover each in depth.

Next Steps

Configuration

Constructor settings, the c.config setters, and every environment variable the SDK reads.

Memory API

remember, recall, improve, forget, and rememberEntry.

Resource Managers

Datasets, sessions, notebooks, and user / pipeline-run admin.

Legacy Pipeline Operations

Staged addcognifysearch control, plus memify.

Runtime and Observability

Runtime lifecycle, logging, and telemetry setup.

Cognee Cloud

Connect a local SDK to Cognee Cloud with serve and disconnect.

@cognee/cognee-ts on npm

Package page, versions, and the full README with runnable examples.

Rust SDK

The underlying cognee-rs engine and its CLI.