←back to thread

109 points roseway4 | 1 comments | | HN request time: 0s | source

Hi, I'm Daniel from Zep. I've integrated the Cursor IDE with Graphiti, our open-source temporal knowledge graph framework, to provide Cursor with persistent memory across sessions. The goal was simple: help Cursor remember your coding preferences, standards, and project specs, so you don't have to constantly remind it.

Before this integration, Cursor (an AI-assisted IDE many of us already use daily) lacked a robust way to persist user context. To solve this, I used Graphiti’s Model Context Protocol (MCP) server, which allows structured data exchange between the IDE and Graphiti's temporal knowledge graph.

Key points of how this works:

- Custom entities like 'Requirement', 'Preference', and 'Procedure' precisely capture coding standards and project specs.

- Real-time updates let Cursor adapt instantly—if you change frameworks or update standards, the memory updates immediately.

- Persistent retrieval ensures Cursor always recalls your latest preferences and project decisions, across new agent sessions, projects, and even after restarting the IDE.

I’d love your feedback—particularly on the approach and how it fits your workflow.

Here's a detailed write-up: https://www.getzep.com/blog/cursor-adding-memory-with-graphi...

GitHub Repo: https://github.com/getzep/graphiti

-Daniel

Show context
loujaybee ◴[] No.43513759[source]
I don’t see how this is palatable by serious organizations? So you build this huge memory graph of preferences? But none of it is explicit? It’s all just magic? The attack vectors from a security angle seem insane. Also the absence of any explicitness in how you define standards seems completely not viable in a commercial context? I mean it’s crazy cool as a hobby project, but also seems not to have a serious commercial viability?
replies(1): >>43519992 #
1. roseway4 ◴[] No.43519992[source]
There are definitely potential security issues with memory for coding agents, which apply to not only Cursor but also Windsurf. Looking forward to more research in this area.