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

Feat: Memory Persistence #60

Open
rihp opened this issue Aug 1, 2023 · 0 comments
Open

Feat: Memory Persistence #60

rihp opened this issue Aug 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@rihp
Copy link
Collaborator

rihp commented Aug 1, 2023

Right now the agent forgets entirely about previous runs. Important information like my ethereum address, created files, and browsed websites is forgotten when the agent exits out.

This is a UX improvement that can substantially make the agent be more capable. The memory can be wiped when the agent run with the flag --wipe-memory

There are potential solutions for this some are easy to implement while others are more complex in nature and require an overhaul of some modules:

  1. Summary.md: Create a simple summary.md which is loaded on start up, this summary will be updated when the summarization function is called, or as the user interacts with the agent
  2. Use the workspace: Create a local file structure that can be used to store certain information and summaries.
  3. Data Lake: Create an unstructured database tasks system and memories which the agent can query on demand.
  4. Vector database: use a vectorstore to more efficiently generate document storage and retrieval. using something like https://github.com/chroma-core/chroma or Redis we could implement a longer memory persistence that deprecates the summarization logic
  5. Langchain Memory or inspirations: https://js.langchain.com/docs/modules/memory The langchain repository has the cutting edge integrations on memory and even offers a js agent that could be used in our implementation to improve the memory
@rihp rihp added the enhancement New feature or request label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant