NWcortex 1.0.2__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nwcortex-1.0.2 → nwcortex-1.0.3}/LICENSE +21 -21
- {nwcortex-1.0.2 → nwcortex-1.0.3}/MANIFEST.in +11 -10
- {nwcortex-1.0.2 → nwcortex-1.0.3/NWcortex.egg-info}/PKG-INFO +97 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/NWcortex.egg-info/entry_points.txt +2 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/NWcortex.egg-info/requires.txt +7 -0
- {nwcortex-1.0.2/NWcortex.egg-info → nwcortex-1.0.3}/PKG-INFO +97 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/README.md +377 -289
- {nwcortex-1.0.2 → nwcortex-1.0.3}/examples/emergence_demo.py +230 -230
- {nwcortex-1.0.2 → nwcortex-1.0.3}/examples/locomo_test.py +597 -597
- {nwcortex-1.0.2 → nwcortex-1.0.3}/examples/memory_basic.py +164 -164
- {nwcortex-1.0.2 → nwcortex-1.0.3}/pyproject.toml +65 -61
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/__init__.py +398 -398
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/async_manager.py +463 -463
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/atom_facts.py +541 -541
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/autobiography.py +4 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/benchmark.py +10 -10
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/bm25.py +129 -129
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/brain_sphere.py +247 -247
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/cascade.py +264 -264
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/causal_edges.py +217 -217
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/cluster_memory.py +200 -200
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/cognitive_cache.py +625 -625
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/community.py +642 -642
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/compiler.py +524 -524
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/compression.py +959 -959
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/consolidation/__init__.py +37 -37
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/contrib/__init__.py +33 -33
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/contrib/benchmark.py +820 -820
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/contrib/mcp_server.py +166 -11
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/contrib/snapshot.py +567 -567
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/contrib/streaming.py +399 -399
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/contrib/symbolic_filter.py +182 -182
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/cortex.py +534 -534
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/cortex_api/__init__.py +31 -31
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/cost_estimator.py +325 -325
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/defaults.yaml +1 -1
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/domain_router.py +401 -401
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/dual_channel.py +691 -691
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/edge_budget.py +4 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/edge_decay.py +4 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/edge_management.py +264 -264
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/embedding_provider/__init__.py +43 -43
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/embedding_provider/providers.py +404 -404
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/episodic_memory.py +264 -264
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/exact_cache.py +4 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/extras/__init__.py +41 -41
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/extras/autobiography.py +329 -329
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/extras/resonance.py +214 -214
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/four_layer.py +624 -624
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/gate.py +218 -218
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/goal_tree.py +365 -365
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/hippocampus.py +262 -262
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/hub.py +847 -847
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/index.py +98 -98
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/logger.py +118 -118
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/manager.py +128 -128
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/manager_stats.py +49 -49
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/math_utils.py +43 -43
- nwcortex-1.0.3/star_graph/mcp_server.py +24 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/memory_core/__init__.py +43 -43
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/metrics.py +181 -181
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/micro_sleep.py +295 -295
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/multimodal.py +561 -561
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/online.py +116 -116
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/personality.py +299 -299
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/raw_buffer.py +275 -275
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/reflection_loop.py +426 -426
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/resonance.py +4 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/retrieval_budget.py +125 -125
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/retrieval_core.py +1029 -1029
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/retrieval_engine/__init__.py +36 -36
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/retrieval_pipeline.py +37 -37
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/runtime.py +1045 -1045
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/runtime_core.py +440 -440
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/runtime_lifecycle.py +407 -407
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/runtime_stats.py +2 -2
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/seed.py +34 -34
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/self_org.py +302 -302
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/server.py +170 -166
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/shard.py +231 -231
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/sleep.py +563 -563
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/sleep_consolidate.py +943 -943
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/sleep_nrem.py +206 -206
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/sleep_rem.py +148 -148
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/sleep_report.py +125 -125
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/snapshot.py +4 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/spreading.py +211 -211
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/streaming.py +4 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/survival.py +294 -294
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/symbolic_filter.py +4 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/thermal_store.py +260 -260
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/tier.py +960 -960
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/tiered.py +4 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/timespine.py +296 -296
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/topology.py +332 -332
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/tracing.py +366 -366
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/versioned_memory.py +217 -217
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/working_memory.py +267 -267
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/write_gate.py +326 -326
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_abstraction.py +379 -379
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_abstractive_memory.py +177 -177
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_anchor.py +503 -503
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_atom_facts.py +51 -51
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_autobiography.py +344 -344
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_bm25.py +148 -148
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_brain_sphere.py +244 -244
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_cascade.py +86 -86
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_causal_edges.py +85 -85
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_cluster_memory.py +111 -111
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_cognitive_cache.py +223 -223
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_cognitive_compiler.py +220 -220
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_community.py +487 -487
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_competition.py +228 -228
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_compiler.py +626 -626
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_compression.py +623 -623
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_config_schema.py +125 -125
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_cortex_hierarchy.py +336 -336
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_cost_estimator.py +240 -240
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_domain_router.py +186 -186
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_edge_budget.py +154 -154
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_edge_decay.py +157 -157
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_edge_management.py +235 -235
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_embedding.py +116 -116
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_episodic_memory.py +159 -159
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_evolution.py +396 -396
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_four_layer.py +418 -418
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_gate.py +225 -225
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_ghost.py +243 -243
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_ghost_intensity.py +442 -442
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_goal_tree.py +324 -324
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_graph.py +675 -675
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_hippocampus.py +173 -173
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_index.py +92 -92
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_layers.py +92 -92
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_logger.py +87 -87
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_manager_stats.py +45 -45
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_math_utils.py +88 -88
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_memory_tier.py +233 -233
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_metrics.py +229 -229
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_micro_sleep.py +292 -292
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_multimodal.py +459 -451
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_online.py +135 -135
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_oscillation_match.py +178 -178
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_personality.py +209 -209
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_raw_buffer.py +170 -170
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_readme_doctest.py +90 -90
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_reflection_loop.py +332 -332
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_resonance.py +131 -131
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_retrieval_budget.py +103 -103
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_retriever.py +526 -526
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_router.py +281 -281
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_scheduler.py +646 -646
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_seed.py +62 -62
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_self_org.py +232 -232
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_shard.py +413 -413
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_sleep_consolidation.py +604 -604
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_sleep_report.py +109 -109
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_spreading.py +149 -149
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_sqlite_storage.py +257 -257
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_storage.py +136 -136
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_storage_backend.py +54 -54
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_streaming.py +433 -433
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_survival.py +583 -583
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_thermal_store.py +310 -310
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_tier.py +423 -423
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_timespine.py +187 -187
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_topology.py +169 -169
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_tracing.py +437 -437
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_v08_modules.py +558 -558
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_versioned_memory.py +112 -112
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_working_memory.py +195 -195
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_write_gate.py +439 -439
- nwcortex-1.0.2/star_graph/mcp_server.py +0 -4
- {nwcortex-1.0.2 → nwcortex-1.0.3}/NWcortex.egg-info/SOURCES.txt +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/NWcortex.egg-info/dependency_links.txt +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/NWcortex.egg-info/top_level.txt +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/examples/ablation_benchmark.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/examples/locomo_eval.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/examples/locomo_llm_eval.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/examples/memory_benchmark.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/setup.cfg +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/__main__.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/abstraction.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/anchor.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/cli.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/competition.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/config.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/embedding.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/evolution.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/ghost.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/graph.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/layers.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/retriever.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/router.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/scheduler.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/sqlite_storage.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/storage.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/star_graph/storage_backend.py +0 -0
- {nwcortex-1.0.2 → nwcortex-1.0.3}/tests/test_retrieval_trace.py +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Thatgfsj
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Thatgfsj
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
include README.md
|
|
2
|
-
include LICENSE
|
|
3
|
-
include star_graph/defaults.yaml
|
|
4
|
-
recursive-include
|
|
5
|
-
|
|
6
|
-
prune
|
|
7
|
-
prune
|
|
8
|
-
prune
|
|
9
|
-
prune
|
|
10
|
-
|
|
1
|
+
include README.md
|
|
2
|
+
include LICENSE
|
|
3
|
+
include star_graph/defaults.yaml
|
|
4
|
+
recursive-include star_graph/contrib *.py
|
|
5
|
+
recursive-include examples *.py
|
|
6
|
+
prune venv
|
|
7
|
+
prune dist
|
|
8
|
+
prune build
|
|
9
|
+
prune .git
|
|
10
|
+
prune __pycache__
|
|
11
|
+
global-exclude *.pyc
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: NWcortex
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: NeuroWeave Cortex (NWC) — Graph-first cognitive memory runtime for AI agents. Hippocampal-inspired architecture with domain routing, spreading activation, edge budget management, 4-layer compression, thermal storage, personality modeling, and 8-phase sleep consolidation.
|
|
5
5
|
Author-email: Thatgfsj <thatgfsj@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
@@ -24,6 +24,11 @@ Requires-Dist: PyYAML>=6.0
|
|
|
24
24
|
Requires-Dist: scikit-learn>=1.3.0
|
|
25
25
|
Provides-Extra: embeddings
|
|
26
26
|
Requires-Dist: sentence-transformers>=2.2.0; extra == "embeddings"
|
|
27
|
+
Provides-Extra: mcp
|
|
28
|
+
Requires-Dist: mcp>=1.0.0; extra == "mcp"
|
|
29
|
+
Provides-Extra: all
|
|
30
|
+
Requires-Dist: sentence-transformers>=2.2.0; extra == "all"
|
|
31
|
+
Requires-Dist: mcp>=1.0.0; extra == "all"
|
|
27
32
|
Dynamic: license-file
|
|
28
33
|
|
|
29
34
|
# NeuroWeave Cortex (NWC) — Cognitive Memory Runtime
|
|
@@ -264,11 +269,14 @@ See `star_graph/defaults.yaml` for all 300+ tunable parameters.
|
|
|
264
269
|
# From PyPI (package name: NWcortex, import as: star_graph)
|
|
265
270
|
pip install NWcortex
|
|
266
271
|
|
|
267
|
-
# With sentence-transformers for semantic embeddings
|
|
272
|
+
# With sentence-transformers for semantic embeddings
|
|
268
273
|
pip install "NWcortex[embeddings]"
|
|
269
274
|
|
|
270
|
-
#
|
|
271
|
-
pip install
|
|
275
|
+
# With MCP server support (for AI agent integration)
|
|
276
|
+
pip install "NWcortex[mcp]"
|
|
277
|
+
|
|
278
|
+
# Everything
|
|
279
|
+
pip install "NWcortex[all]"
|
|
272
280
|
|
|
273
281
|
# Run demo
|
|
274
282
|
python examples/emergence_demo.py
|
|
@@ -276,6 +284,91 @@ python examples/emergence_demo.py
|
|
|
276
284
|
|
|
277
285
|
**Note:** Without `[embeddings]`, the system uses a lightweight TF-IDF fallback for text encoding. Install `sentence-transformers` only if you need semantic-quality embeddings.
|
|
278
286
|
|
|
287
|
+
## MCP Server — AI Agent Integration
|
|
288
|
+
|
|
289
|
+
NeuroWeave Cortex ships with a [Model Context Protocol](https://modelcontextprotocol.io) server. Connect any MCP-compatible AI agent (Claude Desktop, OpenClaw, Cursor, etc.) for persistent cognitive memory across conversations.
|
|
290
|
+
|
|
291
|
+
### Quick start
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
# Install with MCP support
|
|
295
|
+
pip install "NWcortex[mcp]"
|
|
296
|
+
|
|
297
|
+
# Launch the MCP server on stdio
|
|
298
|
+
nwc-mcp
|
|
299
|
+
|
|
300
|
+
# With persistent storage
|
|
301
|
+
nwc-mcp --storage agent_memory.json
|
|
302
|
+
|
|
303
|
+
# Load a previously saved memory graph
|
|
304
|
+
nwc-mcp --load my_memories.json
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Tool reference (12 tools)
|
|
308
|
+
|
|
309
|
+
| Tool | Description |
|
|
310
|
+
|------|-------------|
|
|
311
|
+
| `remember` | Store a long-term memory (tags, importance, emotional valence) |
|
|
312
|
+
| `remember_working` | Store in fast ephemeral working-memory buffer (current task context) |
|
|
313
|
+
| `recall` | Context-aware semantic retrieval with task-type routing |
|
|
314
|
+
| `forget` | Remove a memory, creating a ghost trace for potential fuzzy recall |
|
|
315
|
+
| `sleep` | Run 5-phase sleep consolidation — merges, prunes, forms schemas |
|
|
316
|
+
| `consolidate` | Micro-consolidation — incremental, non-blocking |
|
|
317
|
+
| `stats` | Memory system statistics (anchors, edges, ghosts, schemas, cognitive health) |
|
|
318
|
+
| `fuzzy_recall` | Low-confidence recall from ghost traces ("I seem to remember...") |
|
|
319
|
+
| `get_profile` | Inferred user profile from accumulated memories |
|
|
320
|
+
| `evolve` | Memory evolution cycle (decay, boost, conflict resolution) |
|
|
321
|
+
| `save` | Persist memory graph to disk (JSON) |
|
|
322
|
+
| `load` | Load memory graph from disk (JSON) |
|
|
323
|
+
|
|
324
|
+
### Claude Desktop config
|
|
325
|
+
|
|
326
|
+
```json
|
|
327
|
+
{
|
|
328
|
+
"mcpServers": {
|
|
329
|
+
"neuroweave-cortex": {
|
|
330
|
+
"command": "nwc-mcp",
|
|
331
|
+
"args": ["--storage", "/path/to/agent_memory.json"]
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### OpenClaw config
|
|
338
|
+
|
|
339
|
+
```json
|
|
340
|
+
{
|
|
341
|
+
"mcpServers": {
|
|
342
|
+
"neuroweave-cortex": {
|
|
343
|
+
"command": "nwc-mcp",
|
|
344
|
+
"args": ["--storage", "/path/to/agent_memory.json"]
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
## REST API Server
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
# Start the REST server
|
|
354
|
+
nwc-server --port 8420
|
|
355
|
+
|
|
356
|
+
# Or via module
|
|
357
|
+
python -m star_graph.server --port 8420
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
Endpoints:
|
|
361
|
+
|
|
362
|
+
| Method | Path | Description |
|
|
363
|
+
|--------|------|-------------|
|
|
364
|
+
| GET | `/health` | Health check with anchor/edge counts |
|
|
365
|
+
| GET | `/metrics` | Prometheus-format metrics |
|
|
366
|
+
| GET | `/stats` | Full memory system statistics |
|
|
367
|
+
| POST | `/remember` | Store a memory `{"text": "...", "tags": [...]}` |
|
|
368
|
+
| POST | `/recall` | Retrieve memories `{"query": "...", "max_items": 10}` |
|
|
369
|
+
| POST | `/sleep` | Run sleep consolidation |
|
|
370
|
+
| POST | `/consolidate` | Run micro-consolidation |
|
|
371
|
+
|
|
279
372
|
## Interactive Demo
|
|
280
373
|
|
|
281
374
|
```bash
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: NWcortex
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: NeuroWeave Cortex (NWC) — Graph-first cognitive memory runtime for AI agents. Hippocampal-inspired architecture with domain routing, spreading activation, edge budget management, 4-layer compression, thermal storage, personality modeling, and 8-phase sleep consolidation.
|
|
5
5
|
Author-email: Thatgfsj <thatgfsj@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
@@ -24,6 +24,11 @@ Requires-Dist: PyYAML>=6.0
|
|
|
24
24
|
Requires-Dist: scikit-learn>=1.3.0
|
|
25
25
|
Provides-Extra: embeddings
|
|
26
26
|
Requires-Dist: sentence-transformers>=2.2.0; extra == "embeddings"
|
|
27
|
+
Provides-Extra: mcp
|
|
28
|
+
Requires-Dist: mcp>=1.0.0; extra == "mcp"
|
|
29
|
+
Provides-Extra: all
|
|
30
|
+
Requires-Dist: sentence-transformers>=2.2.0; extra == "all"
|
|
31
|
+
Requires-Dist: mcp>=1.0.0; extra == "all"
|
|
27
32
|
Dynamic: license-file
|
|
28
33
|
|
|
29
34
|
# NeuroWeave Cortex (NWC) — Cognitive Memory Runtime
|
|
@@ -264,11 +269,14 @@ See `star_graph/defaults.yaml` for all 300+ tunable parameters.
|
|
|
264
269
|
# From PyPI (package name: NWcortex, import as: star_graph)
|
|
265
270
|
pip install NWcortex
|
|
266
271
|
|
|
267
|
-
# With sentence-transformers for semantic embeddings
|
|
272
|
+
# With sentence-transformers for semantic embeddings
|
|
268
273
|
pip install "NWcortex[embeddings]"
|
|
269
274
|
|
|
270
|
-
#
|
|
271
|
-
pip install
|
|
275
|
+
# With MCP server support (for AI agent integration)
|
|
276
|
+
pip install "NWcortex[mcp]"
|
|
277
|
+
|
|
278
|
+
# Everything
|
|
279
|
+
pip install "NWcortex[all]"
|
|
272
280
|
|
|
273
281
|
# Run demo
|
|
274
282
|
python examples/emergence_demo.py
|
|
@@ -276,6 +284,91 @@ python examples/emergence_demo.py
|
|
|
276
284
|
|
|
277
285
|
**Note:** Without `[embeddings]`, the system uses a lightweight TF-IDF fallback for text encoding. Install `sentence-transformers` only if you need semantic-quality embeddings.
|
|
278
286
|
|
|
287
|
+
## MCP Server — AI Agent Integration
|
|
288
|
+
|
|
289
|
+
NeuroWeave Cortex ships with a [Model Context Protocol](https://modelcontextprotocol.io) server. Connect any MCP-compatible AI agent (Claude Desktop, OpenClaw, Cursor, etc.) for persistent cognitive memory across conversations.
|
|
290
|
+
|
|
291
|
+
### Quick start
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
# Install with MCP support
|
|
295
|
+
pip install "NWcortex[mcp]"
|
|
296
|
+
|
|
297
|
+
# Launch the MCP server on stdio
|
|
298
|
+
nwc-mcp
|
|
299
|
+
|
|
300
|
+
# With persistent storage
|
|
301
|
+
nwc-mcp --storage agent_memory.json
|
|
302
|
+
|
|
303
|
+
# Load a previously saved memory graph
|
|
304
|
+
nwc-mcp --load my_memories.json
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Tool reference (12 tools)
|
|
308
|
+
|
|
309
|
+
| Tool | Description |
|
|
310
|
+
|------|-------------|
|
|
311
|
+
| `remember` | Store a long-term memory (tags, importance, emotional valence) |
|
|
312
|
+
| `remember_working` | Store in fast ephemeral working-memory buffer (current task context) |
|
|
313
|
+
| `recall` | Context-aware semantic retrieval with task-type routing |
|
|
314
|
+
| `forget` | Remove a memory, creating a ghost trace for potential fuzzy recall |
|
|
315
|
+
| `sleep` | Run 5-phase sleep consolidation — merges, prunes, forms schemas |
|
|
316
|
+
| `consolidate` | Micro-consolidation — incremental, non-blocking |
|
|
317
|
+
| `stats` | Memory system statistics (anchors, edges, ghosts, schemas, cognitive health) |
|
|
318
|
+
| `fuzzy_recall` | Low-confidence recall from ghost traces ("I seem to remember...") |
|
|
319
|
+
| `get_profile` | Inferred user profile from accumulated memories |
|
|
320
|
+
| `evolve` | Memory evolution cycle (decay, boost, conflict resolution) |
|
|
321
|
+
| `save` | Persist memory graph to disk (JSON) |
|
|
322
|
+
| `load` | Load memory graph from disk (JSON) |
|
|
323
|
+
|
|
324
|
+
### Claude Desktop config
|
|
325
|
+
|
|
326
|
+
```json
|
|
327
|
+
{
|
|
328
|
+
"mcpServers": {
|
|
329
|
+
"neuroweave-cortex": {
|
|
330
|
+
"command": "nwc-mcp",
|
|
331
|
+
"args": ["--storage", "/path/to/agent_memory.json"]
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### OpenClaw config
|
|
338
|
+
|
|
339
|
+
```json
|
|
340
|
+
{
|
|
341
|
+
"mcpServers": {
|
|
342
|
+
"neuroweave-cortex": {
|
|
343
|
+
"command": "nwc-mcp",
|
|
344
|
+
"args": ["--storage", "/path/to/agent_memory.json"]
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
## REST API Server
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
# Start the REST server
|
|
354
|
+
nwc-server --port 8420
|
|
355
|
+
|
|
356
|
+
# Or via module
|
|
357
|
+
python -m star_graph.server --port 8420
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
Endpoints:
|
|
361
|
+
|
|
362
|
+
| Method | Path | Description |
|
|
363
|
+
|--------|------|-------------|
|
|
364
|
+
| GET | `/health` | Health check with anchor/edge counts |
|
|
365
|
+
| GET | `/metrics` | Prometheus-format metrics |
|
|
366
|
+
| GET | `/stats` | Full memory system statistics |
|
|
367
|
+
| POST | `/remember` | Store a memory `{"text": "...", "tags": [...]}` |
|
|
368
|
+
| POST | `/recall` | Retrieve memories `{"query": "...", "max_items": 10}` |
|
|
369
|
+
| POST | `/sleep` | Run sleep consolidation |
|
|
370
|
+
| POST | `/consolidate` | Run micro-consolidation |
|
|
371
|
+
|
|
279
372
|
## Interactive Demo
|
|
280
373
|
|
|
281
374
|
```bash
|