{
  m3ta.mem0 = {
    enable = true;
    port = 8000;
    host = "127.0.0.1";

    # LLM Configuration
    llm = {
      provider = "openai";
      apiKeyFile = "/var/lib/mem0/openai-api-key-1"; # Use agenix or sops-nix
    };

    # Vector Storage Configuration
    vectorStore = {
      provider = "qdrant"; # or "chroma", "pinecone", etc.
      config = {
        host = "localhost";
        port = 6333;
        collection_name = "mem0_alice";
      };
    };
  };
}
