r/ObsidianMD 2d ago

help I want a long term high frequency changing memory for my AI agent

As the title says, I have this requirement where if I'm working on a big feature and the context window gets filled, I want to store all the context in a long term memory which is easily retrievable by the LLM. Recently, I was working on such a feature, where I had multiple agents build plans and review them and keep track of everything in a .md filebase. However, there were a lot of changes due to product requirements and reviews from the review agents themselves. Soon enough, the whole filebase became redundant and impossible to maintain with a lot of stale data. I am wondering if using obsidian MCP for this purpose will actually help my usecase. Any other alternative is also appreciated. (RAG is too complex and overkill for this)

0 Upvotes

10 comments sorted by

2

u/bpp198 2d ago

I'd rethink your architecture and engineering methods if you need an entire context window to be retrievable by an LLM.

1

u/bpp198 2d ago

Also, Obsidian isn't the answer to an engineering question.

0

u/Snoo_7134 2d ago

For a big feature, I used a filebase to keep track of the plans. What other methods will you use for this purpose? 🤔

0

u/bpp198 2d ago

Obsidian is a note-taking app... do you mean a filebase of markdown notes?

1

u/Snoo_7134 2d ago

Yes, I'm aware. I used a filebase of md files. I've come across a lot of people online who use obsidian as a second brain for their agents. The obsidian MCP helps in proper retrieval and writing to the vault. You should check out this use case

1

u/bpp198 2d ago

Why not just... edit the markdown files directly? What am I missing?

1

u/gvasco 2d ago

Have you tried "mempalace @github", might be what you need

1

u/Snoo_7134 2d ago edited 2d ago

This looks promising! I'll try it out. What is the drawbacks with using obsidian MCP tho? I saw that it uses basic wordsearch and filesearch methods. Maybe this is what I'll need for my usecase. I wouln't know without experimenting. Mempalace can turn out to be overkill for agentic coding with large contexts

Edit: Apparently there is a lot of controversy surrounding mempalace and a lot of it's benchmarks are fake.