Video summary

Why We Built Agent Memory on Postgres, Not Markdown

Main summary

Key takeaways

Technology

Summary

Cognee’s founder explains why the company built an agent-memory system around databases—especially Postgres—instead of relying on Markdown files. Markdown can work for an individual agent, but the speaker argues that large-scale use requires database capabilities such as concurrent reads and writes, locking, indexing, and reliable retrieval. Large collections of files can become difficult to search and maintain, while also failing to address fragmented business knowledge and agents’ lack of domain context.

Architecture and core features

  • A memory layer between agents and data: Cognee represents domain knowledge as an ontology that helps agents interpret company-specific processes and information.
  • Postgres “memory boxes”: Memory can be isolated per agent, user, team, or organization. The speaker presents this as a way to limit context leakage and support multiple agents and tenants.
  • Configurable data pipeline: The system ingests data, structures it into graph and vector representations, applies access controls, and retrieves relevant context. Developers can add or change transformation steps with Python.
  • Access control: Read and write permissions can be set for agents and tenants. The speaker cites a deployment with 300 tenants and says this isolation helps prevent one group’s context from contaminating another’s.
  • Retrieval and feedback: Cognee supports strategies including temporal retrieval, searching code repositories, and multi-hop questions. Feedback can trigger adjustments to embeddings and graph structures.
  • Two memory types:
    • Session memory is temporary, like a cache.
    • Permanent memory stores longer-lived graph and vector representations.

The speaker favors these flexible categories over fixed labels such as “short-term,” “long-term,” and “procedural” memory.

  • Memory sharing and promotion: Information can move from an agent’s memory to a user’s, team’s, or organization’s memory, depending on its relevance.
  • Connectors and source navigation: The system supports more than 100 data sources. Rather than copying all source data into memory, Cognee aims to capture its structure so agents can navigate back to the original systems for details.
  • Self-improving memory: Instead of permanently deleting information, Cognee can reweight embeddings and reposition graph representations based on interaction patterns. The speaker describes this as a “soft” reprioritization approach.
  • Small-model runtime and deployment options: Cognee is open source and can run with small models for tasks such as entity extraction, reducing reliance on paid hosted-model calls. The speaker also describes self-hosted, cloud, edge, and fully local phone deployments.

Performance and adoption claims

The speaker reports 79% accuracy on the BEAM memory benchmark. They also say Cognee generates around 12 million memories per month and cite production use by roughly 60 companies known to the team, with additional production runs visible in anonymized telemetry. Examples named include AstraZeneca, Bayer, and the University of Wyoming. These figures and performance claims are presented by the speaker.

The talk also describes past product development: an early WhatsApp chatbot deployment with 20,000 users failed, prompting a rethink of the system as a flexible memory-construction engine rather than a fixed memory model.

Reviews, guides, or tutorials

This is a technical product presentation, not a review or step-by-step tutorial. It explains Cognee’s architecture, design choices, and claimed results.

Main speaker/source

  • Vasilije Markovic, Cognee founder, presenting the company’s design rationale and product capabilities.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video