cpacker / MemGPT

Create LLM agents with long-term memory and custom tools 📚🦙
https://memgpt.readme.io
Apache License 2.0
10.71k stars 1.15k forks source link

Allow chating with MemGPT agents from Slack like chat apps #1480

Open distributev opened 5 days ago

distributev commented 5 days ago

Allow the possibility to chat with MemGPT agents from an open source chat app (Slack like chat apps). This will open a great deal of possibilities including the option to chat with MemGPT agents on the go from android and iphone mobile phones (these chat apps have clients for android/iphone) or even the possibility to "speak" with the MemGPT agents using the mobile phone.

The are many great open source chat apps like Element (matrix client), Mattermost or RocketChat

https://github.com/mattermost/mattermost https://github.com/RocketChat/Rocket.Chat

https://www.matrix.org https://github.com/matrix-org

Matrix wants to be like a common/reference API/implementation in the world of so many different chat apps.

Here are some projects which can be used as example

https://github.com/matrixgpt/matrix-chatgpt-bot Talk to ChatGPT via any Matrix client!

https://github.com/alphapapa/ement.el A Matrix client for GNU Emacs

https://github.com/yGuy/chatgpt-mattermost-bot A very simple implementation of a service for a mattermost bot that uses ChatGPT in the backend

https://github.com/attzonko/mmpy_bot A python-based chatbot for Mattermost (http://www.mattermost.org)

distributev commented 4 days ago

For instance

https://etke.cc/help/bots/chatgpt/

sarahwooders commented 17 hours ago

This should be possible with MemGPT now -- you just have to have the application send messages to a MemGPT agent running on a server, and either replace or modify the send_message tool in MemGPT to instead send a message to the application you want the message to appear on.

@cpacker recently made a demo for how to connect a MemGPT agent to chat via a tamagotchi front-end, so that might be a helpful reference once its released (hopefully soon).