RMCPMK is a synthetic cognitive substrate implemented in Rust. It is designed as a memory operating system (not a conventional database) with multi-tier memory hierarchy, predictive coding, causal-semantic reasoning, and metacognitive self-monitoring.
crates/rmcpmk-core: kernel, cognitive modules, universal memory bus API, pluggable compressed storage engines.crates/rmcpmk-api: Axum service exposing universal memory bus operations.crates/rmcpmk-sim: simulation + benchmark-oriented prototype runner.frontend: React + D3 testing UI for graph/metacognition/sleep/perf experimentation.docs: architecture and retrieval diagrams.benches: benchmark strategy and measurement plan.scripts/final_build.sh: one-command final build pipeline.
store()recall()associate()predict()reflect()self_evaluate()revise_belief()estimate_uncertainty()consolidate()stream_context()
GET /healthGET /metricsPOST /storePOST /store_batchPOST /recallPOST /associatePOST /stream_contextPOST /reflectPOST /predictPOST /estimate_uncertaintyPOST /revise_beliefGET /self_evaluatePOST /consolidate
RMCPMK_STORAGE_DIR=/path/to/dir=> useFileBackedCompressedEnginepersistence.RMCPMK_L0_CAPACITY=8192=> override working-memory ring size.RMCPMK_REFLECTION_THRESHOLD=0.7=> adjust reflective retrieval trigger.RMCPMK_HOST=0.0.0.0+RMCPMK_PORT=8080=> bind address for API service.
cargo run -p rmcpmk-api
cargo run -p rmcpmk-simFrontend:
cd frontend
npm install
npm run dev./scripts/final_build.shdocker compose up --build