MCP(テキストメモリ)またはPython統合(完全マルチモーダル)をサポートするあらゆるAIプラットフォームで動作
|
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() ``` |