{"id":130514,"date":"2026-10-08T13:57:54","date_gmt":"2026-10-08T06:57:54","guid":{"rendered":"https:\/\/tino.vn\/blog\/?p=130514"},"modified":"2026-10-08T14:02:46","modified_gmt":"2026-10-08T07:02:46","slug":"cau-hinh-long-term-memory-cho-hermes-agent","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/cau-hinh-long-term-memory-cho-hermes-agent\/","title":{"rendered":"C\u00e1ch c\u1ea5u h\u00ecnh Long-Term Memory cho Hermes Agent b\u1eb1ng RAG v\u00e0 Vector Database"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">B\u1ea1n c\u00f3 th\u1ec3 c\u1ea5u h\u00ecnh <strong>Long-Term Memory cho Hermes Agent b\u1eb1ng OpenViking<\/strong> \u0111\u1ec3 l\u01b0u ki\u1ebfn th\u1ee9c l\u00e2u d\u00e0i, t\u00ecm l\u1ea1i th\u00f4ng tin b\u1eb1ng semantic search v\u00e0 truy xu\u1ea5t t\u00e0i li\u1ec7u theo c\u01a1 ch\u1ebf RAG. C\u00e1ch tri\u1ec3n khai c\u01a1 b\u1ea3n g\u1ed3m: c\u00e0i OpenViking tr\u00ean VPS, kh\u1edfi t\u1ea1o Embedding\/VLM, ch\u1ecdn OpenViking l\u00e0m Memory Provider trong Hermes Agent, sau \u0111\u00f3 \u0111\u01b0a t\u00e0i li\u1ec7u v\u00e0o kho d\u1eef li\u1ec7u \u0111\u1ec3 Hermes t\u00ecm l\u1ea1i khi c\u1ea7n. C\u00f9ng theo d\u00f5i b\u00e0i vi\u1ebft \u0111\u1ec3 bi\u1ebft c\u00e1ch th\u1ef1c hi\u1ec7n nh\u00e9!<\/p>\n\n\n\n<h2 id=\"Long-Term_Memory_trong_Hermes_Agent_l\u00e0_g\u00ec?\"><strong>Long-Term Memory trong Hermes Agent l\u00e0 g\u00ec?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Long-Term Memory (<strong>b\u1ed9 nh\u1edb d\u00e0i h\u1ea1n<\/strong>) l\u00e0 kh\u1ea3 n\u0103ng l\u01b0u th\u00f4ng tin quan tr\u1ecdng v\u00e0 g\u1ecdi l\u1ea1i \u1edf nh\u1eefng phi\u00ean tr\u00f2 chuy\u1ec7n sau. V\u1edbi Hermes Agent, t\u00ednh n\u0103ng n\u00e0y gi\u00fap tr\u1ee3 l\u00fd AI hi\u1ec3u b\u1ea1n ng\u00e0y c\u00e0ng r\u00f5, thay v\u00ec b\u1eaft \u0111\u1ea7u t\u1eeb con s\u1ed1 kh\u00f4ng m\u1ed7i l\u1ea7n m\u1edf l\u00ean.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">V\u00ed d\u1ee5, b\u1ea1n cung c\u1ea5p cho Hermes Agent:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>T\u00e0i li\u1ec7u s\u1ea3n ph\u1ea9m<\/li>\n\n\n\n<li>T\u00e0i li\u1ec7u k\u1ef9 thu\u1eadt<\/li>\n\n\n\n<li>Quy tr\u00ecnh n\u1ed9i b\u1ed9<\/li>\n\n\n\n<li>Th\u00f4ng tin d\u1ef1 \u00e1n<\/li>\n\n\n\n<li>Ghi ch\u00fa t\u1eeb nh\u1eefng cu\u1ed9c tr\u00f2 chuy\u1ec7n tr\u01b0\u1edbc<\/li>\n\n\n\n<li>T\u00e0i li\u1ec7u Markdown, PDF ho\u1eb7c DOCX<\/li>\n\n\n\n<li>Website ho\u1eb7c repository code<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1c n\u1ed9i dung n\u00e0y c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c l\u01b0u, l\u1eadp ch\u1ec9 m\u1ee5c v\u00e0 truy xu\u1ea5t l\u1ea1i theo ng\u1eef ngh\u0129a. Khi b\u1ea1n h\u1ecfi:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u201cD\u1ef1 \u00e1n ABC \u0111ang s\u1eed d\u1ee5ng c\u01a1 s\u1edf d\u1eef li\u1ec7u n\u00e0o?\u201d<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hermes kh\u00f4ng nh\u1ea5t thi\u1ebft ph\u1ea3i \u0111\u01b0a to\u00e0n b\u1ed9 kho t\u00e0i li\u1ec7u v\u00e0o Context Window. H\u1ec7 th\u1ed1ng Memory c\u00f3 th\u1ec3 t\u00ecm nh\u1eefng \u0111o\u1ea1n li\u00ean quan nh\u1ea5t r\u1ed3i b\u1ed5 sung ch\u00fang v\u00e0o ng\u1eef c\u1ea3nh \u0111\u1ec3 AI tr\u1ea3 l\u1eddi.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u00f3 ch\u00ednh l\u00e0 m\u1ed9t trong nh\u1eefng c\u00e1ch RAG \u0111\u01b0\u1ee3c \u1ee9ng d\u1ee5ng v\u00e0o AI Agent.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-1.png\" alt=\"Long-Term Memory trong Hermes Agent l\u00e0 g\u00ec?\" class=\"wp-image-130520\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-1.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-1-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Long-Term Memory trong Hermes Agent l\u00e0 g\u00ec?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h2 id=\"RAG_v\u00e0_Vector_Database_gi\u00fap_Hermes_Agent_ghi_nh\u1edb_nh\u01b0_th\u1ebf_n\u00e0o?\"><strong>RAG v\u00e0 Vector Database gi\u00fap Hermes Agent ghi nh\u1edb nh\u01b0 th\u1ebf n\u00e0o?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 hi\u1ec3u Long-Term Memory, b\u1ea1n ch\u1ec9 c\u1ea7n n\u1eafm 3 kh\u00e1i ni\u1ec7m ch\u00ednh.<\/p>\n\n\n\n<h3 id=\"Embedding\"><strong>Embedding<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Embedding chuy\u1ec3n n\u1ed9i dung th\u00e0nh c\u00e1c vector s\u1ed1 bi\u1ec3u di\u1ec5n \u00fd ngh\u0129a c\u1ee7a v\u0103n b\u1ea3n.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">V\u00ed d\u1ee5:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u201cC\u00e1ch backup VPS\u201d<\/li>\n\n\n\n<li>\u201cH\u01b0\u1edbng d\u1eabn sao l\u01b0u m\u00e1y ch\u1ee7\u201d<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Hai c\u00e2u s\u1eed d\u1ee5ng t\u1eeb kh\u00e1c nhau nh\u01b0ng c\u00f3 \u00fd ngh\u0129a g\u1ea7n nhau n\u00ean vector t\u01b0\u01a1ng \u1ee9ng c\u0169ng c\u00f3 xu h\u01b0\u1edbng n\u1eb1m g\u1ea7n nhau. Nh\u1edd v\u1eady, h\u1ec7 th\u1ed1ng c\u00f3 th\u1ec3 t\u00ecm th\u00f4ng tin d\u1ef1a tr\u00ean <strong>\u00fd ngh\u0129a<\/strong> thay v\u00ec ch\u1ec9 kh\u1edbp t\u1eeb kh\u00f3a.<\/p>\n\n\n\n<h3 id=\"Vector_Database\"><strong>Vector Database<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Vector Database l\u01b0u c\u00e1c vector \u0111\u01b0\u1ee3c t\u1ea1o t\u1eeb t\u00e0i li\u1ec7u. Khi ng\u01b0\u1eddi d\u00f9ng \u0111\u1eb7t c\u00e2u h\u1ecfi, c\u00e2u h\u1ecfi c\u0169ng \u0111\u01b0\u1ee3c chuy\u1ec3n th\u00e0nh vector. H\u1ec7 th\u1ed1ng sau \u0111\u00f3 t\u00ecm nh\u1eefng vector c\u00f3 \u0111\u1ed9 t\u01b0\u01a1ng \u0111\u1ed3ng cao nh\u1ea5t.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-2.png\" alt=\"RAG v\u00e0 Vector Database gi\u00fap Hermes Agent ghi nh\u1edb nh\u01b0 th\u1ebf n\u00e0o?\" class=\"wp-image-130521\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-2.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-2-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>RAG v\u00e0 Vector Database gi\u00fap Hermes Agent ghi nh\u1edb nh\u01b0 th\u1ebf n\u00e0o?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id=\"RAG\"><strong>RAG<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">RAG l\u00e0 vi\u1ebft t\u1eaft c\u1ee7a <strong>Retrieval-Augmented Generation<\/strong>. Quy tr\u00ecnh c\u00f3 th\u1ec3 h\u00ecnh dung nh\u01b0 sau:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ng\u01b0\u1eddi d\u00f9ng h\u1ecfi \u2192 t\u00ecm d\u1eef li\u1ec7u li\u00ean quan \u2192 \u0111\u01b0a d\u1eef li\u1ec7u v\u00e0o context \u2192 LLM t\u1ea1o c\u00e2u tr\u1ea3 l\u1eddi<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nh\u1edd v\u1eady, Hermes Agent c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng kho ki\u1ebfn th\u1ee9c l\u1edbn m\u00e0 kh\u00f4ng c\u1ea7n nh\u1ed3i to\u00e0n b\u1ed9 t\u00e0i li\u1ec7u v\u00e0o m\u1ed7i prompt.<\/p>\n\n\n\n<h2 id=\"Persistent_Memory_v\u00e0_Long-Term_Memory_kh\u00e1c_nhau_ra_sao?\"><strong>Persistent Memory v\u00e0 Long-Term Memory kh\u00e1c nhau ra sao?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Hermes Agent \u0111\u00e3 c\u00f3 Persistent Memory m\u1eb7c \u0111\u1ecbnh th\u00f4ng qua hai file ch\u00ednh:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Th\u00e0nh ph\u1ea7n<\/th><th>Ch\u1ee9c n\u0103ng<\/th><\/tr><tr><td><code>MEMORY.md<\/code><\/td><td>L\u01b0u ghi ch\u00fa, m\u00f4i tr\u01b0\u1eddng l\u00e0m vi\u1ec7c, quy \u01b0\u1edbc v\u00e0 th\u00f4ng tin Hermes \u0111\u00e3 h\u1ecdc<\/td><\/tr><tr><td><code>USER.md<\/code><\/td><td>L\u01b0u s\u1edf th\u00edch, phong c\u00e1ch l\u00e0m vi\u1ec7c v\u00e0 m\u1ed9t s\u1ed1 th\u00f4ng tin v\u1ec1 ng\u01b0\u1eddi d\u00f9ng<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Theo t\u00e0i li\u1ec7u Hermes Agent, MEMORY.md m\u1eb7c \u0111\u1ecbnh kho\u1ea3ng <strong>2.200 k\u00fd t\u1ef1<\/strong>, c\u00f2n USER.md kho\u1ea3ng <strong>1.375 k\u00fd t\u1ef1<\/strong>. Hai ph\u1ea7n n\u00e0y \u0111\u01b0\u1ee3c \u0111\u01b0a tr\u1ef1c ti\u1ebfp v\u00e0o system prompt khi b\u1eaft \u0111\u1ea7u phi\u00ean l\u00e0m vi\u1ec7c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u00e2y l\u00e0 c\u01a1 ch\u1ebf r\u1ea5t ph\u00f9 h\u1ee3p \u0111\u1ec3 l\u01b0u m\u1ed9t l\u01b0\u1ee3ng nh\u1ecf th\u00f4ng tin quan tr\u1ecdng. Tuy nhi\u00ean, n\u1ebfu b\u1ea1n c\u00f3 h\u00e0ng tr\u0103m t\u00e0i li\u1ec7u, h\u00e0ng ngh\u00ecn ghi ch\u00fa ho\u1eb7c nhi\u1ec1u phi\u00ean l\u00e0m vi\u1ec7c d\u00e0i, \u0111\u01b0a to\u00e0n b\u1ed9 n\u1ed9i dung v\u00e0o MEMORY.md l\u00e0 kh\u00f4ng ph\u00f9 h\u1ee3p.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Long-Term Memory d\u1ef1a tr\u00ean RAG gi\u1ea3i quy\u1ebft v\u1ea5n \u0111\u1ec1 n\u00e0y b\u1eb1ng c\u00e1ch <strong>ch\u1ec9 l\u1ea5y nh\u1eefng th\u00f4ng tin li\u00ean quan \u0111\u1ebfn c\u00e2u h\u1ecfi hi\u1ec7n t\u1ea1i<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00f3 th\u1ec3 hi\u1ec3u ng\u1eafn g\u1ecdn:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Persistent Memory = nh\u1eefng \u0111i\u1ec1u quan tr\u1ecdng c\u1ea7n nh\u1edb th\u01b0\u1eddng xuy\u00ean.<\/strong><\/li>\n\n\n\n<li><strong>RAG \/ Vector Database = kho ki\u1ebfn th\u1ee9c l\u1edbn \u0111\u1ec3 t\u00ecm l\u1ea1i khi c\u1ea7n.<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Hai c\u01a1 ch\u1ebf c\u00f3 th\u1ec3 ho\u1ea1t \u0111\u1ed9ng song song. Hermes x\u00e1c nh\u1eadn external Memory Provider \u0111\u01b0\u1ee3c b\u1ed5 sung b\u00ean c\u1ea1nh Memory m\u1eb7c \u0111\u1ecbnh thay v\u00ec b\u1eaft bu\u1ed9c thay th\u1ebf MEMORY.md v\u00e0 USER.md.<\/p>\n\n\n\n<h2 id=\"N\u00ean_d\u00f9ng_gi\u1ea3i_ph\u00e1p_n\u00e0o_\u0111\u1ec3_t\u1ea1o_Long-Term_Memory_cho_Hermes_Agent?\"><strong>N\u00ean d\u00f9ng gi\u1ea3i ph\u00e1p n\u00e0o \u0111\u1ec3 t\u1ea1o Long-Term Memory cho Hermes Agent?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Hermes Agent hi\u1ec7n h\u1ed7 tr\u1ee3 nhi\u1ec1u Memory Provider nh\u01b0:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Nh\u00e0 cung c\u1ea5p<\/th><th>Ph\u00f9 h\u1ee3p v\u1edbi ai<\/th><th>\u0110i\u1ec3m n\u1ed5i b\u1eadt<\/th><\/tr><\/thead><tbody><tr><td><strong>Honcho<\/strong><\/td><td>H\u1ec7 th\u1ed1ng nhi\u1ec1u agent<\/td><td>M\u1ea1nh \u1edf ng\u1eef c\u1ea3nh xuy\u00ean phi\u00ean v\u00e0 vi\u1ec7c \u0111\u1ed3ng b\u1ed9 gi\u1eefa ng\u01b0\u1eddi d\u00f9ng v\u1edbi agent<\/td><\/tr><tr><td><strong>OpenViking<\/strong><\/td><td>Ng\u01b0\u1eddi th\u00edch t\u1ef1 l\u01b0u tr\u1eef<\/td><td>Kh\u00f4ng c\u1ea7n c\u01a1 s\u1edf d\u1eef li\u1ec7u ngo\u00e0i, l\u01b0u k\u00fd \u1ee9c ngay trong h\u1ec7 th\u1ed1ng t\u1ec7p<\/td><\/tr><tr><td><strong>Mem0<\/strong><\/td><td>Ng\u01b0\u1eddi c\u1ea7n d\u00f9ng nhanh, c\u00f3 c\u1ea3 b\u1ea3n \u0111\u00e1m m\u00e2y l\u1eabn t\u1ef1 d\u1ef1ng<\/td><td>T\u00ecm ki\u1ebfm k\u00fd \u1ee9c c\u00f3 x\u1ebfp h\u1ea1ng l\u1ea1i k\u1ebft qu\u1ea3<\/td><\/tr><tr><td><strong>Hindsight<\/strong><\/td><td>Ng\u01b0\u1eddi mu\u1ed1n \u00edt c\u00e0i \u0111\u1eb7t ph\u1ee9c t\u1ea1p<\/td><td>C\u00f9ng ByteRover, n\u1eb1m trong nh\u00f3m gom ho\u1eb7c gi\u1ea3m b\u1edbt nhi\u1ec1u th\u00e0nh ph\u1ea7n ph\u1ee5 thu\u1ed9c nh\u1ea5t<\/td><\/tr><tr><td><strong>ByteRover<\/strong><\/td><td>L\u1eadp tr\u00ecnh vi\u00ean<\/td><td>Nh\u1edb quy\u1ebft \u0111\u1ecbnh, m\u1eabu code v\u00e0 c\u00e1ch s\u1eeda l\u1ed7i qua c\u00e1c phi\u00ean<\/td><\/tr><tr><td><strong>LanceDB<\/strong> (plugin c\u1ed9ng \u0111\u1ed3ng)<\/td><td>Ng\u01b0\u1eddi mu\u1ed1n Vector Database th\u1ef1c th\u1ee5<\/td><td>T\u00ecm ki\u1ebfm theo ng\u1eef ngh\u0129a tr\u00ean kho vector <a href=\"https:\/\/hermes-agent.nousresearch.com\/docs\/user-guide\/features\/memory-providers\" target=\"_blank\" rel=\"noopener nofollow\">Memory Providers +2<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Trong b\u00e0i h\u01b0\u1edbng d\u1eabn n\u00e0y, ch\u00fang ta s\u1ebd s\u1eed d\u1ee5ng <strong>OpenViking<\/strong>. L\u00fd do:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>H\u1ed7 tr\u1ee3 tr\u1ef1c ti\u1ebfp trong Hermes Agent;<\/li>\n\n\n\n<li>C\u00f3 th\u1ec3 self-host tr\u00ean VPS<\/li>\n\n\n\n<li>H\u1ed7 tr\u1ee3 semantic search<\/li>\n\n\n\n<li>C\u00f3 Vector Database<\/li>\n\n\n\n<li>H\u1ed7 tr\u1ee3 l\u01b0u t\u00e0i li\u1ec7u v\u00e0 URL<\/li>\n\n\n\n<li>H\u1ed7 tr\u1ee3 t\u1ef1 tr\u00edch xu\u1ea5t Memory<\/li>\n\n\n\n<li>C\u00f3 c\u1ea5u tr\u00fac knowledge tree<\/li>\n\n\n\n<li>Kh\u00f4ng b\u1eaft bu\u1ed9c ph\u1ea3i s\u1eed d\u1ee5ng d\u1ecbch v\u1ee5 Memory Cloud b\u00ean th\u1ee9 ba.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"C\u00e1ch_c\u1ea5u_h\u00ecnh_Long-Term_Memory_cho_Hermes_Agent_b\u1eb1ng_OpenViking\"><strong>C\u00e1ch c\u1ea5u h\u00ecnh Long-Term Memory cho Hermes Agent b\u1eb1ng OpenViking<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ph\u1ea7n h\u01b0\u1edbng d\u1eabn d\u01b0\u1edbi \u0111\u00e2y gi\u1ea3 \u0111\u1ecbnh:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hermes Agent \u0111\u00e3 \u0111\u01b0\u1ee3c c\u00e0i tr\u00ean VPS<\/li>\n\n\n\n<li>B\u1ea1n c\u00f3 th\u1ec3 SSH v\u00e0o VPS<\/li>\n\n\n\n<li>Hermes \u0111ang ho\u1ea1t \u0111\u1ed9ng b\u00ecnh th\u01b0\u1eddng<\/li>\n\n\n\n<li>B\u1ea1n mu\u1ed1n ch\u1ea1y OpenViking tr\u00ean c\u00f9ng VPS v\u1edbi Hermes<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1ed9t l\u01b0u \u00fd quan tr\u1ecdng l\u00e0 t\u00e0i li\u1ec7u OpenViking khuy\u1ebfn ngh\u1ecb ch\u1ea1y OpenViking trong m\u00f4i tr\u01b0\u1eddng Python ri\u00eang thay v\u00ec c\u00e0i tr\u1ef1c ti\u1ebfp c\u00e1c dependency v\u00e0o m\u00f4i tr\u01b0\u1eddng Python c\u1ee7a Hermes. Hermes k\u1ebft n\u1ed1i v\u1edbi OpenViking qua HTTP n\u00ean hai m\u00f4i tr\u01b0\u1eddng kh\u00f4ng c\u1ea7n d\u00f9ng chung package.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_1:_Ki\u1ec3m_tra_v\u00e0_c\u1eadp_nh\u1eadt_Hermes_Agent\"><strong>B\u01b0\u1edbc 1: Ki\u1ec3m tra v\u00e0 c\u1eadp nh\u1eadt Hermes Agent<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra phi\u00ean b\u1ea3n:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu mu\u1ed1n c\u1eadp nh\u1eadt b\u1ea3n Hermes hi\u1ec7n t\u1ea1i:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes update<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hermes h\u1ed7 tr\u1ee3 ch\u00ednh th\u1ee9c c\u1ea3 hai l\u1ec7nh tr\u00ean trong CLI hi\u1ec7n t\u1ea1i.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi c\u1eadp nh\u1eadt, ki\u1ec3m tra l\u1ea1i:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes --version<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-3.png\" alt=\"C\u00e1ch c\u1ea5u h\u00ecnh Long-Term Memory cho Hermes Agent b\u1eb1ng OpenViking\" class=\"wp-image-130522\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-3.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-3-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch c\u1ea5u h\u00ecnh Long-Term Memory cho Hermes Agent b\u1eb1ng OpenViking<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id=\"B\u01b0\u1edbc_2:_C\u00e0i_\u0111\u1eb7t_OpenViking_tr\u00ean_VPS\"><strong>B\u01b0\u1edbc 2: C\u00e0i \u0111\u1eb7t OpenViking tr\u00ean VPS<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1ch hi\u1ec7n \u0111\u01b0\u1ee3c OpenViking khuy\u1ebfn ngh\u1ecb l\u00e0 c\u00e0i qua <strong>uv<\/strong>. N\u1ebfu VPS ch\u01b0a c\u00f3 <strong>uv<\/strong>, ch\u1ea1y:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -LsSf https:\/\/astral.sh\/uv\/install.sh | sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3 m\u1edf l\u1ea1i phi\u00ean SSH ho\u1eb7c b\u1ed5 sung th\u01b0 m\u1ee5c binary v\u00e0o PATH n\u1ebfu c\u1ea7n:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export PATH=\"HOME\/.local\/bin:PATH\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>uv --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ti\u1ebfp theo c\u00e0i OpenViking:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>uv tool install openviking --upgrade<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1ch c\u00e0i b\u1eb1ng <strong>uv tool<\/strong> t\u1ea1o m\u00f4i tr\u01b0\u1eddng ri\u00eang cho OpenViking, gi\u00fap h\u1ea1n ch\u1ebf xung \u0111\u1ed9t dependency v\u1edbi Hermes Agent. \u0110\u00e2y c\u0169ng l\u00e0 quy tr\u00ecnh \u0111\u01b0\u1ee3c Quick Start hi\u1ec7n t\u1ea1i c\u1ee7a OpenViking khuy\u1ebfn ngh\u1ecb.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openviking-server --help<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu command hi\u1ec3n th\u1ecb b\u00ecnh th\u01b0\u1eddng, qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t c\u01a1 b\u1ea3n \u0111\u00e3 ho\u00e0n t\u1ea5t.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_3:_Kh\u1edfi_t\u1ea1o_OpenViking\"><strong>B\u01b0\u1edbc 3: Kh\u1edfi t\u1ea1o OpenViking<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi c\u00e0i \u0111\u1eb7t, ch\u1ea1y l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openviking-server init<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1ea1i giao di\u1ec7n thi\u1ebft l\u1eadp, th\u1ef1c hi\u1ec7n l\u1ea7n l\u01b0\u1ee3t:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Choose Setup mode:<\/strong> Ch\u1ecdn <code>Step-by-step setup<\/code>.<\/li>\n\n\n\n<li><strong>Embedding setup:<\/strong> Ch\u1ecdn <code>Cloud API<\/code> \u2192 <code>OpenAI<\/code>, nh\u1eadp API Key v\u00e0 s\u1eed d\u1ee5ng model <code>text-embedding-3-small<\/code> (m\u1eb7c \u0111\u1ecbnh).<\/li>\n\n\n\n<li><strong>VLM provider:<\/strong> Ch\u1ecdn <code>OpenAI Codex (Subscription)<\/code>, \u0111\u0103ng nh\u1eadp t\u00e0i kho\u1ea3n ChatGPT theo h\u01b0\u1edbng d\u1eabn v\u00e0 gi\u1eef model m\u1eb7c \u0111\u1ecbnh <code>gpt-5.6-terra<\/code>.<\/li>\n\n\n\n<li><strong>Query planner:<\/strong> Nh\u1eadp <code>N<\/code> \u0111\u1ec3 b\u1ecf qua.<\/li>\n\n\n\n<li><strong>Server &amp; auth:<\/strong> Ch\u1ecdn <code>Local (127.0.0.1)<\/code> v\u00e0 gi\u1eef c\u1ed5ng <code>1933<\/code>.<\/li>\n\n\n\n<li><strong>Save configuration?:<\/strong> Nh\u1eadp <code>y<\/code> \u0111\u1ec3 l\u01b0u.<\/li>\n\n\n\n<li><strong>Validate the setup now?:<\/strong> Nh\u1eadp <code>y<\/code> \u0111\u1ec3 ki\u1ec3m tra c\u1ea5u h\u00ecnh.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi ki\u1ec3m tra th\u00e0nh c\u00f4ng, kh\u1edfi \u0111\u1ed9ng OpenViking:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openviking-server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1eb7c \u0111\u1ecbnh, OpenViking ho\u1ea1t \u0111\u1ed9ng t\u1ea1i <code>http:\/\/127.0.0.1:1933<\/code>. H\u00e3y gi\u1eef d\u1ecbch v\u1ee5 ch\u1ea1y trong qu\u00e1 tr\u00ecnh k\u1ebft n\u1ed1i v\u00e0 s\u1eed d\u1ee5ng.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-4.png\" alt=\"C\u00e1ch c\u1ea5u h\u00ecnh Long-Term Memory cho Hermes Agent b\u1eb1ng OpenViking\" class=\"wp-image-130523\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-4.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-4-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure>\n<\/div>\n\n\n<h3 id=\"B\u01b0\u1edbc_4:_K\u1ebft_n\u1ed1i_OpenViking_v\u1edbi_Hermes_Agent\">B\u01b0\u1edbc 4: K\u1ebft n\u1ed1i OpenViking v\u1edbi Hermes Agent<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf m\u1ed9t phi\u00ean SSH kh\u00e1c v\u00e0 ch\u1ea1y:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes memory setup<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1ea1i giao di\u1ec7n c\u1ea5u h\u00ecnh, th\u1ef1c hi\u1ec7n:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Memory provider setup:<\/strong> Ch\u1ecdn <code>openviking<\/code>.<\/li>\n\n\n\n<li><strong>OpenViking connection:<\/strong> Ch\u1ecdn <code>Custom<\/code> \u0111\u1ec3 s\u1eed d\u1ee5ng OpenViking \u0111ang ch\u1ea1y tr\u00ean VPS.<\/li>\n\n\n\n<li><strong>Server endpoint:<\/strong> Nh\u1eadp <code>http:\/\/127.0.0.1:1933<\/code>.<\/li>\n\n\n\n<li><strong>OpenViking credential:<\/strong> Ch\u1ecdn <code>No API key<\/code> v\u00ec \u0111ang s\u1eed d\u1ee5ng server local ch\u01b0a b\u1eadt x\u00e1c th\u1ef1c.<\/li>\n\n\n\n<li><strong>Save OpenViking config:<\/strong> Ch\u1ecdn <code>Mirror to OpenViking store<\/code> \u0111\u1ec3 l\u01b0u c\u1ea5u h\u00ecnh cho c\u1ea3 Hermes Agent v\u00e0 OpenViking CLI.<\/li>\n\n\n\n<li><strong>OpenViking profile name:<\/strong> Nh\u1eadp <code>local<\/code> r\u1ed3i nh\u1ea5n <strong>Enter.<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu m\u00e0n h\u00ecnh hi\u1ec3n th\u1ecb:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>OpenViking memory is ready\nCreated and linked OpenViking profile.\nStart a new Hermes session to activate.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Qu\u00e1 tr\u00ecnh li\u00ean k\u1ebft c\u1ea5u h\u00ecnh \u0111\u00e3 ho\u00e0n t\u1ea5t. H\u00e3y m\u1edf phi\u00ean Hermes Agent m\u1edbi \u0111\u1ec3 k\u00edch ho\u1ea1t Memory Provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n c\u00f3 th\u1ec3 ki\u1ec3m tra b\u1eb1ng l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes memory status<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd:<\/strong> C\u1ea5u h\u00ecnh li\u00ean k\u1ebft th\u00e0nh c\u00f4ng ch\u01b0a \u0111\u1ed3ng ngh\u0129a kh\u1ea3 n\u0103ng RAG \u0111\u00e3 ho\u1ea1t \u0111\u1ed9ng \u0111\u1ea7y \u0111\u1ee7. C\u1ea7n b\u1ea3o \u0111\u1ea3m OpenViking \u0111ang ch\u1ea1y v\u00e0 Embedding \u0111\u00e3 v\u01b0\u1ee3t qua b\u01b0\u1edbc ki\u1ec3m tra tr\u01b0\u1edbc khi nh\u1eadp t\u00e0i li\u1ec7u v\u00e0 th\u1eed t\u00ecm ki\u1ebfm.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_5:_Ki\u1ec3m_tra_Memory_Provider\"><strong>B\u01b0\u1edbc 5: Ki\u1ec3m tra Memory Provider<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ea1y:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes memory status<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n c\u1ea7n th\u1ea5y OpenViking \u0111ang \u0111\u01b0\u1ee3c ch\u1ecdn l\u00e0m Memory Provider. Tuy nhi\u00ean, ch\u1ec9 nh\u00ecn tr\u1ea1ng th\u00e1i provider ch\u01b0a \u0111\u1ee7 \u0111\u1ec3 kh\u1eb3ng \u0111\u1ecbnh server OpenViking \u0111ang ph\u1ea3n h\u1ed3i b\u00ecnh th\u01b0\u1eddng.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">H\u00e3y ki\u1ec3m tra th\u00eam:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl http:\/\/127.0.0.1:1933\/health<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">v\u00e0:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openviking-server doctor<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu c\u1ea3 Hermes v\u00e0 OpenViking \u0111\u1ec1u ho\u1ea1t \u0111\u1ed9ng b\u00ecnh th\u01b0\u1eddng, ph\u1ea7n k\u1ebft n\u1ed1i c\u01a1 b\u1ea3n \u0111\u00e3 ho\u00e0n t\u1ea5t.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_6:_\u0110\u01b0a_t\u00e0i_li\u1ec7u_v\u00e0o_Vector_Database\"><strong>B\u01b0\u1edbc 6: \u0110\u01b0a t\u00e0i li\u1ec7u v\u00e0o Vector Database<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u00e2y l\u00e0 b\u01b0\u1edbc bi\u1ebfn OpenViking th\u00e0nh kho ki\u1ebfn th\u1ee9c RAG cho Hermes Agent.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">V\u00ed d\u1ee5 b\u1ea1n c\u00f3 th\u01b0 m\u1ee5c:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/home\/user\/tai-lieu\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">B\u00ean trong c\u00f3:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>san-pham.md\n\nquy-trinh.md\n\nhuong-dan.pdf\n\nfaq.docx<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>C\u00f3 th\u1ec3 nh\u1eadp to\u00e0n b\u1ed9 th\u01b0 m\u1ee5c:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ov add-resource \/home\/user\/tai-lieu \\\n\n&nbsp;&nbsp;--to viking:\/\/resources\/tai-lieu \\\n\n&nbsp;&nbsp;--wait<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Trong \u0111\u00f3, tham s\u1ed1 <strong>&#8211;wait<\/strong> y\u00eau c\u1ea7u CLI ch\u1edd qu\u00e1 tr\u00ecnh x\u1eed l\u00fd ho\u00e0n th\u00e0nh.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OpenViking s\u1ebd x\u1eed l\u00fd t\u00e0i li\u1ec7u, t\u1ea1o semantic information v\u00e0 x\u00e2y d\u1ef1ng vector index ph\u1ee5c v\u1ee5 vi\u1ec7c t\u00ecm ki\u1ebfm sau n\u00e0y.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>B\u1ea1n c\u0169ng c\u00f3 th\u1ec3 th\u00eam m\u1ed9t URL b\u1eb1ng l\u1ec7nh:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ov add-resource https:\/\/example.com\/docs \\\n\n&nbsp;&nbsp;--to viking:\/\/resources\/docs \\\n\n&nbsp;&nbsp;--wait<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ho\u1eb7c th\u00eam m\u1ed9t file:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ov add-resource .\/huong-dan.md \\\n\n&nbsp;&nbsp;--to viking:\/\/resources\/huong-dan \\\n\n&nbsp;&nbsp;--wait<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">OpenViking hi\u1ec7n h\u1ed7 tr\u1ee3 nhi\u1ec1u d\u1ea1ng d\u1eef li\u1ec7u ph\u1ed5 bi\u1ebfn nh\u01b0 TXT, Markdown, JSON, YAML, code, PDF, DOCX v\u00e0 nhi\u1ec1u lo\u1ea1i media kh\u00e1c.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-5.png\" alt=\"C\u00e1ch c\u1ea5u h\u00ecnh Long-Term Memory cho Hermes Agent b\u1eb1ng OpenViking\" class=\"wp-image-130524\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-5.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-5-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch c\u1ea5u h\u00ecnh Long-Term Memory cho Hermes Agent b\u1eb1ng OpenViking<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id=\"B\u01b0\u1edbc_7:_Ki\u1ec3m_tra_kh\u1ea3_n\u0103ng_truy_xu\u1ea5t_b\u1eb1ng_RAG\"><strong>B\u01b0\u1edbc 7: Ki\u1ec3m tra kh\u1ea3 n\u0103ng truy xu\u1ea5t b\u1eb1ng RAG<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u01b0\u1edbc ti\u00ean, th\u1eed t\u00ecm tr\u1ef1c ti\u1ebfp b\u1eb1ng OpenViking.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">V\u00ed d\u1ee5:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ov find \"Quy tr\u00ecnh backup m\u00e1y ch\u1ee7 l\u00e0 g\u00ec?\" \\\n\n&nbsp;&nbsp;--uri viking:\/\/resources\/tai-lieu<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">OpenViking s\u1ebd th\u1ef1c hi\u1ec7n semantic search v\u00e0 tr\u1ea3 l\u1ea1i nh\u1eefng n\u1ed9i dung c\u00f3 li\u00ean quan.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n c\u0169ng c\u00f3 th\u1ec3 xem c\u1ea5u tr\u00fac:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ov tree viking:\/\/resources\/tai-lieu<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ho\u1eb7c xem ph\u1ea7n overview:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ov overview viking:\/\/resources\/tai-lieu<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u00e2y l\u00e0 c\u00e1ch r\u1ea5t h\u1eefu \u00edch \u0111\u1ec3 ki\u1ec3m tra d\u1eef li\u1ec7u tr\u01b0\u1edbc khi th\u1eed tr\u1ef1c ti\u1ebfp tr\u00ean Hermes Agent.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3 m\u1edf Hermes v\u00e0 h\u1ecfi:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>D\u1ef1a tr\u00ean t\u00e0i li\u1ec7u trong OpenViking, h\u00e3y cho t\u00f4i bi\u1ebft quy tr\u00ecnh backup m\u00e1y ch\u1ee7 \u0111\u01b0\u1ee3c quy \u0111\u1ecbnh nh\u01b0 th\u1ebf n\u00e0o?<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Khi c\u1ea7n th\u00eam th\u00f4ng tin, Hermes c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng viking_search \u0111\u1ec3 t\u00ecm n\u1ed9i dung li\u00ean quan, sau \u0111\u00f3 d\u00f9ng viking_read \u0111\u1ec3 \u0111\u1ecdc s\u00e2u h\u01a1n.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u00e2y ch\u00ednh l\u00e0 lu\u1ed3ng RAG:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>C\u00e2u h\u1ecfi \u2192 Semantic Search \u2192 T\u00e0i li\u1ec7u li\u00ean quan \u2192 Context \u2192 C\u00e2u tr\u1ea3 l\u1eddi<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OpenViking c\u00f2n h\u1ed7 tr\u1ee3 c\u01a1 ch\u1ebf t\u1ea3i context theo nhi\u1ec1u c\u1ea5p \u0111\u1ed9 thay v\u00ec lu\u00f4n l\u1ea5y to\u00e0n b\u1ed9 n\u1ed9i dung:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>L0: n\u1ed9i dung t\u00f3m t\u1eaft r\u1ea5t ng\u1eafn;<\/li>\n\n\n\n<li>L1: overview chi ti\u1ebft h\u01a1n;<\/li>\n\n\n\n<li>L2: n\u1ed9i dung \u0111\u1ea7y \u0111\u1ee7.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1ch t\u1ed5 ch\u1ee9c n\u00e0y gi\u00fap gi\u1ea3m l\u01b0\u1ee3ng context kh\u00f4ng c\u1ea7n thi\u1ebft khi kho d\u1eef li\u1ec7u ng\u00e0y c\u00e0ng l\u1edbn.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_8:_Ki\u1ec3m_tra_kh\u1ea3_n\u0103ng_ghi_nh\u1edb_qua_nhi\u1ec1u_phi\u00ean\"><strong>B\u01b0\u1edbc 8: Ki\u1ec3m tra kh\u1ea3 n\u0103ng ghi nh\u1edb qua nhi\u1ec1u phi\u00ean<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">RAG t\u00e0i li\u1ec7u v\u00e0 Memory t\u1eeb h\u1ed9i tho\u1ea1i c\u00f3 li\u00ean quan nh\u01b0ng kh\u00f4ng ho\u00e0n to\u00e0n gi\u1ed1ng nhau.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 th\u1eed Long-Term Memory, h\u00e3y y\u00eau c\u1ea7u Hermes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>H\u00e3y ghi nh\u1edb trong Long-Term Memory r\u1eb1ng d\u1ef1 \u00e1n Demo \u0111ang s\u1eed d\u1ee5ng PostgreSQL v\u00e0 backend \u0111\u01b0\u1ee3c vi\u1ebft b\u1eb1ng Python.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hermes c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 viking_remember \u0111\u1ec3 l\u01b0u th\u00f4ng tin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3 k\u1ebft th\u00fac phi\u00ean l\u00e0m vi\u1ec7c v\u00e0 m\u1edf m\u1ed9t phi\u00ean m\u1edbi.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">H\u1ecfi:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>D\u1ef1 \u00e1n Demo \u0111ang s\u1eed d\u1ee5ng database v\u00e0 ng\u00f4n ng\u1eef backend n\u00e0o?<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu Memory \u0111\u00e3 \u0111\u01b0\u1ee3c l\u01b0u v\u00e0 truy xu\u1ea5t ch\u00ednh x\u00e1c, Hermes c\u00f3 th\u1ec3 t\u00ecm l\u1ea1i th\u00f4ng tin t\u1eeb OpenViking thay v\u00ec ph\u1ee5 thu\u1ed9c v\u00e0o l\u1ecbch s\u1eed h\u1ed9i tho\u1ea1i hi\u1ec7n t\u1ea1i.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OpenViking c\u0169ng h\u1ed7 tr\u1ee3 t\u1ef1 \u0111\u1ed9ng tr\u00edch xu\u1ea5t Memory khi session \u0111\u01b0\u1ee3c commit. Hermes m\u00f4 t\u1ea3 c\u00e1c nh\u00f3m d\u1eef li\u1ec7u \u0111\u01b0\u1ee3c tr\u00edch xu\u1ea5t g\u1ed3m profile, preference, entity, event, case v\u00e0 pattern.<\/p>\n\n\n\n<h2 id=\"Hermes_Agent_x\u1eed_l\u00fd_Long-Term_Memory_sau_khi_c\u1ea5u_h\u00ecnh_ra_sao?\"><strong>Hermes Agent x\u1eed l\u00fd Long-Term Memory sau khi c\u1ea5u h\u00ecnh ra sao?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Khi m\u1ed9t external Memory Provider \u0111\u01b0\u1ee3c k\u00edch ho\u1ea1t, Hermes c\u00f3 th\u1ec3 th\u1ef1c hi\u1ec7n nhi\u1ec1u b\u01b0\u1edbc t\u1ef1 \u0111\u1ed9ng trong qu\u00e1 tr\u00ecnh h\u1ed9i tho\u1ea1i. Theo ki\u1ebfn tr\u00fac hi\u1ec7n t\u1ea1i, Hermes c\u00f3 th\u1ec3:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>L\u1ea5y context t\u1eeb Memory Provider<\/li>\n\n\n\n<li>L\u00ecm c\u00e1c Memory li\u00ean quan tr\u01b0\u1edbc m\u1ed7i l\u01b0\u1ee3t<\/li>\n\n\n\n<li>\u0110\u1ed3ng b\u1ed9 n\u1ed9i dung h\u1ed9i tho\u1ea1i sang provider<\/li>\n\n\n\n<li>Tr\u00edch xu\u1ea5t Memory khi phi\u00ean k\u1ebft th\u00fac n\u1ebfu provider h\u1ed7 tr\u1ee3<\/li>\n\n\n\n<li>\u0110\u1ed3ng b\u1ed9 m\u1ed9t s\u1ed1 thao t\u00e1c Memory m\u1eb7c \u0111\u1ecbnh<\/li>\n\n\n\n<li>Cung c\u1ea5p c\u00e1c c\u00f4ng c\u1ee5 t\u00ecm ki\u1ebfm v\u00e0 qu\u1ea3n l\u00fd Memory cho Agent<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Trong khi \u0111\u00f3, MEMORY.md v\u00e0 USER.md v\u1eabn ti\u1ebfp t\u1ee5c ho\u1ea1t \u0111\u1ed9ng.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110i\u1ec3m quan tr\u1ecdng l\u00e0 Hermes kh\u00f4ng c\u1ea7n \u0111\u01b0a to\u00e0n b\u1ed9 kho ki\u1ebfn th\u1ee9c v\u00e0o prompt. Agent ch\u1ec9 c\u1ea7n truy xu\u1ea5t nh\u1eefng ph\u1ea7n ph\u00f9 h\u1ee3p v\u1edbi y\u00eau c\u1ea7u hi\u1ec7n t\u1ea1i.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-6.png\" alt=\"Hermes Agent x\u1eed l\u00fd Long-Term Memory sau khi c\u1ea5u h\u00ecnh ra sao?\" class=\"wp-image-130525\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-6.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-6-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Hermes Agent x\u1eed l\u00fd Long-Term Memory sau khi c\u1ea5u h\u00ecnh ra sao?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h2 id=\"C\u00e1ch_s\u1eed_d\u1ee5ng_Long-Term_Memory_hi\u1ec7u_qu\u1ea3\"><strong>C\u00e1ch s\u1eed d\u1ee5ng Long-Term Memory hi\u1ec7u qu\u1ea3<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 Hermes Agent truy xu\u1ea5t th\u00f4ng tin ch\u00ednh x\u00e1c v\u00e0 h\u1ea1n ch\u1ebf l\u00e3ng ph\u00ed t\u00e0i nguy\u00ean, b\u1ea1n n\u00ean:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ch\u1ec9 l\u01b0u th\u00f4ng tin quan tr\u1ecdng v\u00e0o Memory:<\/strong> \u01b0u ti\u00ean s\u1edf th\u00edch, quy \u01b0\u1edbc, quy\u1ebft \u0111\u1ecbnh, kinh nghi\u1ec7m ho\u1eb7c th\u00f4ng tin d\u1ef1 \u00e1n c\u1ea7n s\u1eed d\u1ee5ng l\u00e2u d\u00e0i.<\/li>\n\n\n\n<li><strong>\u0110\u01b0a t\u00e0i li\u1ec7u l\u1edbn v\u00e0o Resource:<\/strong> PDF, DOCX, Markdown, t\u00e0i li\u1ec7u k\u1ef9 thu\u1eadt ho\u1eb7c Knowledge Base n\u00ean \u0111\u01b0\u1ee3c l\u01b0u \u0111\u1ec3 truy xu\u1ea5t b\u1eb1ng RAG thay v\u00ec \u0111\u01b0a tr\u1ef1c ti\u1ebfp v\u00e0o Memory.<\/li>\n\n\n\n<li><strong>Chia d\u1eef li\u1ec7u theo t\u1eebng ch\u1ee7 \u0111\u1ec1:<\/strong> v\u00ed d\u1ee5 company, product, support, development \u0111\u1ec3 Hermes t\u00ecm ki\u1ebfm \u0111\u00fang ph\u1ea1m vi h\u01a1n.<\/li>\n\n\n\n<li><strong>Ki\u1ec3m tra kh\u1ea3 n\u0103ng t\u00ecm ki\u1ebfm:<\/strong> d\u00f9ng ov find \u0111\u1ec3 x\u00e1c nh\u1eadn OpenViking c\u00f3 t\u00ecm \u0111\u01b0\u1ee3c d\u1eef li\u1ec7u li\u00ean quan tr\u01b0\u1edbc khi ki\u1ec3m tra tr\u00ean Hermes.<\/li>\n\n\n\n<li><strong>H\u1ea1n ch\u1ebf l\u01b0u d\u1eef li\u1ec7u nh\u1ea1y c\u1ea3m:<\/strong> \u0111\u1eb7c bi\u1ec7t khi nhi\u1ec1u ng\u01b0\u1eddi d\u00f9ng ho\u1eb7c nhi\u1ec1u Agent c\u00f9ng truy c\u1eadp m\u1ed9t h\u1ec7 th\u1ed1ng.<\/li>\n\n\n\n<li><strong>Sao l\u01b0u \u0111\u1ecbnh k\u1ef3:<\/strong> n\u00ean backup Memory, Resource v\u00e0 c\u1ea5u h\u00ecnh OpenViking \u0111\u1ec3 tr\u00e1nh m\u1ea5t d\u1eef li\u1ec7u khi n\u00e2ng c\u1ea5p ho\u1eb7c thay \u0111\u1ed5i h\u1ec7 th\u1ed1ng.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-7.png\" alt=\"C\u00e1ch s\u1eed d\u1ee5ng Long-Term Memory hi\u1ec7u qu\u1ea3\" class=\"wp-image-130526\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-7.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/cau-hinh-long-term-memory-cho-hermes-agent-7-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure>\n<\/div>\n\n\n<h2 id=\"C\u1ea5u_h\u00ecnh_Long-Term_Memory_nhanh_tr\u00ean_VPS_Hermes_Agent_c\u1ee7a_Tino\"><strong>C\u1ea5u h\u00ecnh Long-Term Memory nhanh tr\u00ean VPS Hermes Agent c\u1ee7a Tino<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu \u0111ang s\u1eed d\u1ee5ng <strong>VPS Hermes Agent c\u1ee7a Tino<\/strong>, b\u1ea1n kh\u00f4ng c\u1ea7n c\u00e0i OpenViking th\u1ee7 c\u00f4ng b\u1eb1ng d\u00f2ng l\u1ec7nh. Ch\u1ec9 c\u1ea7n th\u1ef1c hi\u1ec7n:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>B\u01b0\u1edbc 1:<\/strong> \u0110\u0103ng nh\u1eadp v\u00e0o trang qu\u1ea3n l\u00fd VPS Hermes Agent.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>B\u01b0\u1edbc 2:<\/strong> Ch\u1ecdn m\u1ee5c <strong>Memory n\u00e2ng cao<\/strong>. Sau \u0111\u00f3, ch\u1ecdn <strong>C\u00e0i \u0111\u1eb7t OpenViking<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"513\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-2-1024x513.png\" alt=\"C\u1ea5u h\u00ecnh Long-Term Memory nhanh tr\u00ean VPS Hermes Agent c\u1ee7a Tino\" class=\"wp-image-130518\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-2-1024x513.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-2-300x150.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-2-768x385.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-2.png 1520w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u h\u00ecnh Long-Term Memory nhanh tr\u00ean VPS Hermes Agent c\u1ee7a Tino<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>B\u01b0\u1edbc 3:<\/strong> Ch\u1edd h\u1ec7 th\u1ed1ng ho\u00e0n t\u1ea5t qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t v\u00e0 c\u1ea5u h\u00ecnh.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi c\u00e0i xong, OpenViking s\u1ebd \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 m\u1edf r\u1ed9ng kh\u1ea3 n\u0103ng <strong>Long-Term Memory<\/strong>, semantic search v\u00e0 truy xu\u1ea5t d\u1eef li\u1ec7u theo c\u01a1 ch\u1ebf RAG cho Hermes Agent.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1ch n\u00e0y ph\u00f9 h\u1ee3p v\u1edbi ng\u01b0\u1eddi m\u1edbi v\u00ec kh\u00f4ng c\u1ea7n t\u1ef1 c\u00e0i m\u00f4i tr\u01b0\u1eddng Python, c\u1ea5u h\u00ecnh service hay x\u1eed l\u00fd dependency tr\u00ean VPS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>N\u1ebfu ch\u01b0a c\u00f3 VPS Hermes Agent, b\u1ea1n c\u00f3 th\u1ec3 tham kh\u1ea3o d\u1ecbch v\u1ee5 t\u1ea1i: <a href=\"https:\/\/tino.vn\/vps-hermes\">https:\/\/tino.vn\/vps-hermes<\/a><\/em><\/p>\n\n\n\n<h2 id=\"K\u1ebft_lu\u1eadn\"><strong>K\u1ebft lu\u1eadn<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Khi RAG v\u00e0 Vector Database v\u00e0o cu\u1ed9c, Hermes kh\u00f4ng c\u00f2n l\u00e0 tr\u1ee3 l\u00fd &#8220;m\u1ea5t tr\u00ed nh\u1edb&#8221; m\u00e0 tr\u1edf th\u00e0nh ng\u01b0\u1eddi c\u1ed9ng s\u1ef1 hi\u1ec3u th\u00f3i quen v\u00e0 b\u1ed1i c\u1ea3nh c\u00f4ng vi\u1ec7c c\u1ee7a b\u1ea1n. H\u00e3y b\u1eaft \u0111\u1ea7u v\u1edbi m\u1ed9t nh\u00e0 cung c\u1ea5p \u0111\u01a1n gi\u1ea3n, d\u1eb7n th\u1eed m\u1ed9t th\u00f4ng tin quan tr\u1ecdng, r\u1ed3i quan s\u00e1t kh\u1ea3 n\u0103ng ghi nh\u1edb qua v\u00e0i ng\u00e0y s\u1eed d\u1ee5ng. Khi \u0111\u00e3 quen, b\u1ea1n c\u00f3 th\u1ec3 n\u00e2ng c\u1ea5p l\u00ean gi\u1ea3i ph\u00e1p m\u1ea1nh h\u01a1n m\u00e0 kh\u00f4ng ph\u1ea3i l\u00e0m l\u1ea1i t\u1eeb \u0111\u1ea7u.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>C\u00e1c b\u00e0i vi\u1ebft li\u00ean quan:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/tino.vn\/blog\/hermes-agent-desktop\/\" target=\"_blank\" rel=\"noopener\">H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t v\u00e0 s\u1eed d\u1ee5ng Hermes Agent Desktop<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/ket-noi-google-workspace-voi-hermes-agent\/\" target=\"_blank\" rel=\"noopener\">H\u01b0\u1edbng d\u1eabn k\u1ebft n\u1ed1i Google Workspace v\u1edbi Hermes Agent\u00a0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/ket-noi-google-chat-voi-hermes-agent\/\" target=\"_blank\" rel=\"noopener\">H\u01b0\u1edbng d\u1eabn k\u1ebft n\u1ed1i Google Chat v\u1edbi Hermes Agent A-Z<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/docs\/ket-noi-slack-voi-hermes-agent\/\" target=\"_blank\" rel=\"noopener\">H\u01b0\u1edbng d\u1eabn k\u1ebft n\u1ed1i Slack v\u1edbi Hermes Agent tr\u00ean VPS Hermes<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/ket-noi-kilo-code-voi-hermes-agent\/\" target=\"_blank\" rel=\"noopener\">H\u01b0\u1edbng d\u1eabn k\u1ebft n\u1ed1i Kilo Code v\u1edbi Hermes Agent<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/docs\/ket-noi-telegram-voi-hermes-agent\/\" target=\"_blank\" rel=\"noopener\">H\u01b0\u1edbng d\u1eabn k\u1ebft n\u1ed1i Telegram v\u1edbi Hermes Agent tr\u00ean VPS Hermes<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/ket-noi-tai-khoan-zalo-ca-nhan-voi-hermes-agent\/\">H\u01b0\u1edbng d\u1eabn k\u1ebft n\u1ed1i t\u00e0i kho\u1ea3n Zalo c\u00e1 nh\u00e2n v\u1edbi Hermes Agent tr\u00ean VPS Hermes<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/docs\/ket-noi-discord-voi-hermes-agent\/\" target=\"_blank\" rel=\"noopener\">H\u01b0\u1edbng d\u1eabn k\u1ebft n\u1ed1i Discord v\u1edbi Hermes Agent tr\u00ean VPS Hermes<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/cach-lay-api-key-tren-nous-portal\/\" target=\"_blank\" rel=\"noopener\"><\/a><a href=\"https:\/\/tino.vn\/blog\/cach-viet-skill-cho-hermes-agent\/\" target=\"_blank\" rel=\"noopener\">C\u00e1ch vi\u1ebft Skill cho Hermes Agent: \u0110\u00fang chu\u1ea9n, d\u1ec5 k\u00edch ho\u1ea1t\u00a0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/hermes-agent-nen-chay-local-hay-vps\/\" target=\"_blank\" rel=\"noopener\">Hermes Agent n\u00ean ch\u1ea1y Local hay VPS?<\/a><\/li>\n<\/ul>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\"><strong>Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/strong><\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u1ebfu_d\u1ecbch_v\u1ee5_b\u1ed9_nh\u1edb_g\u1eb7p_s\u1ef1_c\u1ed1_th\u00ec_Hermes_c\u00f3_ng\u1eebng_ho\u1ea1t_\u0111\u1ed9ng_kh\u00f4ng?\">N\u1ebfu d\u1ecbch v\u1ee5 b\u1ed9 nh\u1edb g\u1eb7p s\u1ef1 c\u1ed1 th\u00ec Hermes c\u00f3 ng\u1eebng ho\u1ea1t \u0111\u1ed9ng kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Th\u01b0\u1eddng l\u00e0 kh\u00f4ng. V\u1edbi c\u00e1c Provider Memory k\u1ec3 \u1edf tr\u00ean, l\u1ed7i ch\u1ec9 \u0111\u01b0\u1ee3c ghi v\u00e0o nh\u1eadt k\u00fd v\u00e0 kh\u00f4ng ch\u1eb7n Hermes tr\u1ea3 l\u1eddi b\u1ea1n.&nbsp;<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Long-Term_Memory_c\u00f3_l\u00e0m_t\u0103ng_chi_ph\u00ed_API_kh\u00f4ng?\">Long-Term Memory c\u00f3 l\u00e0m t\u0103ng chi ph\u00ed API kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">C\u00f3 th\u1ec3. Semantic search s\u1eed d\u1ee5ng Embedding, trong khi m\u1ed9t s\u1ed1 b\u01b0\u1edbc ph\u00e2n t\u00edch ho\u1eb7c tr\u00edch xu\u1ea5t Memory c\u00f3 th\u1ec3 c\u1ea7n VLM\/LLM. Chi ph\u00ed ph\u1ee5 thu\u1ed9c v\u00e0o provider, l\u01b0\u1ee3ng t\u00e0i li\u1ec7u, s\u1ed1 l\u01b0\u1ee3t truy xu\u1ea5t v\u00e0 model \u0111\u01b0\u1ee3c ch\u1ecdn. N\u1ebfu kh\u1ed1i l\u01b0\u1ee3ng d\u1eef li\u1ec7u l\u1edbn, n\u00ean t\u00e1ch r\u00f5 Persistent Memory, Resource v\u00e0 t\u00e0i li\u1ec7u RAG \u0111\u1ec3 tr\u00e1nh x\u1eed l\u00fd d\u1eef li\u1ec7u kh\u00f4ng c\u1ea7n thi\u1ebft.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"OpenViking_c\u00f3_ph\u1ea3i_c\u00e0i_chung_m\u00f4i_tr\u01b0\u1eddng_Python_v\u1edbi_Hermes_kh\u00f4ng?\">OpenViking c\u00f3 ph\u1ea3i c\u00e0i chung m\u00f4i tr\u01b0\u1eddng Python v\u1edbi Hermes kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng. OpenViking c\u00f3 th\u1ec3 ch\u1ea1y trong m\u00f4i tr\u01b0\u1eddng ri\u00eang v\u00e0 Hermes k\u1ebft n\u1ed1i th\u00f4ng qua HTTP. T\u00e0i li\u1ec7u t\u00edch h\u1ee3p c\u00f2n khuy\u1ebfn ngh\u1ecb t\u00e1ch hai m\u00f4i tr\u01b0\u1eddng \u0111\u1ec3 tr\u00e1nh xung \u0111\u1ed9t dependency.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00f3_b\u1eaft_bu\u1ed9c_ph\u1ea3i_d\u00f9ng_Vector_Database_kh\u00f4ng?\">C\u00f3 b\u1eaft bu\u1ed9c ph\u1ea3i d\u00f9ng Vector Database kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng. N\u1ebfu ch\u1ec9 c\u1ea7n nh\u1edb m\u1ed9t v\u00e0i th\u00f4ng tin quan tr\u1ecdng, Persistent Memory m\u1eb7c \u0111\u1ecbnh c\u00f3 th\u1ec3 \u0111\u00e1p \u1ee9ng. Vector Database ph\u00f9 h\u1ee3p h\u01a1n khi c\u1ea7n t\u00ecm ki\u1ebfm trong l\u01b0\u1ee3ng d\u1eef li\u1ec7u l\u1edbn.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u1ebfu d\u1ecbch v\u1ee5 b\u1ed9 nh\u1edb g\u1eb7p s\u1ef1 c\u1ed1 th\u00ec Hermes c\u00f3 ng\u1eebng ho\u1ea1t \u0111\u1ed9ng kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Th\u01b0\u1eddng l\u00e0 kh\u00f4ng. V\u1edbi c\u00e1c Provider Memory k\u1ec3 \u1edf tr\u00ean, l\u1ed7i ch\u1ec9 \u0111\u01b0\u1ee3c ghi v\u00e0o nh\u1eadt k\u00fd v\u00e0 kh\u00f4ng ch\u1eb7n Hermes tr\u1ea3 l\u1eddi b\u1ea1n.&nbsp;<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Long-Term Memory c\u00f3 l\u00e0m t\u0103ng chi ph\u00ed API kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>C\u00f3 th\u1ec3. Semantic search s\u1eed d\u1ee5ng Embedding, trong khi m\u1ed9t s\u1ed1 b\u01b0\u1edbc ph\u00e2n t\u00edch ho\u1eb7c tr\u00edch xu\u1ea5t Memory c\u00f3 th\u1ec3 c\u1ea7n VLM\/LLM. Chi ph\u00ed ph\u1ee5 thu\u1ed9c v\u00e0o provider, l\u01b0\u1ee3ng t\u00e0i li\u1ec7u, s\u1ed1 l\u01b0\u1ee3t truy xu\u1ea5t v\u00e0 model \u0111\u01b0\u1ee3c ch\u1ecdn. N\u1ebfu kh\u1ed1i l\u01b0\u1ee3ng d\u1eef li\u1ec7u l\u1edbn, n\u00ean t\u00e1ch r\u00f5 Persistent Memory, Resource v\u00e0 t\u00e0i li\u1ec7u RAG \u0111\u1ec3 tr\u00e1nh x\u1eed l\u00fd d\u1eef li\u1ec7u kh\u00f4ng c\u1ea7n thi\u1ebft.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"OpenViking c\u00f3 ph\u1ea3i c\u00e0i chung m\u00f4i tr\u01b0\u1eddng Python v\u1edbi Hermes kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng. OpenViking c\u00f3 th\u1ec3 ch\u1ea1y trong m\u00f4i tr\u01b0\u1eddng ri\u00eang v\u00e0 Hermes k\u1ebft n\u1ed1i th\u00f4ng qua HTTP. T\u00e0i li\u1ec7u t\u00edch h\u1ee3p c\u00f2n khuy\u1ebfn ngh\u1ecb t\u00e1ch hai m\u00f4i tr\u01b0\u1eddng \u0111\u1ec3 tr\u00e1nh xung \u0111\u1ed9t dependency.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00f3 b\u1eaft bu\u1ed9c ph\u1ea3i d\u00f9ng Vector Database kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng. N\u1ebfu ch\u1ec9 c\u1ea7n nh\u1edb m\u1ed9t v\u00e0i th\u00f4ng tin quan tr\u1ecdng, Persistent Memory m\u1eb7c \u0111\u1ecbnh c\u00f3 th\u1ec3 \u0111\u00e1p \u1ee9ng. Vector Database ph\u00f9 h\u1ee3p h\u01a1n khi c\u1ea7n t\u00ecm ki\u1ebfm trong l\u01b0\u1ee3ng d\u1eef li\u1ec7u l\u1edbn.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>B\u1ea1n c\u00f3 th\u1ec3 c\u1ea5u h\u00ecnh Long-Term Memory cho Hermes Agent b\u1eb1ng OpenViking \u0111\u1ec3 l\u01b0u ki\u1ebfn th\u1ee9c l\u00e2u d\u00e0i, t\u00ecm l\u1ea1i th\u00f4ng tin b\u1eb1ng semantic search v\u00e0 truy xu\u1ea5t t\u00e0i li\u1ec7u theo c\u01a1 ch\u1ebf RAG. C\u00e1ch tri\u1ec3n khai c\u01a1 b\u1ea3n g\u1ed3m: c\u00e0i OpenViking tr\u00ean VPS, kh\u1edfi t\u1ea1o Embedding\/VLM, ch\u1ecdn OpenViking l\u00e0m Memory Provider trong Hermes Agent, [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":130527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7592],"tags":[7593],"class_list":["post-130514","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hermes-agent","tag-hermes-agent"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=130514"}],"version-history":[{"count":6,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130514\/revisions"}],"predecessor-version":[{"id":130530,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130514\/revisions\/130530"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/130527"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=130514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=130514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=130514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}