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
- Local Ollama only
- OpenAI + RAG with FAISS
- Multi-provider with traces
- Stateful agents on Postgres
See also
Installation
Where features live in your
Cargo.toml.Environment variables
What
Client::from_env() reads.