MCP(텍스트 기억)를 지원하는 모든 AI 플랫폼 또는 Python 통합(전체 멀티모달)과 함께 작동합니다
|
Claude Desktop |
Cursor |
LM Studio |
Cherry Studio |
PyPI 패키지 |
+ 모든 MCP 클라이언트 |
| **📝 Auto → 텍스트** (순수 텍스트 입력) ```python from simplemem import SimpleMem mem = SimpleMem() # auto mode # add_dialogue() → 텍스트 백엔드 자동 선택 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** (멀티모달 입력) ```python from simplemem import SimpleMem mem = SimpleMem() # auto mode # add_image() → omni 백엔드 자동 선택 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() ``` |