تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

agent-memory

بواسطة dennis-da-menace

AI & LLMs
13.3kالتنزيلات وفق ما يذكره clawskills.sh
14النجوم
20المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Persistent memory system for AI agents.

الوصف

ما الذي تفعله هذه المهارة

Persistent memory layer for AI agents using a local SQLite database. Stores facts, experience-based lessons, and named entities across sessions. Provides structured recall by tag, context, or search query.

Unlike in-context memory that resets each session, this persists structured facts and lessons to disk and makes them searchable by tag or context.

متى تستخدمها

  • Resuming an agent session with full context from previous runs
  • Recording lessons after a failed automation to avoid repeating mistakes
  • Tracking team members and their roles across multiple projects
  • Storing API quirks or domain facts discovered during a task
  • Loading relevant background before starting a new conversation

مثال على سير العمل

الإدخال

User asks: 'Remember that the staging API requires a special header, and log that we learned this the hard way'

الوكيل
  1. 1

    Call mem.remember() with the API header fact and a tag like 'staging-api'

  2. 2

    Call mem.learn() with action='used staging API without header', outcome='negative', insight='staging API requires X-Custom-Header'

  3. 3

    On next session start, call mem.recall('staging API') to surface the stored fact

  4. 4

    Call mem.get_lessons(context='staging-api') to retrieve the recorded lesson

الإخراج

Agent starts future sessions aware of the staging API requirement without being told again

التثبيت

clawhub install dennis-da-menace/agent-memory

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط