Add unified local memory MCP with minimal-context RAG for cross-agent workflows#43
Draft
Add unified local memory MCP with minimal-context RAG for cross-agent workflows#43
Conversation
Copilot
AI
changed the title
[WIP] Create cross model shared memory for AISwarm
Add unified local memory MCP with minimal-context RAG for cross-agent workflows
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces an alpha shared-memory foundation for AISwarm: a local, user-owned vector memory layer exposed through a single MCP interface. It targets multi-agent/cross-model context reuse while minimizing irrelevant retrieval and token overhead.
What changed
Unified Memory MCP server
Scoped memory model (alpha)
individual,team, andorg.Minimal-context retrieval pipeline
Extensibility for enterprise/internal data
Why this addresses the issue
Example
{ "tool": "memory.search", "input": { "query": "NullReference in billing retry pipeline", "scope": "individual", "maxTokens": 800, "maxChunks": 5, "sources": ["context7", "msdocs", "internal:engineering-wiki"] } }This returns a compact, ranked context bundle with only the highest-signal excerpts and source references for agent consumption.
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.