Skip to main content
Step-by-step guides for integrating Cognis memory with popular agent frameworks. Each cookbook includes working code for both the hosted (lyzr-adk) and open-source (lyzr-cognis) versions.

Getting Started

Your First Memory

Add, search, and retrieve memories in 3 minutes. Covers both hosted and open-source.

Hosted vs Open Source

Not sure which version to use? Compare features, APIs, and trade-offs.

Framework Integrations

Cognis + CrewAI

Inject user preferences into multi-agent crew backstories and store results for future runs.

Cognis + Agno

Expose memory as tools that agents autonomously decide when to use.

Cognis + LangGraph

Memory as graph nodes in a retrieve → respond → store pipeline.

Cognis + LangChain

LCEL chain integration with memory injection via MessagesPlaceholder.

Integration Patterns

FrameworkPatternDescription
CrewAIManual injectionRetrieve → inject into backstory → run crew → store results
AgnoTool-basedMemory ops as @tool decorators; agent decides when to use
LangGraphGraph nodesDedicated nodes for retrieve/store in explicit control flow
LangChainLCEL chainsMemory retrieval as prompt injection; store after chain execution