| LLM | Llm (cognee-llm) | OpenAIAdapter (OpenAI/Ollama/vLLM/llama.cpp), MockLlm (testing) | LLM_PROVIDER, LLM_MODEL, LLM_ENDPOINT |
| Embeddings | EmbeddingEngine (cognee-embedding) | OnnxEmbeddingEngine (local BGE-Small), OpenAICompatibleEmbeddingEngine, OllamaEmbeddingEngine, MockEmbeddingEngine | EMBEDDING_PROVIDER (+ MOCK_EMBEDDING) |
| Vector DB | VectorDB (cognee-vector) | LanceDbAdapter (embedded, persistent, default on non-Android), BruteForceVectorDB (in-memory; Android or :memory:), PgVectorAdapter (feature pgvector), MockVectorDB (testing) | VECTOR_DB_PROVIDER (lancedb/brute-force/pgvector) |
| Graph DB | GraphDBTrait (cognee-graph) | LadybugAdapter (embedded), PgGraphAdapter (feature postgres) | GRAPH_DATABASE_PROVIDER (ladybug/kuzu/postgres) |
| Relational DB | IngestDb/SearchHistoryDb/DeleteDb (cognee-database) | DatabaseConnection — SQLite / Postgres via SeaORM | DB_PROVIDER, DATABASE_URL |
| File storage | StorageTrait (cognee-storage) | LocalStorage (file://), MockStorage | STORAGE_BACKEND |
| Session store | SessionStore (cognee-session) | FsSessionStore, RedisSessionStore, SeaOrmSessionStore | COGNEE_SESSION_STORE (server) |
| Ontology | OntologyResolver (cognee-ontology) | RdfLibOntologyResolver, NoOpOntologyResolver | ONTOLOGY_RESOLVER |
| Tokenizer (chunking) | TokenCounter (cognee-chunking) | WordCounter, HuggingFaceTokenCounter (feature), TikTokenCounter (feature) | COGNEE_TOKEN_COUNTER |