Skip to main content
The umbrella crate. Most apps depend on this and write use cognis::prelude::*;. It re-exports the four sibling capability crates and adds the agent layer (builder, multi-agent orchestration, memory, middleware, built-in tools, observers, eval).

Crate metadata

What’s exported

What lives in the umbrella itself

prelude

use cognis::prelude::*; brings in:
  • The umbrella’s flat top-level re-exports.
  • Distance, Embeddings, InMemoryVectorStore, SearchResult, VectorStore.
  • async_trait::async_trait.
  • The RunnableExt trait so pipe, with_max_retries, with_timeout, etc. are in scope.
  • Common memory variants and their constructors.
If something feels like it should be importable, try cognis::prelude first.

Feature flags

See Feature flags for the full table.

See also

cognis-core

Foundation crate.

cognis-llm

LLM clients & providers.

cognis-rag

RAG building blocks.

cognis-graph

Graph engine.

cognis-trace

Observability.

cognis-macros

Proc macros.