The Memory Agent is a Python application designed to help users store and retrieve memories using a vector database and a language model. It allows for the extraction of concise facts from user input and provides responses based on stored memories.
To set up the Memory Agent, you need to install the required dependencies. You can do this using pip. First, ensure you have Python and pip installed on your machine. Then, run the following command in your terminal:
pip install -r requirements.txtThe required packages are:
ollama: A library for interacting with language models.chromadb: A library for managing vector databases.sentence-transformers: A library for sentence embeddings.
- Clone the repository or download the source code.
- Navigate to the project directory.
- Run the application using the following command:
python src/app.py- Follow the on-screen instructions to interact with the Memory Agent.
- Save and retrieve memories based on user input.
- Extract concise facts from user messages.
- Clear all memories or reset memories for a specific user.
Contributions are welcome! If you have suggestions or improvements, feel free to submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.