Custom Storage Mechanism

I would like to integrate Crew into a project I am working on, but to implement my own durable storage mechanism. Digging through the code, it looks like most (all?) of the agent/crew state is saved in LTMSQLiteStorage or RAGStorage.

However, it does not look like there is not a very official looking way for me to define my own implementation.

I see that I can define my own Long/ShortTermMemory that simply overrides the storage mechanism and have my crew use this, but this seems a brittle and likely it to break as this project expands.

This post is to ask if I am thinking about this properly, and if so if this (allowing users to define custom storage definitions) is on your roadmap or is something you would be open to as an open source contribution?

Thanks for the help, Luke

3 Likes