Skip to main content
What cognee-rust does. The primary surface is the memory API — remember, recall, improve, forget — four high-level operations that compose the lower-level pipeline (add → cognify → search). Every operation is reachable from each interface (CLI, language bindings, and the HTTP server, which is not part of the cognee-rs repository) — see Tools. API/type detail lives in rustdoc (cargo doc --no-deps --open); this page is the overview, and each operation has its own page.

The memory API

Cognee’s primary surface is four operations that turn raw input into queryable, self-improving memory. They live in the cognee api module (cognee::api::{remember, recall, improve, forget}) and surface as the always-built cognee-cli verbs remember / recall / improve / forget.

Lower-level pipeline

The memory API composes these building blocks. They remain available directly when you need fine-grained control over each stage. The classic flow is:

Additional operations

These live in the cognee api module (and DatasetManager):

Operation → interface map

CLI flags and feature gates: tools/cli. HTTP request/response shapes: documented with the server, which is not part of the cognee-rs repository (see HTTP Server Tools). Binding method names per language: tools/bindings.