The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
import React from "react";
import { Loader2 } from "lucide-react";
export const renderLoader = (
condition: boolean,
className: string = "",
showLoader: boolean = true,
) => {
if (condition) {
return (
<div
className={`flex justify-center items-center size-full absolute opacity-80 bg-white dark:bg-black min-h-full ${className}`}
>
{showLoader && (
<Loader2 className="animate-spin size-7 text-gray-900 dark:text-gray-100" />
)}
</div>
);
}
return null;
};