Problem Description
Agno supports Postgres, SQLite, and Redis as database backends, but not Valkey. Valkey is the Linux Foundation fork of Redis (post-license-change), and a decent amount of deployments have moved to it. Right now anyone running Valkey only has access to use the Redis adapter which isn't compatible and probably won't be compatible long term since the projects are diverging. It's a good opportunity to add this.
Same story on the vector DB side. There's a Redis vector store but nothing for Valkey.
Proposed Solution
Two new adapters:
-
ValkeyDb (session store) implementing BaseDb. Covers sessions, memories, metrics, evals, knowledge, cultural knowledge, traces, spans, and learnings. Uses the valkey-glide GLIDE client. Data stored as JSON values with secondary index sets for filtered lookups.
-
ValkeyDB (vector store) implementing the vector DB interface. Vector similarity search and keyword search via Valkey's FT.SEARCH module. Supports auth, TLS, and database selection
Alternatives Considered
No response
Additional Context
I have an implementation ready for Valkey with some optimizations.
Would you like to work on this?
Problem Description
Agno supports Postgres, SQLite, and Redis as database backends, but not Valkey. Valkey is the Linux Foundation fork of Redis (post-license-change), and a decent amount of deployments have moved to it. Right now anyone running Valkey only has access to use the Redis adapter which isn't compatible and probably won't be compatible long term since the projects are diverging. It's a good opportunity to add this.
Same story on the vector DB side. There's a Redis vector store but nothing for Valkey.
Proposed Solution
Two new adapters:
ValkeyDb (session store) implementing BaseDb. Covers sessions, memories, metrics, evals, knowledge, cultural knowledge, traces, spans, and learnings. Uses the valkey-glide GLIDE client. Data stored as JSON values with secondary index sets for filtered lookups.
ValkeyDB (vector store) implementing the vector DB interface. Vector similarity search and keyword search via Valkey's FT.SEARCH module. Supports auth, TLS, and database selection
Alternatives Considered
No response
Additional Context
I have an implementation ready for Valkey with some optimizations.
Would you like to work on this?