Skip to main content

agentdb-remember

Store a memory in AgentDB — an episode (task + outcome + critique), a pattern, or a skill. Use when the user says "remember this", "save this for later", "add to memory", or when the agent has just succeeded/failed at a task and the lesson is worth keeping.

소스 정보

저장소
ruvnet/agentdb
최근 소스 활동
2026년 5월 6일 15:22
감지된 SKILL.md 언어
영어
스타
89
포크
14

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
agentdb-remember
description
Store a memory in AgentDB — an episode (task + outcome + critique), a pattern, or a skill. Use when the user says "remember this", "save this for later", "add to memory", or when the agent has just succeeded/failed at a task and the lesson is worth keeping.
# Remember Persist a memory into AgentDB so a future session can recall it. Three flavors — pick the right one for what's being remembered: ## When to use which | User phrasing | Use | |---|---| | "remember that X works for Y" | **Pattern** — `agentdb_pattern_store` | | "save what happened when I tried X" | **Episode (Reflexion)** — `agentdb_reflexion_store` | | "this is a reusable approach for problem X" | **Skill** — `agentdb_skill_create` | ## Pattern (most common) ``` agentdb_pattern_store( content: "JWT refresh token rotation pattern: ...", metadata: { topic, project, success: true } ) ``` Use for facts, conventions, anti-patterns, or anything that should resurface as a hint when a similar query comes up later. ## Episode ``` agentdb_reflexion_store( sessionId: <session>, task: <what we were trying to do>, input: <what we tried>, output: <what happened>, critique: <what we'd do differently>, reward: 0..1, success: true|false ) ``` Use right after a task completes — success OR failure. Failed episodes feed `getCritiqueSummary`; successful ones feed `getSuccessStrategies`. ## Skill ``` agentdb_skill_create( name: <short verb-noun>, description: <what it does>, precondition: <when to use>, action: <how to do it>, outcome: <what success looks like> ) ``` Use when a pattern has been validated 3+ times and you want it elevated to a first-class reusable skill (queryable by intent embedding). ## Don't - Don't store secrets, API keys, or PII. AgentDB has no built-in redaction. The agentdb-aidefence plugin (separate) handles that — without it, treat the .rvf as containing whatever you put in it. - Don't store huge blobs. The pattern store is for retrieval signals, not file storage. Use a real blob store + put the URL in metadata. - Don't store low-quality patterns to "be safe" — recall quality degrades fast under noise. If reward < 0.3, prune it on the next consolidation pass.
GitHub에서 보기