from agentmind import Memory# That's it - you're readymemory = Memory(api_key="YOUR_API_KEY")# Store anythingmemory.remember("User loves Python")memory.remember({"config": "production", "debug": False})# Search naturallyresults = memory.recall("What does the user love?")
# Storememory_id = memory.remember("User is a Python developer")# Get by IDdata = memory.get(memory_id)# Searchresults = memory.recall("What language does the user know?")
# Storecurl -X POST https://api.leedab.com/v1/memories \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{"content": "User is a Python developer"}'# Search curl -X POST https://api.leedab.com/v1/memories/search \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{"query": "What language does the user know?"}'