openclaw/examples/cognee-config.yaml
2026-01-28 12:10:13 +01:00

48 lines
1.3 KiB
YAML

# Example Clawdbot configuration with Cognee memory provider
# Copy to ~/.clawdbot/config.yaml and customize
agents:
defaults:
# Use Cognee for knowledge graph memory
memorySearch:
enabled: true
provider: cognee
sources: [memory, sessions] # Index both memory files and conversation history
# Cognee-specific configuration
cognee:
# Local Docker setup (default)
baseUrl: http://localhost:8000
# For Cognee Cloud, use:
# baseUrl: https://cognee--cognee-saas-backend-serve.modal.run
# apiKey: your-api-key-here
# Dataset name for organizing memories
datasetName: clawdbot
# Search mode: "insights" (recommended), "chunks", or "summaries"
searchType: insights
# Maximum search results to return
maxResults: 6
# Automatically process documents after adding (recommended)
autoCognify: true
# Batch size for processing multiple documents
cognifyBatchSize: 100
# Request timeout in seconds
timeoutSeconds: 30
# Enable experimental session memory indexing
experimental:
sessionMemory: true
# To use default SQLite memory instead, set:
# agents:
# defaults:
# memorySearch:
# provider: auto # or "openai", "gemini", "local"