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

[Experimental] Memory-enabled agent #4510

Draft
wants to merge 101 commits into
base: main
Choose a base branch
from
Draft

[Experimental] Memory-enabled agent #4510

wants to merge 101 commits into from

Conversation

enyst
Copy link
Collaborator

@enyst enyst commented Oct 22, 2024

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

This PR proposes a memory-enabled agent. It integrates the approach implemented by @khushvind and aims to implement a (bit larger) part of a memory system than we have previously:

  • condense messages when necessary / with an experimental option for LLM's choice
  • recall memories
  • use some form of long-term memory - embeddings for recall (llama-index and/or litellm, both available for testing)

Experiment:

  • inspired by the Generative Agents paper and MemGPT paper, it aims to let the agent manage its own memory. Not just us deciding when to re-route stuff to condense, rather have it aware of its memory system and let it decide what is important enough to keep, when and where.

Rough schema of cognitive architecture illustrated among others in Cognitive Architectures for Language Agents:

image

Link of any specific issues this addresses

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.

2 participants