3 ms·
100% - I'll implement and add that now :)
by chsitter 7mo ago
100% - I'll implement and add that now :)
- jlongo78 7mo ago[flagged]
- chsitter 7mo agoI'm not gonna lie - at the moment it's pretty basic as a chunked semantic store where relevant chunks are retrieved in conjunction with some criteria the Agent can pass to the MCP server. Context usage is definitely a problem that's on my mind also and semantic anchors are one area I'm exploring but don't have a clear architecture for it jotted down yet. The real problem I'm facing right now is how to inject this into say claude or chatgpt and have those agents default use it as a memory layer
- jlongo78 7mo ago[flagged]
- chsitter 7mo agoThat is what I do at the moment - I gotta update the instructions on the website to prod users to set things up this way. The issue I perceive though is that adding an MCP server alone is not enough to modify the system prompt of the AI Agent. I tried to have the mcp server description be an injected prompt to add these instructions to the system prompt but that doesn't seem to work, I tried adding sampling to the MCP server which supposedly should be able to plug into messages without luck, tried to optimise for chatGPT with an OpenAPI spec etc. The only way I found that I can get those clients to use my memory layer is by doing what you describe - which is not necessarily the most user friendly/one-click setup I desire
- jlongo78 7mo ago[flagged]
- chsitter 7mo agoTried the resource trick - it's also quite hit and miss. Not all clients properly support resources yet. I believe you're right and I'm just gonna have to wait or try to engage directly with MCP/Anthropic/OpenAi and further this agenda
- chsitter 7mo agoClaude Code just added http hooks which are fantastic addition for this problem :) So I've hooked that up with my system. Pretty good start tbh.
- jlongo78 7mo ago[flagged]