ouyang
بواسطة ttboy
Coding Agents & IDEsموجز
Local RAG system for agent memory using ChromaDB and sentence-transformers.
الوصف
ما الذي تفعله هذه المهارة
Local RAG system that gives AI agents persistent memory across sessions. Uses ChromaDB for vector storage and sentence-transformers for local embeddings. Indexes session logs, daily notes, and markdown files for semantic search.
Runs entirely on local hardware with no external API calls, so memory stays private and works offline.
متى تستخدمها
- Searching past conversations before answering a question
- Indexing daily notes so decisions persist across restarts
- Resuming context after an agent session ends and restarts
- Building a searchable log from agent session history
- Scheduling automatic memory updates every few hours via cron
مثال على سير العمل
User asks: 'What did we decide about the API design last week?'
- 1
Run
recall 'API design decisions' --jsonto query ChromaDB - 2
Retrieve top matching chunks from indexed session digests
- 3
Include relevant context in the response to the user
Agent responds with relevant past decisions pulled from indexed memory files
التثبيت
clawhub install ttboy/ouyangشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.