Crawler Summary

self-memory answer-first brief

Advanced AI agent memory system with hybrid search (BM25 + vector), Cohere reranking, embedding cache, and incremental sync. ChromaDB + Ollama backed, 100% self-hosted (Cohere reranking optional). Use when managing agent long-term memory, indexing memory files, running memory health checks, or searching agent memories with hybrid retrieval. --- name: self-memory description: Advanced AI agent memory system with hybrid search (BM25 + vector), Cohere reranking, embedding cache, and incremental sync. ChromaDB + Ollama backed, 100% self-hosted (Cohere reranking optional). Use when managing agent long-term memory, indexing memory files, running memory health checks, or searching agent memories with hybrid retrieval. --- Self-Memory — Advanced Agent Memory Sy Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 4/15/2026.

Freshness

Last checked 4/15/2026

Best For

self-memory is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 94/100

self-memory

Advanced AI agent memory system with hybrid search (BM25 + vector), Cohere reranking, embedding cache, and incremental sync. ChromaDB + Ollama backed, 100% self-hosted (Cohere reranking optional). Use when managing agent long-term memory, indexing memory files, running memory health checks, or searching agent memories with hybrid retrieval. --- name: self-memory description: Advanced AI agent memory system with hybrid search (BM25 + vector), Cohere reranking, embedding cache, and incremental sync. ChromaDB + Ollama backed, 100% self-hosted (Cohere reranking optional). Use when managing agent long-term memory, indexing memory files, running memory health checks, or searching agent memories with hybrid retrieval. --- Self-Memory — Advanced Agent Memory Sy

OpenClawself-declared

Public facts

5

Change events

1

Artifacts

0

Freshness

Apr 15, 2026

Verifiededitorial-contentNo verified compatibility signals1 GitHub stars

Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 4/15/2026.

1 GitHub starsTrust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Apr 15, 2026

Vendor

Dgy197

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 4/15/2026.

Setup snapshot

git clone https://github.com/dgy197/openclaw-self-memory.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Dgy197

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Adoption (1)

Adoption signal

1 GitHub stars

profilemedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

text

Query → [BM25 keyword search] ──┐
                                 ├─ Weighted Fusion (70/30) → Cohere Rerank → Results
Query → [ChromaDB vector search]┘

bash

docker run -d --name chromadb -p 8100:8000 chromadb/chroma:latest

bash

ollama pull mxbai-embed-large

bash

pip install rank-bm25 cohere

bash

# Incremental (only changed files)
python3 scripts/chromadb-reindex.py

# Full reindex (rebuild everything)
python3 scripts/chromadb-reindex.py --force

bash

# Default (5 results, with reranking)
python3 scripts/chromadb-hybrid-search.py "keresési kifejezés"

# Custom top-N
python3 scripts/chromadb-hybrid-search.py "query" --top 10

# Without reranking
python3 scripts/chromadb-hybrid-search.py "query" --no-rerank

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Advanced AI agent memory system with hybrid search (BM25 + vector), Cohere reranking, embedding cache, and incremental sync. ChromaDB + Ollama backed, 100% self-hosted (Cohere reranking optional). Use when managing agent long-term memory, indexing memory files, running memory health checks, or searching agent memories with hybrid retrieval. --- name: self-memory description: Advanced AI agent memory system with hybrid search (BM25 + vector), Cohere reranking, embedding cache, and incremental sync. ChromaDB + Ollama backed, 100% self-hosted (Cohere reranking optional). Use when managing agent long-term memory, indexing memory files, running memory health checks, or searching agent memories with hybrid retrieval. --- Self-Memory — Advanced Agent Memory Sy

Full README

name: self-memory description: Advanced AI agent memory system with hybrid search (BM25 + vector), Cohere reranking, embedding cache, and incremental sync. ChromaDB + Ollama backed, 100% self-hosted (Cohere reranking optional). Use when managing agent long-term memory, indexing memory files, running memory health checks, or searching agent memories with hybrid retrieval.

Self-Memory — Advanced Agent Memory System

Hybrid retrieval memory layer for OpenClaw agents. Combines ChromaDB vector search with BM25 keyword search, optional Cohere reranking, embedding cache, and incremental sync.

Architecture

Query → [BM25 keyword search] ──┐
                                 ├─ Weighted Fusion (70/30) → Cohere Rerank → Results
Query → [ChromaDB vector search]┘
  • Vector search: ChromaDB + Ollama mxbai-embed-large (semantic meaning)
  • Keyword search: BM25Okapi (exact matches, error codes, function names)
  • Fusion: 70% vector + 30% BM25 weighted score
  • Reranking: Cohere rerank-v3.5 (optional, graceful fallback)
  • Cache: SHA256-based embedding cache (skip redundant Ollama calls)
  • Sync: Incremental file-hash sync (only changed files re-indexed)

Prerequisites

  1. ChromaDB running locally:

    docker run -d --name chromadb -p 8100:8000 chromadb/chroma:latest
    
  2. Ollama with embedding model:

    ollama pull mxbai-embed-large
    
  3. Python deps:

    pip install rank-bm25 cohere
    
  4. Optional: COHERE_API_KEY env var for reranking

Scripts

Reindex — scripts/chromadb-reindex.py

Index all memory files into ChromaDB with embedding cache + incremental sync.

# Incremental (only changed files)
python3 scripts/chromadb-reindex.py

# Full reindex (rebuild everything)
python3 scripts/chromadb-reindex.py --force

Features:

  • Embedding cache: tmp/embedding-cache.json — skips Ollama for unchanged chunks
  • Sync state: tmp/chromadb-sync-state.json — tracks file hashes
  • BM25 corpus: tmp/bm25-corpus.pkl — saved for hybrid search
  • Logs: X changed, Y unchanged, Z deleted

Indexed paths: MEMORY.md, SOUL.md, USER.md, IDENTITY.md, TOOLS.md, GOALS.md, AGENTS.md, HEARTBEAT.md, memory/, agents/, .learnings/

Hybrid Search — scripts/chromadb-hybrid-search.py

Search with BM25 + vector fusion + optional Cohere reranking.

# Default (5 results, with reranking)
python3 scripts/chromadb-hybrid-search.py "keresési kifejezés"

# Custom top-N
python3 scripts/chromadb-hybrid-search.py "query" --top 10

# Without reranking
python3 scripts/chromadb-hybrid-search.py "query" --no-rerank

Pipeline: 20 candidates from each search → fusion → rerank → top N results.

Benchmark — scripts/chromadb-benchmark.py

Measure search quality with standardized test queries.

# Vector-only baseline
python3 scripts/chromadb-benchmark.py --save

# Hybrid (BM25 + vector)
python3 scripts/chromadb-benchmark.py --hybrid --save

# Hybrid + Cohere reranking (best quality)
python3 scripts/chromadb-benchmark.py --hybrid --rerank --save

Metrics: Precision@3, MRR (Mean Reciprocal Rank), latency. Results saved to tmp/benchmark-*.json.

Health Check — scripts/chromadb-health.py

# Quick smoke test (for heartbeats — ~2 sec)
python3 scripts/chromadb-health.py --quick

# Full health report (weekly)
python3 scripts/chromadb-health.py

Quick mode checks (exit code 1 if any fail):

  1. ChromaDB server reachable
  2. Ollama embedding responds
  3. Collection has documents
  4. Search returns results
  5. Last reindex < 48 hours ago

Full mode adds: source coverage, query quality tests, latency benchmark, hybrid search test, overall grade (A-D).

Configuration

All scripts use these constants (edit at top of each file):

| Setting | Default | Description | |---------|---------|-------------| | CHROMA_URL | http://localhost:8000 | ChromaDB endpoint | | OLLAMA_URL | http://localhost:11434 | Ollama endpoint | | COLLECTION_ID | (your collection UUID) | ChromaDB collection | | VECTOR_WEIGHT | 0.7 | Vector score weight in fusion | | BM25_WEIGHT | 0.3 | BM25 score weight in fusion | | TOP_CANDIDATES | 20 | Candidates per search before fusion | | FINAL_RESULTS | 5 | Results after reranking | | MAX_CHUNK_SIZE | 1500 | Chars per chunk | | OVERLAP | 200 | Overlap between chunks |

Compaction Guard — scripts/compaction-guard.py

Protect against context loss during OpenClaw's automatic memory compaction. Inspired by Redis buffer approach — saves critical files before compaction wipes raw context.

# Auto backup (skips if nothing changed or too soon)
python3 scripts/compaction-guard.py

# Force backup now
python3 scripts/compaction-guard.py --force

# List existing backups
python3 scripts/compaction-guard.py --list

# Cleanup backups older than 7 days
python3 scripts/compaction-guard.py --cleanup 7

How it works:

  1. Every heartbeat, runs automatically (15-min cooldown between backups)
  2. Computes SHA256 hash of all critical files (HOT_MEMORY, WARM_MEMORY, MEMORY.md, today's log, HEARTBEAT.md)
  3. If content changed → creates timestamped backup in memory/session-backups/
  4. Each backup includes metadata (timestamp, files, hash)
  5. Weekly cleanup removes backups older than 7 days

Why this matters: OpenClaw compacts context when it gets too full, creating a summary but losing raw conversation details. This guard ensures the full state is preserved — like Redis buffer but using simple files.

Backup location: memory/session-backups/YYYYMMDD-HHMMSS/

Heartbeat Integration

Add to HEARTBEAT.md for continuous monitoring:

## EVERY heartbeat (mandatory):
- [ ] Compaction Guard: `python3 scripts/compaction-guard.py` → auto-saves session state
- [ ] ChromaDB smoke test: `python3 scripts/chromadb-health.py --quick` → if FAIL, alert!

## Rotating checks:
- [ ] ChromaDB full health (weekly): `python3 scripts/chromadb-health.py`
- [ ] ChromaDB reindex (when new memory files): `python3 scripts/chromadb-reindex.py`
- [ ] Compaction backup cleanup (weekly): `python3 scripts/compaction-guard.py --cleanup 7`

Dokumentáció

  • Részletes specifikáció: references/SPEC.md — architektúra, komponensek, adatfolyamok, roadmap
  • Memory tier rendszer: references/memory-tiers.md — HOT/WARM/COLD tier részletek

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/snapshot"
curl -s "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/contract"
curl -s "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITHUB_REPOSactivepieces

Rank

70

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Traction

No public download signal

Freshness

Updated 2d ago

OPENCLAW
GITHUB_REPOScherry-studio

Rank

70

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

Traction

No public download signal

Freshness

Updated 5d ago

MCPOPENCLAW
GITHUB_REPOSAionUi

Rank

70

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

Traction

No public download signal

Freshness

Updated 6d ago

MCPOPENCLAW
GITHUB_REPOSCopilotKit

Rank

70

The Frontend for Agents & Generative UI. React + Angular

Traction

No public download signal

Freshness

Updated 23d ago

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-17T00:42:01.964Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Dgy197",
    "href": "https://github.com/dgy197/openclaw-self-memory",
    "sourceUrl": "https://github.com/dgy197/openclaw-self-memory",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T01:13:56.632Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T01:13:56.632Z",
    "isPublic": true
  },
  {
    "factKey": "traction",
    "category": "adoption",
    "label": "Adoption signal",
    "value": "1 GitHub stars",
    "href": "https://github.com/dgy197/openclaw-self-memory",
    "sourceUrl": "https://github.com/dgy197/openclaw-self-memory",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T01:13:56.632Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/dgy197-openclaw-self-memory/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to self-memory and adjacent AI workflows.