Cognee
Cognee is an open-source memory engine with a semantic graph at its core that provides observability for AI agents and semantic workflows. The Cognee–Respan integration patches Cognee’s @observe decorator so every task and workflow run becomes a Respan span automatically.
Set up Respan
Create an account at platform.respan.ai and grab an API key.
Run npx @respan/cli setup to set up with your coding agent.
Tracing
Setup
Set environment variables
MONITORING_TOOL=respan tells Cognee to use Respan as its observability backend. LLM_API_KEY is required if your pipeline calls LLMs.
View your trace
Open the Traces page to see your Cognee workflow with task spans, knowledge graph operations, and LLM calls.
How it works
The Respan integration patches Cognee’s get_observe() at import time so:
@observemaps to Respan’stask()decorator.@observe(workflow=True)maps to Respan’sworkflow()decorator.- Telemetry is initialized once via
RespanTelemetry()on import.