
ReMe Episodic Memory & Causal Reflection Engine
A causal episodic memory and self-reflection engine for DeepSeek Harness. Models chronological event streams and causal chains to isolate past failures and prevent repeated mistakes.
Episodic-Memory · Causal-Graph · Reflection · Self-Correction
$ pnpm add @agentscope-ai/remeArchitecture
Core Features
Causal Graph Topology: Stores verified cause-and-effect loops rather than detached text
Zero-Repetition Guard: Flags previously attempted dead-ends, preventing repeated blunders
Chronological Post-Mortem Playback: Step through the agent's historical mental deductions
Compact Episodic Indexing: Scalable graph structure indexing tens of thousands of past turns
Core Workflow
Causal Event Capture
Logs agent actions alongside their initial hypotheses and actual sandbox outcomes.
Causal Graph Modeling
Links failures to their effective resolutions, compiling episodic cause-effect nodes.
Dilemma-Driven Retrieval
Retrieves past post-mortems when current trajectories stall or repeat errors.
Negative Constraint Injection
Injects verified past lessons as explicit negative constraints into active prompts.
Configuration Parameters Reference (YAML / JSON)
| Parameter | Type | Default | Description |
|---|---|---|---|
| maxEpisodicNodes | number | 1000 | Maximum episodic event nodes retained |
| causalSimilarityThreshold | number | 0.82 | Similarity threshold to trigger post-mortem recall |
| autoInjectNegativeConstraints | boolean | true | Auto-inject past failures as negative prompts |
Recommended Plugins
Weknora Graph RAG & Hybrid Retrieval Engine
An enterprise hybrid RAG engine combining dynamic Knowledge Graphs with dense vector retrieval. Delivers multi-hop reasoning, relationship mining, and chunk deduplication for zero-hallucination Q&A.
PicGo Cloud Asset Pipeline & Storage Driver
A unified cloud asset pipeline bridging autonomous agents with AWS S3, Cloudflare R2, Aliyun OSS, and Tencent COS. Features automated deduplication, CDN cache warmup, and signed URLs.
NocoBase Headless Data Engine & Dynamic Schema Driver
A headless relational database and dynamic schema middleware for DeepSeek Harness agents. Integrates NocoBase metadata APIs to automate database modeling, dynamic CRUD synthesis, and RBAC control.