# cognee | Topoteretes | Knowledge Base | Instagit

Knowledge Engine for AI Agent Memory in 6 lines of code

GitHub Stars: 14.1k

Repository: https://github.com/topoteretes/cognee

---

## Articles

### [How to Set Up Observability and Tracing in Cognee: A Complete Guide](/topoteretes/cognee/how-to-set-up-observability-tracing-cognee)

Set up observability and tracing in Cognee with this complete guide. Discover how Cognee's OpenTelemetry layer tracks pipeline tasks, DB queries, LLM calls, and vector searches effortlessly.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Configure Distributed Execution in Cognee: A Complete Guide with Modal](/topoteretes/cognee/how-to-configure-distributed-execution-cognee)

Configure distributed execution in Cognee with ease. Learn how to set the COGNEE_DISTRIBUTED environment variable and leverage Modal for scalable remote workers to enhance your storage adapter operations.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Run Custom Pipelines in Cognee: A Complete Guide](/topoteretes/cognee/how-to-run-custom-pipelines-cognee)

Learn to run custom pipelines in Cognee by wrapping functions in Task objects and using cognee.run_custom_pipeline(). Master background and blocking execution modes for efficient workflow orchestration.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Implement Agent Memory Using Memify in Cognee: A Complete Guide](/topoteretes/cognee/how-to-implement-agent-memory-memify-cognee)

Learn how to implement agent memory using Memify in Cognee. This guide shows you how to transform knowledge graphs into vector-store-backed memory for fast similarity searches and contextual retrieval.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Use Ontologies with Cognee: OWL/RDF Integration Guide](/topoteretes/cognee/how-to-use-ontologies-cognee)

Learn to integrate OWL/RDF ontologies with Cognee using RDFLibOntologyResolver. Enrich entities and validate data effectively. Get started in this guide.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Configure the Data Root Directory in Cognee](/topoteretes/cognee/how-to-configure-data-root-directory-cognee)

Learn how to configure the data root directory in Cognee by calling cognee.config.data_root_directory. Easily change where Cognee stores files and embeddings.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Define a Custom Graph Model in Cognee: A Developer’s Guide](/topoteretes/cognee/how-to-define-custom-graph-model-cognee)

Learn how to define a custom graph model in Cognee by subclassing DataPoint. This guide details declaring typed attributes and integrating with cognify for knowledge graph creation.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Set Classification and Summarization Models in Cognee](/topoteretes/cognee/how-to-set-classification-summarization-models-cognee)

Customize Cognee with your own classification and summarization models. Learn how to set models using cognee.config.set_classification_model() and cognee.config.set_summarization_model() easily.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Set Chunk Overlap in Cognee: A Complete Configuration Guide](/topoteretes/cognee/how-to-set-chunk-overlap-cognee)

Master chunk overlap in Cognee with our complete guide. Learn configuration options via API, CLI, or TextChunkerWithOverlap for optimized document processing.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Configure Chunk Size for Cognee: Complete API and CLI Guide](/topoteretes/cognee/how-to-configure-chunk-size-cognee)

Learn to configure Cognee chunk size easily. Optimize token limits using environment variables, Python API, or CLI commands for your documents. Get the complete guide now.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Set the Chunking Engine in Cognee: CLI and Python API Guide](/topoteretes/cognee/how-to-set-chunking-engine-cognee)

Easily set the chunking engine in Cognee using the CLI chunker flag or Python API chunker parameter. Explore TextChunker, LangchainChunker, and CsvChunker options now.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Customize the Chunking Strategy in Cognee: Complete Implementation Guide](/topoteretes/cognee/how-to-customize-chunking-strategy-cognee)

Learn how to customize chunking strategy in Cognee with this implementation guide. Configure ChunkingConfig, choose ChunkEngine and ChunkStrategy, and create your custom chunking engine.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Set the API Key for Your Vector Database in Cognee: 3 Methods Explained](/topoteretes/cognee/how-to-set-api-key-vector-database-cognee)

Learn 3 simple methods to set your Cognee vector database API key. Configure settings in memory or batch update with cognee.config.set_vector_db_key and set_vector_db_config.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Set the URL for Your Vector Database in Cognee](/topoteretes/cognee/how-to-set-url-vector-database-cognee)

Easily set your Cognee vector database URL at runtime using cognee.config.set_vector_db_url() without restarting your application.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Configure Vector Database Providers in Cognee: A Complete Guide](/topoteretes/cognee/how-to-configure-vector-database-providers-cognee)

Learn how to configure vector database providers in Cognee. Set environment variables or use VectorDBConfig to easily integrate your chosen database with Cognee.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Configure Kuzu as a Graph Database in Cognee](/topoteretes/cognee/how-to-configure-kuzu-graph-database-cognee)

Configure Kuzu as your graph database in Cognee easily. Activate the native Kuzu adapter by setting the graph database provider before initializing your pipeline for seamless graph operations.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Configure Amazon Neptune as a Graph Database in Cognee](/topoteretes/cognee/how-to-configure-amazon-neptune-graph-database-cognee)

Configure Amazon Neptune as a graph database in Cognee. Install the Neptune dependency, set your GRAPH_ID, and initialize graph and vector providers using config.set_graph_db_config() and config.set_vector_db_config().

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Configure Neo4j as a Graph Database in Cognee](/topoteretes/cognee/how-to-configure-neo4j-graph-database-cognee)

Configure Neo4j as a graph database in Cognee by setting environment variables and `set_graph_db_config`. Learn how to use Neo4jAdapter for graph operations.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Switch Between Graph Database Providers in Cognee: Neo4j, Kuzu, and Neptune](/topoteretes/cognee/how-to-switch-graph-database-providers-cognee)

Easily switch graph database providers Neo4j Kuzu Neptune in Cognee by updating GraphConfig. Learn how to seamlessly migrate your graph operations.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Configure Your LLM API Key in Cognee: Environment, Dotenv, and CLI Methods](/topoteretes/cognee/how-to-configure-llm-api-key-cognee)

Configure your LLM API key in Cognee using environment variables, .env files, or the CLI for seamless integration. Get started now.

- Tags: how-to-guide
- Published: 2026-03-16

### [How to Set a Custom LLM Endpoint for Cognee: 3 Configuration Methods](/topoteretes/cognee/how-to-set-custom-llm-endpoint-cognee)

Learn to set a custom LLM endpoint for Cognee using environment variables, Python functions, or CLI commands. Configure your LLM easily for better integration.

- Tags: how-to-guide
- Published: 2026-03-16

### [What LLM Models Can I Use with Cognee? A Complete Provider Guide](/topoteretes/cognee/what-llm-models-can-i-use-cognee)

Explore Cognee's integration with nine LLM providers like OpenAI, Gemini, Mistral, and AWS Bedrock. Configure your preferred LLM effortlessly in our guide.

- Tags: getting-started
- Published: 2026-03-16

### [How to Configure an LLM Provider in Cognee: Environment Setup Guide](/topoteretes/cognee/how-to-configure-llm-provider-cognee)

Easily configure an LLM provider in Cognee using environment variables. Switch between OpenAI, Anthropic, or Ollama effortlessly without code changes. Get started with our setup guide.

- Tags: getting-started
- Published: 2026-03-16

