← 返回
未分类 中文

Marrs

Memory maintenance helper for any RAG/vector database. Includes save_memory() helper, monitor and defrag script templates, hot queue support, and configurabl...
内存维护助手,适用于RAG/向量数据库。包含save_memory()辅助函数、监控和碎片整理脚本模板、热队列支持以及可配置...
agenthyjack
未分类 clawhub v1.6.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 451
下载
💾 0
安装
1
版本
#benchmarking#embedding#latest#load-test#marss#memory#performance#scalability#testing

概述

marrs

Memory maintenance helper for any RAG/vector database.

Complete Setup Guide (so it works for any user)

  1. Install via ClawHub or copy the folder.
  2. pip install requests (the only external dependency).
  3. Edit scripts/config.py with your own RAG details (examples are placeholders only).
  4. Create two scheduled jobs to run the monitor and defrag scripts (see your platform's cron/docs).
  5. Test with the example in the Basic Usage section below.

Review the three small Python scripts before use — they are short and easy to audit.

Configuration (scripts/config.py)

RAG_URL = "http://your-rag-server:port"   # ← Replace with your own
DEFAULT_COLLECTION = "memory"             # Change to your main collection
MONITOR_INTERVAL_SECONDS = 300
DEFRAG_INTERVAL_SECONDS = 86400

Basic Usage

from scripts.save_memory import save_memory

save_memory("Your content here", collection="your-collection")

What it contains

  • save_memory() helper that POSTs to your RAG /ingest endpoint
  • Template scripts for monitor and defrag (background maintenance)
  • Hot queue logic for fast retrieval of frequent items
  • Configurable defaults (you must edit them)

No hardcoded paths, no internal systems, no credentials.

Security Notes

  • Only interacts with the RAG_URL you configure.
  • Uses the 'requests' library (installed separately).
  • Prints status messages to stdout (visible in your logs).
  • The crons you create will run the scripts autonomously — only add them if you trust the code after review.
  • Recommended: run the scripts in an isolated environment first.

This package is instruction + runnable scripts. The SKILL.md accurately describes everything it contains. No private data, no keys, no tokens, no names, no locations.

Version: 1.5.0

Status: Honest metadata, declared dependency, clear audit instructions. Clean for public use.

版本历史

共 1 个版本

  • v1.6.0 当前
    2026-05-03 08:10 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Multi-Agent Status

agenthyjack
跨代理多主机OpenClaw部署的健康监控。每个代理将结构化状态报告(JSON)推送至中心位置,用于PM/监控。
★ 0 📥 408

Dial A Cron

agenthyjack
用于OpenClaw的有状态Cron系统,支持持久化内存、变更检测、智能路由、Token预算跟踪及自愈,需安装 'openclaw' 等依赖。
★ 0 📥 406

Agent Health Diagnostics

agenthyjack
诊断并修复最常见的四个OpenClaw代理故障——心跳刷屏、API速率限制级联、频道死亡循环以及内存/嵌入错误。Battl...
★ 0 📥 376