Cognee is a Python library for enriching LLM context with a semantic layer, enabling better understanding and reasoning. It provides memory management, knowledge graph construction, and ontology support. Current version is 1.0.3, with active development on 1.0.4.dev0. Release cadence is rapid, with multiple minor/patch releases per month.
pip install cogneeVerified import paths — ran on the pinned version, not inferred.
Basic usage: create a client, add a memory, and search.
Set environment variable: export COGNEE_API_KEY='your_key' or pass api_key='your_key' to CogneeClient.
To disable caching, set cache_enabled=False in the client constructor.
Upgrade to v1.0.3 or later: pip install --upgrade cognee
No dependency data recorded yet.