Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agentic memory #5227

Open
wants to merge 108 commits into
base: main
Choose a base branch
from
Open

Agentic memory #5227

wants to merge 108 commits into from

Conversation

rickyloynd-microsoft
Copy link
Contributor

@rickyloynd-microsoft rickyloynd-microsoft commented Jan 28, 2025

Adds a baseline implementation of agentic memory to the autogen-ext package.

For technical details, see the Agentic Memory README.

To see it in action, view the page logs generated while running the code samples.

Items we've discussed that may be handled in post-PR issues:

  • Logging to *.jsonl files.
  • Object serialization and deserialization.
  • Making AgenticMemoryBank use a chromadb-specific implementation of autogen-core/memory.

Make memory optional.
Filter out insights with negative scores.
Refactor memory paths.
Enrich page logging.
Seed messages with random int for variability.
Save sessions as yaml for readability.
Eval simplifications.
@ekzhu
Copy link
Collaborator

ekzhu commented Jan 30, 2025

@jackgerrits we will be refactoring this in the current branch first

Copy link

codecov bot commented Feb 5, 2025

Codecov Report

Attention: Patch coverage is 0% with 1016 lines in your changes missing coverage. Please review.

Project coverage is 70.59%. Comparing base (f7f5507) to head (2b2cbdb).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...-ext/src/autogen_ext/agentic_memory/page_logger.py 0.00% 274 Missing ⚠️
...en_ext/agentic_memory/agentic_memory_controller.py 0.00% 207 Missing ⚠️
...en-ext/src/autogen_ext/agentic_memory/_prompter.py 0.00% 118 Missing ⚠️
...n-ext/src/autogen_ext/agentic_memory/apprentice.py 0.00% 107 Missing ⚠️
...autogen_ext/agentic_memory/_agentic_memory_bank.py 0.00% 95 Missing ⚠️
...togen-ext/src/autogen_ext/agentic_memory/grader.py 0.00% 79 Missing ⚠️
...togen_ext/agentic_memory/_string_similarity_map.py 0.00% 66 Missing ⚠️
...togen-ext/src/autogen_ext/agentic_memory/_utils.py 0.00% 65 Missing ⚠️
...gen-ext/src/autogen_ext/agentic_memory/__init__.py 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5227      +/-   ##
==========================================
- Coverage   78.08%   70.59%   -7.49%     
==========================================
  Files         158      167       +9     
  Lines        9576    10592    +1016     
==========================================
  Hits         7477     7477              
- Misses       2099     3115    +1016     
Flag Coverage Δ
unittests 70.59% <0.00%> (-7.49%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants