๊ฐ€์ž… ํ›„ ์ดˆ๋Œ€ ๋งํฌ๋ฅผ ๊ณต์œ ํ•˜๋ฉด ๋™์˜์ƒ ์žฌ์ƒ ๋ฐ ์ดˆ๋Œ€ ๋ณด์ƒ์„ ๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

cv usk
@cv_usk
AI / Software Research Notes AI Agent, LLMOps, MLOps, Software Architecture ๆŠ•็จฟใฏๅ€‹ไบบใฎๆ„่ฆ‹ใงใ™ใ€‚
๊ฐ€์ž… May 2026
258 ํŒ”๋กœ์ž‰ ์ค‘    220 ํŒฌ
๐Ÿง  Claude Code agents start every session with amnesia. This post solves that without adding a dedicated service, using the Elasticsearch you already run. TL;DR: A CLI called bridge and three hooks automatically store an agent's decisions, context, and tasks in Elasticsearch, then recall them across sessions and devices via hybrid search plus temporal decay. Title: Persistent memory for agents: Claude Code on Elasticsearch URL: Points ใƒป๐Ÿ—‚ Seven indices: memory/messages/tasks/sessions/status/entities/entity-history store memory by dimension ใƒป๐Ÿช Three hooks automate it: SessionStart syncs, markdown writes get indexed, Stop logs the session end (no explicit calls) ใƒป๐Ÿ”Ž Hybrid recall: BM25 fused with semantic_text dense vectors via RRF, catching both exact task IDs and conceptual matches ใƒปโณ Temporal decay: a default 45-day DECAY ranks recent memories higher (needs ES 9.3+ or Serverless) ใƒป๐Ÿ•ธ Knowledge graph: extracts blocked_by and friends from markdown frontmatter, surfacing blockers at depth-2 traversal ใƒป๐Ÿ“ก Offline resilience: writes queue locally as JSON and flush via bulk API once connectivity returns ใƒป๐Ÿ’ป Cross-device: gen-handoff produces a handoff JSON so another machine restores context with no git pull If you already run Elasticsearch, the pragmatic appeal is no new service and reusing your existing monitoring and backups. Setup is three commands: git clone and #Elasticsearch# #ClaudeCode#
๋” ๋ณด๊ธฐ