AGENT SKILL

claudiodrews--memory-os

Hệ thống bộ nhớ 7 lớp chạy local dành cho AI agent — SQLite + Qdrant + Fabric, zero cloud dependency. Agent nhớ project, decision, reasoning pattern xuyên session.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 13
Forks
2

01 前言 Front Matter

name
claudiodrews--memory-os
description
Hệ thống bộ nhớ 7 lớp chạy local dành cho AI agent — SQLite + Qdrant + Fabric, zero cloud dependency. Agent nhớ project, decision, reasoning pattern xuyên session.
allowed-tools
Bash, Read, Write
user-invocable
true

03 SKILL.md 正文

Memory OS biến Hermes Agent (hoặc bất kỳ LLM agent nào) thành collaborator dài hạn: nhớ đủ thứ giữa các session mà không cần cloud, không vendor lock-in.

7 Lớp Kiến Trúc

Layer 1 — Workspace Files
  MEMORY.md, USER.md, CREATIVE.md inject vào system prompt mỗi turn

Layer 2 — Session History
  SQLite + FTS5 full-text search — archive toàn bộ conversation

Layer 3 — Structured Facts
  Entity resolution + trust scoring + auto feedback loop

Layer 4 — Fabric (Cross-Session Extraction)
  LLM-powered summarization, 16 tools: fabric_recall, fabric_write, fabric_brief

Layer 5 — Vector Database
  Qdrant 4096-dim cosine + BM25 sparse, fallback: hybrid→dense→lexical→SQLite
  Weekly decay scan + semantic dedup (cosine > 0.92)

Layer 6 — Auto-Curated Wiki
  Self-organizing knowledge vault: concepts, entities, comparisons → Qdrant

Layer 7 — Ground Truth Hierarchy
  SOUL.md + rulebook.md — injected memory = authoritative
  Ngăn agent re-discover context đã có → tiết kiệm token

Install

# One-command setup — Docker orchestrate Qdrant + Redis + ARQ worker
curl -fsSL https://raw.githubusercontent.com/ClaudioDrews/memory-os/main/install.sh -o /tmp/memory-os-install.sh
# Inspect first: head -40 /tmp/memory-os-install.sh — then run if safe:
bash /tmp/memory-os-install.sh

Core Tools (Fabric Layer)

fabric_recall(query, n=5)     # semantic search memory
fabric_write(content, tags)   # lưu fact mới
fabric_brief(session_id)      # summarize session → store

Tích Hợp

# Compatible với bất kỳ LLM provider nào Hermes support
# OpenRouter, OpenAI, Anthropic, Ollama, local models

# Databases:
# state.db — session history
# memory_store.db — facts + HRR (hierarchical relation)
# Qdrant — semantic vectors

So Với Alternatives

Feature Memory OS mem0 Zep Letta
Fully local ✅ ❌ ❌ ❌
Ground Truth layer ✅ ❌ ❌ ❌
Trust-scored facts ✅ ❌ ✅ ❌
Self-curating wiki ✅ ❌ ❌ ❌
No subscription ✅ ❌ ❌ ❌

Layer 7 — Quan Trọng Nhất

Nếu không có Ground Truth ranking: agent bỏ qua injected context, gọi API tìm lại thứ đã có trong prompt → waste token + slow. Layer 7 force agent treat injected memory là authoritative source.

Source

https://github.com/ClaudioDrews/memory-os · MIT

04 同仓库更多 Skills

Horonomos-laps
Horonomos-laps/Yana-AI

openai--sentry--sentry

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ito-basket-compare

Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-network-traffic-baselining

Build network traffic baselines from NetFlow/IPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly/daily traffic pattern profiling

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

detecting-evasion-techniques-in-endpoint-logs

Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-microsegmentation-with-guardicore

Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ramdisk-tmpfs-patterns

暂无简介

★ 13