{"id":96457,"date":"2026-08-27T17:00:50","date_gmt":"2026-08-27T09:00:50","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/96457.html"},"modified":"2026-08-27T17:00:50","modified_gmt":"2026-08-27T09:00:50","slug":"agent-%e8%b7%a8%e4%bc%9a%e8%af%9d%e8%ae%b0%e5%bf%86%e7%9a%84%e7%94%9f%e4%ba%a7%e8%90%bd%e5%9c%b0%ef%bc%9alanggraph-memorystore-%e5%a6%82%e4%bd%95%e8%ae%a9-agent-%e8%ae%b0%e4%bd%8f%e4%bd%a0%e6%98%af","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/96457.html","title":{"rendered":"Agent \u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u751f\u4ea7\u843d\u5730\uff1aLangGraph MemoryStore \u5982\u4f55\u8ba9 Agent \u8bb0\u4f4f\u4f60\u662f\u8c01"},"content":{"rendered":"<p>Agent \u6700\u8ba9\u4eba\u5934\u75bc\u7684\u95ee\u9898\u4e4b\u4e00&#xff0c;\u5c31\u662f\u5b83&#034;\u4e0d\u8bb0\u4e8b&#034;\u3002<\/p>\n<p>\u7528\u6237\u4e0a\u4e00\u8f6e\u544a\u8bc9\u4f60&#034;\u6211\u504f\u597d\u7528 Python \u5199\u540e\u7aef&#034;&#xff0c;\u4e0b\u4e00\u8f6e\u5bf9\u8bdd Agent \u53c8\u95ee\u4f60&#034;\u4f60\u7528\u4ec0\u4e48\u8bed\u8a00&#034;\u3002\u7528\u6237\u8bf4&#034;\u5e2e\u6211\u67e5\u4e00\u4e0b\u4e0a\u5468\u90a3\u4e2a\u5de5\u5355\u7684\u72b6\u6001&#034;&#xff0c;Agent \u53cd\u95ee&#034;\u54ea\u4e2a\u5de5\u5355&#xff1f;&#034;\u2014\u2014\u56e0\u4e3a\u6bcf\u4e2a\u65b0\u4f1a\u8bdd\u90fd\u662f\u4e00\u5f20\u767d\u7eb8\u3002<\/p>\n<p>\u5982\u679c\u4f60\u7684 Agent \u63a5\u5165\u7684\u662f\u5ba2\u670d\u3001\u8fd0\u7ef4\u3001\u6216\u8005\u4efb\u4f55\u9700\u8981\u6301\u7eed\u670d\u52a1\u7684\u573a\u666f&#xff0c;\u8fd9\u79cd&#034;\u6bcf\u6b21\u5bf9\u8bdd\u90fd\u5931\u5fc6&#034;\u7684\u95ee\u9898&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u7528\u6237\u613f\u4e0d\u613f\u610f\u7528\u7b2c\u4e8c\u6b21\u3002<\/p>\n<h5>\u5bf9\u8bdd\u7ea7\u8bb0\u5fc6\u548c\u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u533a\u522b<\/h5>\n<p>\u5f88\u591a\u56e2\u961f\u5df2\u7ecf\u5728\u505a\u4e00\u4ef6\u4e8b&#xff1a;\u5728\u5355\u6b21\u5bf9\u8bdd\u91cc\u7ba1\u7406\u4e0a\u4e0b\u6587\u3002\u6bd4\u5982\u7528\u6ed1\u52a8\u7a97\u53e3\u622a\u65ad\u5386\u53f2\u3001\u628a\u65e7\u5bf9\u8bdd\u6458\u8981\u585e\u8fdb\u7cfb\u7edf\u63d0\u793a\u8bcd\u3001\u6216\u8005\u7528 Compaction API \u538b\u7f29\u957f\u5bf9\u8bdd\u3002\u8fd9\u4e9b\u624b\u6bb5\u89e3\u51b3\u7684\u662f&#034;\u8fd9\u6b21\u5bf9\u8bdd\u522b\u8d85 Token \u4e0a\u9650&#034;\u7684\u95ee\u9898&#xff0c;\u4f46\u89e3\u51b3\u4e0d\u4e86&#034;\u8fd9\u6b21\u5bf9\u8bdd\u8ba4\u4e0d\u51fa\u4e0a\u6b21\u5bf9\u8bdd\u7684\u4eba&#034;\u3002<\/p>\n<p>\u8fd9\u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u8bb0\u5fc6\u7ef4\u5ea6&#xff1a;<\/p>\n<ul>\n<li>\u4f1a\u8bdd\u5185\u8bb0\u5fc6&#xff08;within-thread&#xff09;&#xff1a;\u5f53\u524d\u5bf9\u8bdd\u7684\u4e0a\u4e0b\u6587&#xff0c;\u5305\u62ec\u5386\u53f2\u6d88\u606f\u3001\u4e2d\u95f4\u72b6\u6001\u3001\u5de5\u5177\u8c03\u7528\u7ed3\u679c\u3002\u5bf9\u8bdd\u7ed3\u675f\u5c31\u6e05\u7a7a\u3002<\/li>\n<li>\u8de8\u4f1a\u8bdd\u8bb0\u5fc6&#xff08;cross-thread&#xff09;&#xff1a;\u8de8\u8d8a\u591a\u6b21\u5bf9\u8bdd\u7684\u6301\u4e45\u5316\u4fe1\u606f&#xff0c;\u6bd4\u5982\u7528\u6237\u504f\u597d\u3001\u5173\u952e\u4e8b\u5b9e\u3001\u5386\u53f2\u884c\u4e3a\u3002\u5bf9\u8bdd\u7ed3\u675f&#xff0c;\u8fd9\u4e9b\u4fe1\u606f\u8fd8\u5728\u3002<\/li>\n<\/ul>\n<p>\u4f1a\u8bdd\u5185\u8bb0\u5fc6\u9760\u7684\u662f\u4e0a\u4e0b\u6587\u7a97\u53e3\u7ba1\u7406&#xff0c;\u800c\u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u9700\u8981\u7684\u662f\u4e00\u4e2a\u5b58\u50a8\u5c42\u3002\u4ee5\u524d\u8fd9\u4e2a\u5b58\u50a8\u5c42\u5f97\u81ea\u5df1\u642d\u2014\u2014\u9009\u6570\u636e\u5e93\u3001\u8bbe\u8ba1 Schema\u3001\u5199 CRUD\u3001\u8fd8\u8981\u8003\u8651\u600e\u4e48\u628a\u5b58\u8fdb\u53bb\u7684\u4e1c\u897f\u8ddf Agent \u7684\u63a8\u7406\u6d41\u7a0b\u8854\u63a5\u8d77\u6765\u3002LangGraph v0.5 \u53d1\u5e03\u7684 MemoryStore&#xff0c;\u5c31\u662f\u628a\u8fd9\u4ef6\u4e8b\u4ece&#034;\u4f60\u81ea\u5df1\u642d&#034;\u53d8\u6210\u4e86&#034;\u6846\u67b6\u5e2e\u4f60\u63a5\u597d&#034;\u3002<\/p>\n<h5>MemoryStore \u505a\u4e86\u4ec0\u4e48<\/h5>\n<p>LangGraph \u4e4b\u524d\u5df2\u7ecf\u6709 Checkpoint \u673a\u5236&#xff0c;\u7528\u6765\u4fdd\u5b58\u6bcf\u4e2a step \u7684\u6267\u884c\u72b6\u6001&#xff0c;\u652f\u6301\u65ad\u70b9\u7eed\u8dd1\u3002\u4f46 Checkpoint \u662f\u6309 thread \u9694\u79bb\u7684&#xff0c;thread A \u770b\u4e0d\u5230 thread B \u7684\u6570\u636e\u3002MemoryStore \u662f\u72ec\u7acb\u4e8e thread \u7684\u6301\u4e45\u5316\u5b58\u50a8&#xff0c;\u6240\u6709 thread \u5171\u4eab\u540c\u4e00\u4e2a store&#xff0c;\u5929\u7136\u652f\u6301\u8de8\u4f1a\u8bdd\u6570\u636e\u5171\u4eab\u3002<\/p>\n<p>\u5b83\u7684\u6838\u5fc3 API \u53ea\u6709\u4e09\u4e2a\u64cd\u4f5c&#xff1a;<\/p>\n<p>store.put(namespace, key, value)    # \u5199\u5165\u8bb0\u5fc6<br \/>\nstore.get(namespace, key)           # \u8bfb\u53d6\u5355\u6761\u8bb0\u5fc6<br \/>\nstore.search(namespace, query)      # \u641c\u7d22\u8bb0\u5fc6<\/p>\n<p>Namespace \u662f\u4e00\u4e2a\u5143\u7ec4&#xff0c;\u7528\u6765\u505a\u6570\u636e\u9694\u79bb\u3002\u6700\u5e38\u89c1\u7684\u7528\u6cd5\u662f\u6309\u7528\u6237\u9694\u79bb&#xff1a;<\/p>\n<p>store.put(<br \/>\n    namespace&#061;(&#034;user&#034;, user_id, &#034;preferences&#034;),<br \/>\n    key&#061;&#034;programming_language&#034;,<br \/>\n    value&#061;{&#034;lang&#034;: &#034;Python&#034;, &#034;framework&#034;: &#034;FastAPI&#034;}<br \/>\n)<\/p>\n<p>\u8fd9\u6837\u6bcf\u4e2a\u7528\u6237\u7684\u8bb0\u5fc6\u4e92\u4e0d\u5e72\u6270&#xff0c;\u4e0d\u540c namespace \u4e4b\u95f4\u5929\u7136\u9694\u79bb\u3002\u540c\u4e00\u4e2a namespace \u4e0b\u7684\u591a\u6761 key \u53ef\u4ee5\u6309 query \u641c\u7d22&#xff0c;\u6846\u67b6\u5185\u7f6e\u4e86\u5411\u91cf\u641c\u7d22\u80fd\u529b&#xff0c;\u4e0d\u4f9d\u8d56\u5916\u90e8\u5411\u91cf\u6570\u636e\u5e93\u3002<\/p>\n<h5>\u4ece\u5355\u6b21\u5bf9\u8bdd\u5230\u6301\u7eed\u8bb0\u5fc6\u7684\u5de5\u7a0b\u8f6c\u53d8<\/h5>\n<p>\u63a5\u5165 MemoryStore \u4e4b\u540e&#xff0c;Agent \u7684\u5de5\u4f5c\u6d41\u591a\u4e86\u4e00\u4e2a&#034;\u8bb0\u5fc6\u5c42&#034;\u3002<\/p>\n<p>\u4ee5\u524d\u4e00\u4e2a\u5178\u578b\u7684 Agent \u5faa\u73af\u662f&#xff1a;<\/p>\n<li>\u63a5\u6536\u7528\u6237\u8f93\u5165<\/li>\n<li>\u7ec4\u88c5\u4e0a\u4e0b\u6587&#xff08;\u5f53\u524d\u5bf9\u8bdd\u5386\u53f2 &#043; \u7cfb\u7edf\u63d0\u793a\u8bcd&#xff09;<\/li>\n<li>\u8c03\u7528 LLM \u83b7\u53d6\u56de\u590d<\/li>\n<li>\u5982\u679c LLM \u8bf7\u6c42\u5de5\u5177\u8c03\u7528&#xff0c;\u6267\u884c\u5de5\u5177&#xff0c;\u8fd4\u56de\u7ed3\u679c<\/li>\n<li>\u91cd\u590d 2-4<\/li>\n<p>\u63a5\u5165 MemoryStore \u4e4b\u540e&#xff0c;\u7b2c 2 \u6b65\u4e4b\u524d\u591a\u4e86\u4e00\u4e2a\u6b65\u9aa4&#xff1a;\u4ece store \u4e2d\u68c0\u7d22\u5f53\u524d\u7528\u6237\u7684\u76f8\u5173\u8bb0\u5fc6&#xff0c;\u6ce8\u5165\u5230\u4e0a\u4e0b\u6587\u4e2d\u3002\u7b2c 4 \u6b65\u5de5\u5177\u6267\u884c\u5b8c\u4e4b\u540e&#xff0c;\u5982\u679c\u4ea7\u751f\u4e86\u6709\u4ef7\u503c\u7684\u4fe1\u606f&#xff0c;\u540c\u6b65\u5199\u5165 store\u3002<\/p>\n<p>\u8fd9\u4e2a\u53d8\u5316\u770b\u8d77\u6765\u4e0d\u5927&#xff0c;\u4f46\u5bf9 Agent \u7684\u884c\u4e3a\u5f71\u54cd\u662f\u8d28\u7684&#xff1a;<\/p>\n<ul>\n<li>\u7528\u6237\u8bf4&#034;\u6309\u4e0a\u6b21\u7684\u65b9\u6848\u6765&#034;&#xff0c;Agent \u771f\u7684\u77e5\u9053&#034;\u4e0a\u6b21\u7684\u65b9\u6848&#034;\u662f\u4ec0\u4e48<\/li>\n<li>\u7528\u6237\u8bf4&#034;\u4e0d\u8981\u53d1\u90ae\u4ef6&#xff0c;\u7528 Slack \u901a\u77e5&#034;&#xff0c;Agent \u8bb0\u4f4f\u8fd9\u4e2a\u504f\u597d&#xff0c;\u4e4b\u540e\u6240\u6709\u5bf9\u8bdd\u90fd\u4e0d\u518d\u95ee<\/li>\n<li>\u7528\u6237\u8bf4&#034;\u5e2e\u6211\u67e5\u4e00\u4e0b\u6628\u5929\u90a3\u4e2a\u5f02\u5e38&#034;&#xff0c;Agent \u77e5\u9053&#034;\u6628\u5929\u90a3\u4e2a\u5f02\u5e38&#034;\u6307\u7684\u662f\u54ea\u4e2a<\/li>\n<\/ul>\n<h5>\u8bb0\u5fc6\u68c0\u7d22\u7684\u65f6\u673a\u548c\u7c92\u5ea6<\/h5>\n<p>MemoryStore \u7684 search \u65b9\u6cd5\u652f\u6301\u6309 query \u505a\u8bed\u4e49\u5339\u914d&#xff0c;\u4e0d\u662f\u7b80\u5355\u7684\u524d\u7f00\u5339\u914d\u3002\u8fd9\u610f\u5473\u7740 Agent \u53ef\u4ee5\u68c0\u7d22&#034;\u548c\u5f53\u524d\u95ee\u9898\u76f8\u5173\u7684\u8bb0\u5fc6&#034;&#xff0c;\u800c\u4e0d\u662f&#034;\u548c\u5173\u952e\u8bcd\u5b8c\u5168\u5339\u914d\u7684\u8bb0\u5fc6&#034;\u3002<\/p>\n<p>\u4f46\u8fd9\u91cc\u6709\u4e00\u4e2a\u5de5\u7a0b\u4e0a\u5bb9\u6613\u8e29\u7684\u5751&#xff1a;\u68c0\u7d22\u65f6\u673a\u3002<\/p>\n<p>\u5982\u679c\u6bcf\u8f6e\u5bf9\u8bdd\u90fd\u5168\u91cf\u68c0\u7d22&#xff0c;Token \u6d88\u8017\u4f1a\u8fc5\u901f\u81a8\u80c0\u3002\u7279\u522b\u662f\u5f53 store \u91cc\u79ef\u7d2f\u4e86\u4e0a\u767e\u6761\u8bb0\u5fc6\u65f6&#xff0c;\u628a\u6240\u6709\u8bb0\u5fc6\u4e00\u80a1\u8111\u585e\u8fdb\u4e0a\u4e0b\u6587&#xff0c;\u548c\u6ca1\u505a\u8bb0\u5fc6\u7ba1\u7406\u7684\u6548\u679c\u4e00\u6837\u5dee\u2014\u2014Token \u7167\u6837\u7206\u3002<\/p>\n<p>\u6bd4\u8f83\u597d\u7684\u505a\u6cd5\u662f\u5206\u5c42\u68c0\u7d22&#xff1a;<\/p>\n<ul>\n<li>\u9ad8\u9891\u8bb0\u5fc6&#xff1a;\u5728 Agent \u521d\u59cb\u5316\u65f6\u52a0\u8f7d&#xff0c;\u6bd4\u5982\u7528\u6237\u7684\u8bed\u8a00\u504f\u597d\u3001\u901a\u77e5\u504f\u597d\u3001\u65f6\u533a\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u4fe1\u606f\u51e0\u4e4e\u6bcf\u6b21\u5bf9\u8bdd\u90fd\u4f1a\u7528\u5230&#xff0c;\u9002\u5408\u5e38\u9a7b\u4e0a\u4e0b\u6587\u3002<\/li>\n<li>\u573a\u666f\u8bb0\u5fc6&#xff1a;\u6839\u636e\u5f53\u524d\u5bf9\u8bdd\u7684\u610f\u56fe\u89e6\u53d1\u68c0\u7d22\u3002\u6bd4\u5982\u7528\u6237\u63d0\u5230&#034;\u5de5\u5355&#034;\u65f6&#xff0c;\u624d\u53bb\u68c0\u7d22\u548c\u5386\u53f2\u5de5\u5355\u76f8\u5173\u7684\u8bb0\u5fc6\u3002<\/li>\n<li>\u4e34\u65f6\u8bb0\u5fc6&#xff1a;\u5de5\u5177\u6267\u884c\u8fc7\u7a0b\u4e2d\u4ea7\u751f\u7684\u4e2d\u95f4\u7ed3\u679c&#xff0c;\u53ea\u5728\u5f53\u524d step \u4f7f\u7528&#xff0c;\u4e0d\u9700\u8981\u6301\u4e45\u5316\u3002<\/li>\n<\/ul>\n<p>MemoryStore \u7684 namespace \u8bbe\u8ba1\u5929\u7136\u652f\u6301\u8fd9\u79cd\u5206\u5c42\u3002\u9ad8\u9891\u8bb0\u5fc6\u653e\u5728\u00a0(&#034;user&#034;, uid, &#034;profile&#034;)&#xff0c;\u573a\u666f\u8bb0\u5fc6\u653e\u5728\u00a0(&#034;user&#034;, uid, &#034;context&#034;, &#034;tickets&#034;)&#xff0c;search \u7684\u65f6\u5019\u9650\u5b9a namespace \u8303\u56f4&#xff0c;\u51cf\u5c11\u65e0\u6548\u68c0\u7d22\u3002<\/p>\n<h5>\u8bb0\u5fc6\u5199\u5165\u7684\u5224\u5b9a\u6807\u51c6<\/h5>\n<p>\u6bd4\u68c0\u7d22\u66f4\u96be\u7684&#xff0c;\u662f&#034;\u4ec0\u4e48\u65f6\u5019\u8be5\u5199\u8bb0\u5fc6&#034;\u3002<\/p>\n<p>LLM \u7684\u56de\u590d\u91cc\u5305\u542b\u5927\u91cf\u4fe1\u606f&#xff0c;\u4f46\u5e76\u4e0d\u662f\u6240\u6709\u4fe1\u606f\u90fd\u503c\u5f97\u8bb0\u4f4f\u3002\u5982\u679c\u6bcf\u8f6e\u5bf9\u8bdd\u90fd\u628a Agent \u7684\u56de\u590d\u539f\u6587\u5199\u8fdb store&#xff0c;store \u5f88\u5feb\u5c31\u4f1a\u53d8\u6210\u4e00\u5806\u5783\u573e\u6570\u636e&#xff0c;\u68c0\u7d22\u65f6\u53cd\u800c\u5f15\u5165\u566a\u58f0\u3002<\/p>\n<p>MemoryStore \u81ea\u5df1\u4e0d\u505a&#034;\u4ec0\u4e48\u503c\u5f97\u8bb0&#034;\u7684\u5224\u5b9a\u2014\u2014\u8fd9\u4e2a\u5224\u5b9a\u9700\u8981\u5e94\u7528\u5c42\u6765\u505a\u3002\u5e38\u89c1\u7684\u505a\u6cd5\u662f\u8ba9 Agent \u5728\u5b8c\u6210\u5173\u952e\u5de5\u5177\u8c03\u7528\u540e&#xff0c;\u901a\u8fc7\u4e00\u4e2a\u4e13\u95e8\u7684&#034;\u8bb0\u5fc6\u5199\u5165&#034;\u5de5\u5177\u6765\u89e6\u53d1\u5b58\u50a8&#xff1a;<\/p>\n<p>class WriteMemory(Tool):<br \/>\n    &#034;&#034;&#034;\u5f53\u53d1\u73b0\u5bf9\u540e\u7eed\u5bf9\u8bdd\u6709\u4ef7\u503c\u7684\u7528\u6237\u4fe1\u606f\u65f6&#xff0c;\u5199\u5165\u8bb0\u5fc6\u3002&#034;&#034;&#034;<br \/>\n    def execute(self, namespace: tuple, key: str, value: dict):<br \/>\n        store.put(namespace, key, value)<br \/>\n        return &#034;\u8bb0\u5fc6\u5df2\u4fdd\u5b58&#034;<\/p>\n<p>\u8fd9\u4e2a\u5de5\u5177\u7684\u8c03\u7528\u6743\u4ea4\u7ed9 LLM&#xff0c;\u7531 LLM \u5224\u65ad&#034;\u8fd9\u6761\u4fe1\u606f\u503c\u5f97\u8bb0\u4f4f&#034;\u3002\u5b9e\u9645\u6548\u679c\u53d6\u51b3\u4e8e Prompt \u4e2d\u5bf9&#034;\u4ec0\u4e48\u503c\u5f97\u8bb0&#034;\u7684\u5b9a\u4e49\u3002\u5982\u679c Prompt \u5199\u5f97\u592a\u5bbd\u6cdb&#xff0c;LLM \u4f1a\u628a\u4ec0\u4e48\u90fd\u8bb0\u8fdb\u53bb&#xff1b;\u5199\u5f97\u592a\u4e25\u683c&#xff0c;\u53c8\u53ef\u80fd\u6f0f\u6389\u5173\u952e\u4fe1\u606f\u3002<\/p>\n<p>\u4e00\u4e2a\u66f4\u53ef\u63a7\u7684\u65b9\u5f0f\u662f&#xff1a;\u5728\u5de5\u5177\u6267\u884c\u7ed3\u679c\u8fd4\u56de\u540e&#xff0c;\u5728\u5e94\u7528\u5c42\u7528\u89c4\u5219\u505a\u4e00\u6b21\u8fc7\u6ee4&#xff0c;\u53ea\u6709\u6ee1\u8db3\u6761\u4ef6\u7684\u4fe1\u606f\u624d\u5199\u5165 store\u3002\u6bd4\u5982&#034;\u7528\u6237\u660e\u786e\u8868\u8fbe\u504f\u597d&#034;\u3001&#034;\u5de5\u5177\u8fd4\u56de\u4e86\u5173\u952e\u6570\u636e&#034;\u3001&#034;\u7528\u6237\u7684\u6307\u4ee4\u5bf9\u540e\u7eed\u5bf9\u8bdd\u6709\u7ea6\u675f\u529b&#034;\u3002<\/p>\n<h5>\u8bb0\u5fc6\u7684\u66f4\u65b0\u548c\u51b2\u7a81<\/h5>\n<p>\u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u8fd8\u6709\u4e00\u4e2a\u5bb9\u6613\u88ab\u5ffd\u7565\u7684\u95ee\u9898&#xff1a;\u8bb0\u5fc6\u66f4\u65b0\u3002<\/p>\n<p>\u7528\u6237\u5728\u7b2c\u4e00\u6b21\u5bf9\u8bdd\u4e2d\u8bf4&#034;\u6211\u504f\u597d Python&#034;&#xff0c;store \u91cc\u8bb0\u4e86\u00a0{&#034;lang&#034;: &#034;Python&#034;}\u3002\u7b2c\u4e94\u6b21\u5bf9\u8bdd\u65f6\u7528\u6237\u8bf4&#034;\u6700\u8fd1\u5207\u5230 Go \u4e86&#034;&#xff0c;\u8fd9\u65f6\u5019\u5e94\u8be5\u66f4\u65b0\u8fd8\u662f\u8ffd\u52a0&#xff1f;<\/p>\n<p>MemoryStore \u7684 put \u65b9\u6cd5\u662f\u6309 key \u8986\u76d6\u7684&#xff0c;\u540c\u4e00\u4e2a key \u7684\u591a\u6b21 put \u4ee5\u6700\u540e\u4e00\u6b21\u4e3a\u51c6\u3002\u8fd9\u7b26\u5408\u5927\u591a\u6570\u573a\u666f\u7684\u9700\u6c42\u2014\u2014\u7528\u6237\u7684\u6700\u65b0\u504f\u597d\u8986\u76d6\u65e7\u504f\u597d\u3002\u4f46\u6709\u4e9b\u573a\u666f\u9700\u8981\u4fdd\u7559\u5386\u53f2\u7248\u672c&#xff0c;\u6bd4\u5982\u7528\u6237\u504f\u597d\u9891\u7e41\u53d8\u5316\u65f6&#xff0c;\u9700\u8981\u77e5\u9053\u53d8\u5316\u8f68\u8ff9\u3002<\/p>\n<p>\u8fd9\u79cd\u60c5\u51b5\u4e0b&#xff0c;\u53ef\u4ee5\u7528\u65f6\u95f4\u6233\u4f5c\u4e3a key \u7684\u4e00\u90e8\u5206&#xff0c;\u6216\u8005\u81ea\u5df1\u5728 value \u91cc\u7ef4\u62a4\u7248\u672c\u53f7\u3002MemoryStore \u672c\u8eab\u4e0d\u505a\u7248\u672c\u7ba1\u7406&#xff0c;\u8fd9\u90e8\u5206\u9700\u8981\u5e94\u7528\u5c42\u81ea\u5df1\u5904\u7406\u3002<\/p>\n<h5>\u751f\u4ea7\u73af\u5883\u7684\u4e09\u4e2a\u5173\u6ce8\u70b9<\/h5>\n<p>\u7b2c\u4e00&#xff0c;\u5b58\u50a8\u540e\u7aef\u7684\u9009\u62e9\u3002\u00a0InMemoryStore \u53ea\u9002\u5408\u5f00\u53d1\u548c\u6d4b\u8bd5\u3002\u751f\u4ea7\u73af\u5883\u9700\u8981\u5bf9\u63a5\u6301\u4e45\u5316\u5b58\u50a8&#xff0c;LangGraph \u63d0\u4f9b\u4e86\u5bf9 PostgreSQL\u3001Redis \u7b49\u540e\u7aef\u7684\u652f\u6301\u3002\u9009\u62e9\u65f6\u9700\u8981\u8003\u8651\u8de8\u7ebf\u7a0b\/\u8de8\u8fdb\u7a0b\u7684\u5e76\u53d1\u5199\u5165\u51b2\u7a81\u2014\u2014\u540c\u4e00\u4e2a\u7528\u6237\u7684\u4e24\u6b21\u5bf9\u8bdd\u53ef\u80fd\u540c\u65f6\u5199\u5165 store&#xff0c;\u9700\u8981\u505a\u597d\u4e50\u89c2\u9501\u6216\u6700\u540e\u5199\u5165\u8005\u80dc\u51fa\u7684\u7b56\u7565\u3002<\/p>\n<p>\u7b2c\u4e8c&#xff0c;\u68c0\u7d22\u7684\u5ef6\u8fdf\u9884\u7b97\u3002\u00a0MemoryStore \u7684 search \u5982\u679c\u8d70\u5411\u91cf\u68c0\u7d22&#xff0c;\u5ef6\u8fdf\u4f1a\u6bd4 key-value \u7684 get \u9ad8\u4e00\u4e2a\u6570\u91cf\u7ea7\u3002\u5728 Agent \u7684\u4e3b\u5faa\u73af\u91cc&#xff0c;\u6bcf\u4e00\u6b65\u7684\u5ef6\u8fdf\u90fd\u662f\u7d2f\u52a0\u7684\u3002\u5982\u679c\u6bcf\u6b21\u68c0\u7d22\u8bb0\u5fc6\u90fd\u8981\u7b49 200ms&#xff0c;\u5341\u6b65\u5bf9\u8bdd\u5c31\u591a\u51fa\u4e24\u79d2\u3002\u5efa\u8bae\u9ad8\u9891\u8bb0\u5fc6\u8d70 get&#xff08;\u6beb\u79d2\u7ea7&#xff09;&#xff0c;\u573a\u666f\u8bb0\u5fc6\u8d70 search&#xff08;\u53ef\u63a5\u53d7\u767e\u6beb\u79d2\u7ea7&#xff09;&#xff0c;\u5e76\u6839\u636e\u5bf9\u8bdd\u7684\u5b9e\u65f6\u6027\u8981\u6c42\u505a\u53d6\u820d\u3002<\/p>\n<p>\u7b2c\u4e09&#xff0c;\u8bb0\u5fc6\u91cf\u7684\u589e\u957f\u7ba1\u7406\u3002\u00a0\u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u4f1a\u968f\u7740\u65f6\u95f4\u6301\u7eed\u589e\u957f&#xff0c;\u4e0d\u50cf\u4f1a\u8bdd\u5185\u8bb0\u5fc6\u5728\u5bf9\u8bdd\u7ed3\u675f\u540e\u5c31\u91ca\u653e\u3002\u9700\u8981\u5b9a\u671f\u505a\u8bb0\u5fc6\u7684\u5f52\u6863\u548c\u6e05\u7406\u3002\u6bd4\u5982\u4e09\u4e2a\u6708\u524d\u7684\u7528\u6237\u504f\u597d\u5982\u679c\u518d\u4e5f\u6ca1\u6709\u88ab\u66f4\u65b0\u8fc7&#xff0c;\u53ef\u4ee5\u5f52\u6863\u5230\u51b7\u5b58\u50a8&#xff1b;\u7a7a namespace \u53ef\u4ee5\u6e05\u7406\u6389\u3002\u8fd9\u90e8\u5206\u4e0d\u662f MemoryStore \u7684\u80fd\u529b\u8303\u56f4&#xff0c;\u9700\u8981\u5728\u5e94\u7528\u5c42\u914d\u5408\u5b9a\u65f6\u4efb\u52a1\u3002<\/p>\n<h5>\u4ec0\u4e48\u65f6\u5019\u8be5\u4e0a\u8de8\u4f1a\u8bdd\u8bb0\u5fc6<\/h5>\n<p>\u4e0d\u662f\u6240\u6709 Agent \u90fd\u9700\u8981\u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u3002\u5982\u679c\u4f60\u7684 Agent \u573a\u666f\u662f&#034;\u6bcf\u6b21\u5bf9\u8bdd\u72ec\u7acb\u3001\u7528\u6237\u4e0d\u5173\u5fc3\u4e0a\u4e0b\u6587\u5ef6\u7eed&#034;&#xff0c;\u6bd4\u5982\u4e00\u6b21\u6027\u7684\u6587\u6863\u95ee\u7b54\u3001\u5355\u6b21\u4ee3\u7801\u751f\u6210&#xff0c;\u90a3\u4f1a\u8bdd\u5185\u8bb0\u5fc6\u5c31\u591f\u7528\u4e86\u3002<\/p>\n<p>\u4f46\u5982\u679c\u4f60\u6b63\u5728\u505a\u7684\u662f\u7528\u6237\u6301\u7eed\u4f7f\u7528\u7684\u670d\u52a1\u578b Agent\u2014\u2014\u5ba2\u670d\u52a9\u624b\u3001\u8fd0\u7ef4\u673a\u5668\u4eba\u3001\u4e2a\u4eba\u52a9\u7406\u3001\u5f00\u53d1\u8f85\u52a9\u2014\u2014\u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u5c31\u662f\u5fc5\u9700\u54c1\u3002\u6ca1\u6709\u5b83&#xff0c;\u7528\u6237\u6bcf\u6b21\u5bf9\u8bdd\u90fd\u8981\u91cd\u65b0\u4ea4\u4ee3\u80cc\u666f&#xff0c;\u4f53\u9a8c\u548c\u7b2c\u4e00\u7248\u804a\u5929\u673a\u5668\u4eba\u6ca1\u6709\u533a\u522b\u3002<\/p>\n<p>LangGraph MemoryStore \u7684\u4ef7\u503c\u4e0d\u5728\u4e8e\u5b83\u505a\u4e86\u4ec0\u4e48\u7279\u522b\u590d\u6742\u7684\u4e8b&#xff0c;\u800c\u5728\u4e8e\u5b83\u628a&#034;\u8de8\u4f1a\u8bdd\u8bb0\u5fc6&#034;\u8fd9\u4e2a\u539f\u672c\u9700\u8981\u81ea\u5df1\u4ece\u5934\u642d\u5efa\u7684\u80fd\u529b&#xff0c;\u53d8\u6210\u4e86\u6846\u67b6\u5185\u7684\u4e00\u7b49\u516c\u6c11\u3002\u4e09\u4e2a API \u65b9\u6cd5\u3001\u4e00\u4e2a namespace \u6982\u5ff5&#xff0c;\u63a5\u4e0a\u5c31\u80fd\u7528\u3002\u5bf9\u4e8e\u5df2\u7ecf\u5728\u7528 LangGraph \u7684\u56e2\u961f&#xff0c;\u8fd9\u662f\u4e00\u4e2a\u4f4e\u6210\u672c\u3001\u9ad8\u56de\u62a5\u7684\u5de5\u7a0b\u9009\u62e9\u2014\u2014\u524d\u63d0\u662f\u641e\u6e05\u695a\u8bb0\u5fc6\u7684\u5199\u5165\u7b56\u7565\u548c\u68c0\u7d22\u8fb9\u754c&#xff0c;\u4e0d\u8981\u4e00\u80a1\u8111\u5168\u5b58\u3001\u5168\u641c\u3002<\/p>\n<h3>\u00a0\u00a0\u8d44\u6599\u5c55\u793a<\/h3>\n<p>\u4e0b\u9762\u662f\u6211\u6574\u7406\u7684AI\u5927\u6a21\u578b\u5b66\u4e60\u8d44\u6599\u548c\u5de5\u5177\u5305\u9884\u89c8&#xff0c;\u9002\u5408\u6536\u85cf\u540e\u6309\u4e3b\u9898\u9010\u6b65\u5b66\u4e60\u3002<\/p>\n<p><img decoding=\"async\" alt=\"AI\u5927\u6a21\u578b\u8d44\u6599\u5c55\u793a 1\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260827090047-6a8ffcbf771cf.png\" \/><\/p>\n<p><img decoding=\"async\" alt=\"AI\u5927\u6a21\u578b\u8d44\u6599\u5c55\u793a 2\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260827090048-6a8ffcc053fbb.png\" \/><\/p>\n<p><img decoding=\"async\" alt=\"AI\u5927\u6a21\u578b\u8d44\u6599\u5c55\u793a 3\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260827090048-6a8ffcc0e3b10.png\" \/><\/p>\n<p>\u5982\u679c\u4f60\u60f3\u770b\u5b8c\u6574\u8d44\u6599\u76ee\u5f55&#xff0c;\u53ef\u4ee5\u5728\u8bc4\u8bba\u533a\u7559\u8a00\u300c\u8d44\u6599\u300d&#xff1b;\u4e5f\u6b22\u8fce\u544a\u8bc9\u6211\u4f60\u66f4\u5173\u6ce8AI\u5927\u6a21\u578b\u91cc\u7684\u54ea\u7c7b\u5185\u5bb9\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260827090049-6a8ffcc1bbdb3.jpg\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Agent \u6700\u8ba9\u4eba\u5934\u75bc\u7684\u95ee\u9898\u4e4b\u4e00&#xff0c;\u5c31\u662f\u5b83\\&#8221;\u4e0d\u8bb0\u4e8b\\&#8221;\u3002\u7528\u6237\u4e0a\u4e00\u8f6e\u544a\u8bc9\u4f60\\&#8221;\u6211\u504f\u597d\u7528 Python \u5199\u540e\u7aef\\&#8221;&#xff0c;\u4e0b\u4e00\u8f6e\u5bf9\u8bdd Agent \u53c8\u95ee\u4f60\\&#8221;\u4f60\u7528\u4ec0\u4e48\u8bed\u8a00\\&#8221;\u3002\u7528\u6237\u8bf4\\&#8221;\u5e2e\u6211\u67e5\u4e00\u4e0b\u4e0a\u5468\u90a3\u4e2a\u5de5\u5355\u7684\u72b6\u6001\\&#8221;&#xff0c;Agent \u53cd\u95ee\\&#8221;\u54ea\u4e2a\u5de5\u5355&#xff1f;\\&#8221;\u2014\u2014\u56e0\u4e3a\u6bcf\u4e2a\u65b0\u4f1a\u8bdd\u90fd\u662f\u4e00\u5f20\u767d\u7eb8\u3002\u5982\u679c\u4f60\u7684 Agent \u63a5\u5165\u7684\u662f\u5ba2\u670d\u3001\u8fd0\u7ef4\u3001\u6216\u8005\u4efb\u4f55\u9700\u8981\u6301\u7eed\u670d\u52a1\u7684\u573a\u666f&#xff0c;\u8fd9\u79cd\\&#8221;\u6bcf\u6b21\u5bf9\u8bdd\u90fd\u5931\u5fc6\\&#8221;\u7684\u95ee\u9898&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u7528\u6237\u613f\u4e0d\u613f\u610f\u7528\u7b2c\u4e8c\u6b21\u3002\u5bf9\u8bdd\u7ea7\u8bb0\u5fc6<\/p>\n","protected":false},"author":2,"featured_media":96453,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[50],"topic":[],"class_list":["post-96457","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-50"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Agent \u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u751f\u4ea7\u843d\u5730\uff1aLangGraph MemoryStore \u5982\u4f55\u8ba9 Agent \u8bb0\u4f4f\u4f60\u662f\u8c01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/96457.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Agent \u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u751f\u4ea7\u843d\u5730\uff1aLangGraph MemoryStore \u5982\u4f55\u8ba9 Agent \u8bb0\u4f4f\u4f60\u662f\u8c01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Agent \u6700\u8ba9\u4eba\u5934\u75bc\u7684\u95ee\u9898\u4e4b\u4e00&#xff0c;\u5c31\u662f\u5b83&quot;\u4e0d\u8bb0\u4e8b&quot;\u3002\u7528\u6237\u4e0a\u4e00\u8f6e\u544a\u8bc9\u4f60&quot;\u6211\u504f\u597d\u7528 Python \u5199\u540e\u7aef&quot;&#xff0c;\u4e0b\u4e00\u8f6e\u5bf9\u8bdd Agent \u53c8\u95ee\u4f60&quot;\u4f60\u7528\u4ec0\u4e48\u8bed\u8a00&quot;\u3002\u7528\u6237\u8bf4&quot;\u5e2e\u6211\u67e5\u4e00\u4e0b\u4e0a\u5468\u90a3\u4e2a\u5de5\u5355\u7684\u72b6\u6001&quot;&#xff0c;Agent \u53cd\u95ee&quot;\u54ea\u4e2a\u5de5\u5355&#xff1f;&quot;\u2014\u2014\u56e0\u4e3a\u6bcf\u4e2a\u65b0\u4f1a\u8bdd\u90fd\u662f\u4e00\u5f20\u767d\u7eb8\u3002\u5982\u679c\u4f60\u7684 Agent \u63a5\u5165\u7684\u662f\u5ba2\u670d\u3001\u8fd0\u7ef4\u3001\u6216\u8005\u4efb\u4f55\u9700\u8981\u6301\u7eed\u670d\u52a1\u7684\u573a\u666f&#xff0c;\u8fd9\u79cd&quot;\u6bcf\u6b21\u5bf9\u8bdd\u90fd\u5931\u5fc6&quot;\u7684\u95ee\u9898&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u7528\u6237\u613f\u4e0d\u613f\u610f\u7528\u7b2c\u4e8c\u6b21\u3002\u5bf9\u8bdd\u7ea7\u8bb0\u5fc6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/96457.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-27T09:00:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260827090047-6a8ffcbf771cf.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96457.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/96457.html\",\"name\":\"Agent \u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u751f\u4ea7\u843d\u5730\uff1aLangGraph MemoryStore \u5982\u4f55\u8ba9 Agent \u8bb0\u4f4f\u4f60\u662f\u8c01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-27T09:00:50+00:00\",\"dateModified\":\"2026-08-27T09:00:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/96457.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/96457.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96457.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent \u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u751f\u4ea7\u843d\u5730\uff1aLangGraph MemoryStore \u5982\u4f55\u8ba9 Agent \u8bb0\u4f4f\u4f60\u662f\u8c01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Agent \u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u751f\u4ea7\u843d\u5730\uff1aLangGraph MemoryStore \u5982\u4f55\u8ba9 Agent \u8bb0\u4f4f\u4f60\u662f\u8c01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/96457.html","og_locale":"zh_CN","og_type":"article","og_title":"Agent \u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u751f\u4ea7\u843d\u5730\uff1aLangGraph MemoryStore \u5982\u4f55\u8ba9 Agent \u8bb0\u4f4f\u4f60\u662f\u8c01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Agent \u6700\u8ba9\u4eba\u5934\u75bc\u7684\u95ee\u9898\u4e4b\u4e00&#xff0c;\u5c31\u662f\u5b83\"\u4e0d\u8bb0\u4e8b\"\u3002\u7528\u6237\u4e0a\u4e00\u8f6e\u544a\u8bc9\u4f60\"\u6211\u504f\u597d\u7528 Python \u5199\u540e\u7aef\"&#xff0c;\u4e0b\u4e00\u8f6e\u5bf9\u8bdd Agent \u53c8\u95ee\u4f60\"\u4f60\u7528\u4ec0\u4e48\u8bed\u8a00\"\u3002\u7528\u6237\u8bf4\"\u5e2e\u6211\u67e5\u4e00\u4e0b\u4e0a\u5468\u90a3\u4e2a\u5de5\u5355\u7684\u72b6\u6001\"&#xff0c;Agent \u53cd\u95ee\"\u54ea\u4e2a\u5de5\u5355&#xff1f;\"\u2014\u2014\u56e0\u4e3a\u6bcf\u4e2a\u65b0\u4f1a\u8bdd\u90fd\u662f\u4e00\u5f20\u767d\u7eb8\u3002\u5982\u679c\u4f60\u7684 Agent \u63a5\u5165\u7684\u662f\u5ba2\u670d\u3001\u8fd0\u7ef4\u3001\u6216\u8005\u4efb\u4f55\u9700\u8981\u6301\u7eed\u670d\u52a1\u7684\u573a\u666f&#xff0c;\u8fd9\u79cd\"\u6bcf\u6b21\u5bf9\u8bdd\u90fd\u5931\u5fc6\"\u7684\u95ee\u9898&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u7528\u6237\u613f\u4e0d\u613f\u610f\u7528\u7b2c\u4e8c\u6b21\u3002\u5bf9\u8bdd\u7ea7\u8bb0\u5fc6","og_url":"https:\/\/www.wsisp.com\/helps\/96457.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-27T09:00:50+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260827090047-6a8ffcbf771cf.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/96457.html","url":"https:\/\/www.wsisp.com\/helps\/96457.html","name":"Agent \u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u751f\u4ea7\u843d\u5730\uff1aLangGraph MemoryStore \u5982\u4f55\u8ba9 Agent \u8bb0\u4f4f\u4f60\u662f\u8c01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-27T09:00:50+00:00","dateModified":"2026-08-27T09:00:50+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/96457.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/96457.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/96457.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Agent \u8de8\u4f1a\u8bdd\u8bb0\u5fc6\u7684\u751f\u4ea7\u843d\u5730\uff1aLangGraph MemoryStore \u5982\u4f55\u8ba9 Agent \u8bb0\u4f4f\u4f60\u662f\u8c01"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=96457"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96457\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/96453"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=96457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=96457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=96457"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=96457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}