Skip to main content
The native addon runs on a Rust tokio runtime. Boot it once at process start with init() before any async operation, and optionally attach logging and telemetry.

Initialisation and observability

Each handle also exposes await c.ownerId(), returning the owner UUID used for deterministic, per-tenant ID generation. Set COGNEE_BINDING_SUPPRESS_LOGS=1 before requireing the module to skip the auto-installed stderr subscriber if your host manages the logging pipeline. The environment variables these functions read are listed in Configuration.