Skip to main content
You can use Valkey as a vector database with Agno using the valkey-search module.

Setup

Install dependencies:
Set the API key used by the default OpenAI embedder and agent model:
Valkey vector search requires the valkey-search module. Use the valkey/valkey-bundle Docker image which includes it:

Example

agent_with_knowledge.py

Valkey Params