Funciona com qualquer plataforma de IA que suporte MCP (memória de texto) ou integração Python (multimodal completo)
|
Claude Desktop |
Cursor |
LM Studio |
Cherry Studio |
Pacote PyPI |
+ Qualquer Cliente MCP |
| **📝 Auto → Texto** (entrada somente texto) ```python from simplemem import SimpleMem mem = SimpleMem() # auto mode # add_dialogue() → backend de texto selecionado automaticamente mem.add_dialogue( "Alice", "Bob, let's meet at Starbucks tomorrow at 2pm", "2025-11-15T14:30:00", ) mem.add_dialogue( "Bob", "Sure, I'll bring the market analysis report", "2025-11-15T14:31:00", ) mem.finalize() answer = mem.ask("When and where will Alice and Bob meet?") # → "16 November 2025 at 2:00 PM at Starbucks" ``` | **🧠 Auto → Omni** (entrada multimodal) ```python from simplemem import SimpleMem mem = SimpleMem() # auto mode # add_image() → backend omni selecionado automaticamente mem.add_text( "User loves hiking in the Rocky Mountains.", tags=["session_id:D1"], ) mem.add_image("photo.jpg", tags=["session_id:D1"]) mem.add_audio("voice_note.wav", tags=["session_id:D1"]) result = mem.query("What does the user enjoy?", top_k=5) for item in result.items: print(item["summary"]) mem.close() ``` |