Cognee is an open-source memory engine with a semantic graph core. The Respan integration provides comprehensive tracing and observability for AI agents and semantic workflows using a single @observe decorator.
The integration uses a pluggable architecture - select Respan as the monitoring tool via configuration or environment variables. The interface remains consistent regardless of telemetry provider, enabling vendor independence.
Install cognee-community-observability-keywordsai and set MONITORING_TOOL=keywordsai and KEYWORDSAI_API_KEY as environment variables.
The integration patches Cognee's @observe decorator at runtime, mapping it to Respan's task() and workflow() decorators. Decorate your functions and monitor spans, token usage, latency, and error rates in the Respan dashboard.