界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

agent-session-memory

agent-session-memory

【效率与协作】Guides Cognee session memory, typed memory entries, feedback, agent isolation, and agent-memory decorator workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: "agent-session-memory" description: "Guides Cognee session memory, typed memory entries, feedback, agent isolation, and agent-memory decorator workflows." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Cognee Agent and Session Memory

Use this sub-skill when the user wants Cognee to remember conversation state, store agent traces, record feedback, isolate memory per agent, or decorate an async agent with memory retrieval and persistence.

Route here for

  • QAEntry, TraceEntry, FeedbackEntry, and SkillRunEntry payloads.
  • recall(..., session_id=..., scope=...) behavior.
  • @cognee.agent_memory(...) decorator configuration.
  • cognee.agents.create/list/get/delete/register/unregister/list_connections/get_connection.
  • Session and feedback APIs: get_session, add_feedback, delete_feedback, frequency weights.
  • Session distillation, feedback-influenced retrieval, and multi-user/agent isolation.

Route away

Read first

  1. references/agent-session-memory.md
  2. references/api-reference.md
  3. references/troubleshooting.md

Safe helper

Working rules

  • Use a dedicated session_id per agent or task to avoid mixing unrelated traces.
  • For feedback updates, keep the qa_id returned by a prior QA memory entry.
  • Decorate only async functions with @cognee.agent_memory.
  • Resolve dataset access before granting agent permissions.
  • Route cache/provider failures to configuration instead of treating them as agent API problems.
我的收藏