Skip to main content
Cognis is feature-light by default. Every external integration — providers, vector stores, checkpoint backends, observability exporters — is feature-gated so the core crates compile with no network deps. Pick what you need; pay for nothing else.

cognis (umbrella)

cognis-core, cognis-macros

These crates compile with no network features ever. Anything that does I/O lives in a sibling crate.

cognis-llm

OpenRouter uses the OpenAI client with Provider::OpenRouter; no separate feature.

cognis-rag

Embeddings

Vector stores

Loaders

InMemoryVectorStore, FakeEmbeddings, CachedEmbeddings, BatchedEmbeddings, the indexing pipeline, and the in-memory record manager are always available.

cognis-graph

InMemoryCheckpointer and the engine are always available.

cognis-trace

MockExporter is always built — useful in tests.

Picking the minimum set

See also

Installation

Where features live in your Cargo.toml.

Environment variables

What Client::from_env() reads.