Coi context window lớn là memoryTreating a big context window as memory
Đắt, chậm, vẫn mất khi hết phiên, sót phần giữa.Expensive, slow, still lost at session end, misses the middle.
Lưu ngoài, truy xuất có chọn lọc.Store externally, retrieve selectively.
Lưu mọi thứ “biết đâu cần”Saving everything “just in case”
Kho phình, truy xuất nhiễu, rủi ro dữ liệu cá nhân.Bloated store, noisy retrieval, privacy risk.
Cổng ghi có tiêu chí rõ và TTL.A write gate with clear criteria and TTLs.
Lưu trạng thái nhất thờiStoring transient state
Lần sau dùng giá cũ như sự thật.Old prices get used as fact next time.
Gọi tool lấy lại; chỉ lưu sở thích và quy tắc.Re-fetch via tool; store only preferences and rules.
Chỉ append, không xử lý fact cũAppend-only facts
Hai sự thật mâu thuẫn cùng tồn tại, model tự chọn.Two contradictory truths coexist; the model picks one.
UPDATE/DELETE, lưu thời điểm, bản mới thắng.UPDATE/DELETE, timestamps, newest wins.
Agent tự sửa proceduralAgent edits procedural memory unreviewed
Một lỗi hay một injection lặp lại ở mọi lượt.One bug or injection repeats every turn.
Agent đề xuất, người duyệt, có rollback.Agent proposes, human approves, with rollback.
Chỉ dùng vector searchVector search only
Hỏng với tên riêng, mã đơn, con số.Fails on names, order IDs, numbers.
Hybrid: keyword + vector + lọc metadata.Hybrid: keyword + vector + metadata filters.
Lọc theo user bằng promptFiltering by user in the prompt
Rò memory giữa các người dùng.Memory leaks between users.
Lọc cứng theo user/tenant ở tầng dữ liệu.Hard filter on user/tenant at the data layer.
Người dùng không xem, xoá được memoryUsers can’t see or delete memory
Mất niềm tin, vi phạm quyền về dữ liệu.Lost trust, data-rights violations.
Trang quản lý memory và lệnh “quên”.A memory page and a “forget” command.
Vector DB cho vài chục tài liệuA vector DB for a few dozen documents
Thêm hạ tầng, thêm lỗi tìm trượt, không được gì.Extra infrastructure, extra misses, no gain.
Nhét thẳng vào prompt, dùng prompt caching.Put them in the prompt with prompt caching.
Fine-tune để nạp tài liệu nội bộFine-tuning to load internal docs
Model học dữ kiện mới kém, không truy được nguồn.Models learn new facts poorly, with no citations.
Dùng retrieval; fine-tune chỉ để dạy hành vi.Use retrieval; fine-tune only for behaviour.
Dặn model “nhớ nhắc tôi” mà không có scheduler“Remind me” with no scheduler
Không ai thức dậy để nhắc.Nothing wakes up to remind anyone.
Ghi vào hệ thống lịch thật.Write to a real scheduling system.