feat: add agent memory and context sharing infrastructure - #359
Conversation
|
@Kriss255 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Strict review blocker: and are failing. Please fix both before requesting merge. |
|
Strict review blocker: |
|
Strict review blocker: required checks are failing. Please fix the failures before requesting merge. |
|
@Kriss255 this PR has merge conflicts with the |
Overview
This PR adds an AI-style Agent Memory and Context Sharing Infrastructure that maintains short-term conversational context, builds a long-term knowledge base, shares learned insights across agents, and retrieves query-relevant context with high precision — targeting ≥90% retrieval precision.
Related Issue
Closes the linked bounty issue for Agent Memory and Context Sharing Infrastructure.
Changes
🧠 Memory and Context Sharing Infrastructure
[ADD]
semantic_cache.py[ADD]
memory/models.pyShortTermContext,LongTermKnowledge,UserPreference, andAgentInsightmodels.[ADD]
memory/__init__.pyMemoryManagerAPI and inter-agent memory synchronization helpers.[MODIFY]
config.pyMEMORY_*configuration for the vector database backend, embedding model, retention policy, garbage collection interval, and privacy/isolation rules.Verification Results
Closes #153