SShortSingh.
Back to feed

Cognee Open-Source Graph Database Aims to Give AI Agents Persistent Memory

0
·1 views

Cognee is an open-source graph database engine built to provide AI agents with long-term, persistent memory across conversations. It processes text to extract entities such as people, products, and intents, storing them in a connected graph structure that supports both semantic and graph-based search. The tool can link related topics over time, allowing AI systems to recognize patterns in a user's interests without requiring repeated context-setting. Cognee supports multiple database backends including SQLite, Neo4j, and LanceDB, and can be self-hosted at no cost. However, the project remains in early development at version 0.1.x, with noted limitations including slow memory ingestion, frequent API changes, and roughly 72% accuracy in relationship extraction.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Open-Source Tool Maps 100K+ Displaced Museum Artifacts Back to Their Origins

A designer and developer has built Ex Situ, an open-source spatial index that maps over 100,000 museum artifacts held in Western institutions back to their geographic origins using interactive arcs. The project, which began as an MA thesis in 2022, currently indexes collections from institutions including the Met, V&A, and SMB Berlin, covering categories such as Islamic, Asian, African, and ethnological art. Built with Next.js, Deck.gl, and a Strapi backend, it pulls data from museum open-access APIs and is licensed under AGPL-3.0. Rather than duplicating institutional data, the tool links origin sites to destination collections, routing researchers directly to source institutions. The solo developer is now seeking community contributions to help with performance scaling, data pipelines, and missing museum API integrations.

0
ProgrammingDEV Community ·

How to Safely Migrate Large-Scale Metadata Systems in Distributed Environments

Migrating metadata at cloud scale is far more complex than a simple copy-and-cutover process, as the migration itself becomes a distributed system with multiple failure risks. The four primary dangers are data drift during copying, partial record transfers, stale write replays, and premature traffic cutover before validation is complete. A reliable migration follows a structured pipeline: snapshot, copy, replay, validate, cutover, cleanup, and recover, with the source remaining authoritative until the destination is fully verified. To prevent duplicate or out-of-order writes, each destination partition should use monotonically increasing sequence numbers to reject stale or repeated operations. Every stage of the migration must be designed to be retry-safe, ensuring that crashes, partial failures, or delayed writes do not leave the system in an inconsistent state.

0
ProgrammingDEV Community ·

Engineering Team Cuts RAG Pipeline Latency 40% Using Bayesian Search and Hybrid Retrieval

A development team overhauled their Retrieval-Augmented Generation (RAG) pipeline after standard production deployments revealed critical failures across legal, API, and support document types. The team replaced fixed 512-token chunking with document-specific strategies — including recursive, semantic, and agentic chunking — achieving recall@10 scores between 91% and 97% depending on content type. They combined vector search with BM25 and cross-encoder reranking using Reciprocal Rank Fusion, reducing reliance on any single retrieval method and improving relevance correlation from roughly 0.75 to 0.92. A query transformation layer was also added to handle poorly formed user queries before retrieval begins. The cumulative changes resulted in a 40% reduction in end-to-end query latency compared to the original pipeline.

0
ProgrammingDEV Community ·

How One Team Built Automated LLM Evaluation That Catches 92% of Hallucinations

A software team discovered critical gaps in their AI quality process after deploying a retrieval-augmented generation customer support assistant that served hallucinated responses to over 500 users. The failures included fabricated billing policies and rate-limit figures pulled from a competitor's documentation, exposing the risks of relying solely on informal manual testing. In response, the team built a production-grade evaluation pipeline that runs automatically within CI/CD workflows, using a ensemble of judges to assess faithfulness, instruction-following, schema validity, and safety. The system uses domain-specific LLM judges alongside deterministic checks, with configurable pass thresholds and a versioned golden dataset for regression detection. The approach replaced ad-hoc review with structured, automated metrics capable of blocking low-quality model updates before they reach production.

Cognee Open-Source Graph Database Aims to Give AI Agents Persistent Memory · ShortSingh