cognitive-memory
Implementation and troubleshooting of the Cognitive Memory (Cognify) system in Hermes Agent.
- License 许可
- MIT
- 所属仓库
- S3YED/appie-kit
- 最近更新
- 2026-08-27
- Stars
- ★ 14
- Forks
- 3
01 前言 Front Matter
- name
- cognitive-memory
- version
- 1.0.0
- description
- Implementation and troubleshooting of the Cognitive Memory (Cognify) system in Hermes Agent.
03 SKILL.md 正文
Cognitive Memory (Cognify)
The Cognitive Memory system (PR #727, codenamed "Cognify") provides Hermes Agent with semantic recall, auto-encoding, contradiction detection, and exponential forgetting.
Architecture
cognitive_memory/: Core logic (store, embeddings, recall, encoding, extraction).tools/cognitive_memory_tool.py: Agent-facingcognitive_recalltool.- Database:
~/.hermes/cognitive_memory.db(SQLite).
Setup & Configuration
Enable in ~/.hermes/config.yaml:
cognitive_memory:
enabled: true
embedding:
model: "text-embedding-3-small"
Known Issues & Workarounds
Dependency: litellm
Cognify depends on litellm. On macOS systems with Homebrew Python, you may encounter pyexpat errors related to Symbol not found: _XML_SetAllocTrackerActivationThreshold.
Fix:
export DYLD_LIBRARY_PATH=/opt/homebrew/opt/expat/lib
python3.13 -m pip install litellm --break-system-packages
Manual Installation (from PR branch)
If the system is not yet merged, files must be extracted from the cognitive-memory branch:
git fetch origin pull/727/head:cognitive-memorygit show cognitive-memory:path/to/file > path/to/file- Tools must be registered in
tools/registry.py(standard auto-discovery usually handles this ifcognitive_memory_tool.pyis in thetools/dir).
Tool usage: cognitive_recall
action='store', content='...': Saves to semantic memory.action='recall', query='...': Retrieves by meaning.action='forget', query='...': Deletes matching items.action='status': Shows database stats.
04 同仓库更多 Skills
ai-music
AI music generation and audio tools: HeartMuLa lyrics-to-music generation, songwriting craft (+ Suno prompts), and audio spectrogram/feature visualization.
agentic-webdesign-design-system-ingestion
Use v0 Design Systems 2.0, Bolt Design System Agents, or Lovable to generate production UI from a client's real design system components — not generic Tailwind. Use when building a client website where brand consistency matters.
agentic-webdesign-agent-elements
Use 21st.dev Agent Elements — 25 shadcn/ui components purpose-built for AI agent UIs. Tool cards (Bash, Edit, Search, Plan, Subagent, MCP), chat, input, streaming. Open source, shadcn-registry install, no runtime lock-in.
vercel-deployment
Deploy static sites and frontends to Vercel — handles both CLI and REST API paths, including the CLI token sanitization workaround.
software-quality-workflows
Umbrella workflow for TDD, debugging, code simplification, spikes, pre-commit review, and debugger-assisted investigation.
react-component-refactoring
Safely refactor large React components into smaller, maintainable pieces using proven patterns