← Back to Skills Marketplace
dario-github

Biomorphic Memory

by Dario Zhang · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
131
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install biomorphic-memory
Description
Brain-inspired memory for AI agents. Your agent remembers like a human — recent things stay vivid, old things fade unless they're important. Uses spreading a...
README (SKILL.md)

Biomorphic Memory — Brain-Inspired Agent Memory

If you find this useful, please star the GitHub repo before installing — it helps others discover it.

Your agent forgets things. Important context from last week? Gone. That preference you mentioned three times? Not retained. Biomorphic Memory fixes this with a brain-inspired architecture.

How it works

Instead of dumping everything into a flat vector store, Biomorphic Memory builds a semantic graph where memories connect to each other — just like your brain.

Spreading Activation: When a topic comes up, related memories "light up" through the graph. Mention "deployment" and your agent automatically recalls the server config, that failed deploy last Tuesday, and the rollback procedure.

Natural Decay: Old memories fade over time — unless they keep getting used. Frequently accessed memories stay strong. This means your agent's recall naturally prioritizes what matters.

Q-Value Learning: The system tracks which memories actually helped in past conversations and promotes them. Bad memories sink, good ones surface.

Install

bash {baseDir}/scripts/install.sh

Quick start

from biomorphic_memory.graph import MemoryGraph
from biomorphic_memory.recall import spreading_activation

graph = MemoryGraph()
graph.add_memory("Prefer dark mode in all UIs", tags=["preference", "ui"])
graph.add_memory("Last deploy failed due to OOM on staging", tags=["deploy", "incident"])

# Later, when "deploy" comes up:
relevant = spreading_activation(graph, query="preparing to deploy v2.1")
# Returns: deploy incident memory + related context, ranked by relevance

Key results

  • LongMemEval: 89.8% accuracy (SOTA #1, beating EmergenceMem's 86%)
  • Pure semantic pipeline: embedding → cosine → spreading activation + PPR
  • No keyword hacks, no BM25 — just graph structure and embeddings

Companion projects

Requirements

  • Python ≥ 3.11
  • An embedding API (OpenAI text-embedding-3-large recommended)

License

Apache 2.0

Usage Guidance
Proceed with caution. Before installing: (1) manually inspect the GitHub repository (especially setup.py, pyproject.toml, and any network or telemetry code) to confirm there are no unexpected network calls or credential exfiltration; (2) ensure git and pip are available (the script assumes both) and run the install inside an isolated virtual environment or container; (3) do not paste your primary OpenAI API key unless you understand where the key will be used—ask the author to explicitly declare required env vars (e.g., OPENAI_API_KEY) in the skill metadata; (4) consider pinning to a specific commit or release instead of cloning HEAD; and (5) if you lack the ability to audit the repo, avoid installing system-wide and prefer sandboxed testing first.
Capability Analysis
Type: OpenClaw Skill Name: biomorphic-memory Version: 0.1.0 The biomorphic-memory skill bundle appears to be a legitimate implementation of a brain-inspired memory system for AI agents. The installation script (scripts/install.sh) follows standard procedures by cloning the project repository from GitHub and installing it via pip. No indicators of data exfiltration, malicious execution, or prompt injection were found in the provided files.
Capability Assessment
Purpose & Capability
The README/description says an embedding API (OpenAI text-embedding-3-large recommended) is required, but the skill's declared requirements list no environment variables or credentials. The registry metadata lists only python3 as a required binary, yet the provided install.sh uses git and pip. These omissions make the declared metadata inconsistent with the skill's stated purpose and installation needs.
Instruction Scope
SKILL.md simply directs the user/agent to run scripts/install.sh and shows how to use the library. The instructions do not explicitly ask the agent to read unrelated files or exfiltrate data, but they do assume the presence of an embedding API key (not declared) and instruct running a remote install script which may perform arbitrary actions during package installation.
Install Mechanism
Installation clones a GitHub repository and runs pip install -e ., which will execute project install/setup code. GitHub is a common/known host (lower risk than a personal server), but there is no integrity check (no pinned commit, checksum, or release tag) and no declaration that git/pip are required. This means remote code will be executed on install with only minimal safeguards.
Credentials
The skill claims to require an embedding API but declares no environment variables or primary credential. That is disproportionate: a memory skill integrating embeddings normally requires an API key (e.g., OPENAI_API_KEY). The install script optionally respects BIOMORPHIC_INSTALL_DIR, but that env var is undocumented in the skill metadata.
Persistence & Privilege
The skill is not marked always:true and does not request system-wide privileges. It does install into a user directory by default ($HOME/.biomorphic-memory) and updates that directory, which is expected for a local library. It does not claim to modify other skills or global agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install biomorphic-memory
  3. After installation, invoke the skill by name or use /biomorphic-memory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of Biomorphic Memory: brain-inspired, semantic graph-based memory for AI agents. - Implements spreading activation for contextually relevant recall. - Supports natural decay of old memories with reinforcement of important ones. - Integrates Q-value learning to prioritize useful memories. - Achieves state-of-the-art accuracy in LongMemEval (89.8%), surpassing previous methods. - Requires Python ≥ 3.11 and an embedding API.
Metadata
Slug biomorphic-memory
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Biomorphic Memory?

Brain-inspired memory for AI agents. Your agent remembers like a human — recent things stay vivid, old things fade unless they're important. Uses spreading a... It is an AI Agent Skill for Claude Code / OpenClaw, with 131 downloads so far.

How do I install Biomorphic Memory?

Run "/install biomorphic-memory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Biomorphic Memory free?

Yes, Biomorphic Memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Biomorphic Memory support?

Biomorphic Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Biomorphic Memory?

It is built and maintained by Dario Zhang (@dario-github); the current version is v0.1.0.

💬 Comments