memoryking 0.1.0a3__tar.gz → 0.2.0__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.
- {memoryking-0.1.0a3 → memoryking-0.2.0}/NOTICE +6 -0
- {memoryking-0.1.0a3/src/memoryking.egg-info → memoryking-0.2.0}/PKG-INFO +57 -16
- {memoryking-0.1.0a3 → memoryking-0.2.0}/README.md +49 -10
- {memoryking-0.1.0a3 → memoryking-0.2.0}/pyproject.toml +29 -7
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/__init__.py +1 -1
- memoryking-0.2.0/src/memoryking/__main__.py +2588 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/adapter_state.py +4 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/atlas.py +1 -1
- memoryking-0.2.0/src/memoryking/adapters/blobs.py +315 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/browser_commands.py +10 -1
- memoryking-0.2.0/src/memoryking/adapters/consolidation.py +627 -0
- memoryking-0.2.0/src/memoryking/adapters/consolidation_schema.sql +18 -0
- memoryking-0.2.0/src/memoryking/adapters/corrections.py +333 -0
- memoryking-0.2.0/src/memoryking/adapters/corrections_schema.sql +21 -0
- memoryking-0.2.0/src/memoryking/adapters/credential_schema.sql +8 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/dashboard.py +17 -2
- memoryking-0.2.0/src/memoryking/adapters/dense_search.py +291 -0
- {memoryking-0.1.0a3/src/memoryking/contracts → memoryking-0.2.0/src/memoryking/adapters}/embedding.schema.json +1 -0
- memoryking-0.2.0/src/memoryking/adapters/embedding_store.py +928 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/execution.py +27 -10
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/experience.py +37 -7
- {memoryking-0.1.0a3/src/memoryking/contracts → memoryking-0.2.0/src/memoryking/adapters}/experience.schema.json +5 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/experience_records.py +36 -5
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/handoff.py +25 -21
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/inference.py +4 -4
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/inspection.py +58 -7
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/knowledge.schema.json +476 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/knowledge_store.py +219 -28
- memoryking-0.2.0/src/memoryking/adapters/lexical_schema.sql +17 -0
- memoryking-0.2.0/src/memoryking/adapters/local_client.py +56 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/local_contract.py +1 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/local_embeddings.py +81 -39
- memoryking-0.2.0/src/memoryking/adapters/local_files.py +523 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/local_ipc.py +117 -42
- memoryking-0.2.0/src/memoryking/adapters/local_store.py +1112 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/local_wire.schema.json +582 -0
- memoryking-0.2.0/src/memoryking/adapters/mcp_common.py +141 -0
- memoryking-0.2.0/src/memoryking/adapters/models/bge-small-en-v1-5-onnx.json +34 -0
- memoryking-0.2.0/src/memoryking/adapters/operations_log.py +561 -0
- memoryking-0.2.0/src/memoryking/adapters/operations_schema.sql +11 -0
- memoryking-0.2.0/src/memoryking/adapters/outcome_drafts.py +361 -0
- memoryking-0.2.0/src/memoryking/adapters/platform_support.py +251 -0
- memoryking-0.2.0/src/memoryking/adapters/position_schema.sql +5 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_admin.py +212 -21
- memoryking-0.2.0/src/memoryking/adapters/postgres_consolidation_schema.sql +20 -0
- memoryking-0.2.0/src/memoryking/adapters/postgres_corrections_schema.sql +30 -0
- memoryking-0.2.0/src/memoryking/adapters/postgres_credential_schema.sql +8 -0
- memoryking-0.2.0/src/memoryking/adapters/postgres_lexical_schema.sql +25 -0
- memoryking-0.2.0/src/memoryking/adapters/postgres_operations_schema.sql +18 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_pool.py +37 -3
- memoryking-0.2.0/src/memoryking/adapters/postgres_position_schema.sql +1 -0
- memoryking-0.2.0/src/memoryking/adapters/postgres_recovery.py +789 -0
- memoryking-0.2.0/src/memoryking/adapters/postgres_retention_schema.sql +31 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_sql.py +24 -0
- memoryking-0.2.0/src/memoryking/adapters/postgres_store.py +694 -0
- memoryking-0.2.0/src/memoryking/adapters/postgres_vectors_schema.sql +24 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/processing_store.py +6 -4
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/projects.py +7 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/proposals.py +8 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/ranking.py +2 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/repository_git.py +4 -3
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/repository_store.py +7 -11
- memoryking-0.2.0/src/memoryking/adapters/retention_schema.sql +25 -0
- memoryking-0.2.0/src/memoryking/adapters/retrieval.py +2215 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/retrieval.schema.json +130 -1
- memoryking-0.2.0/src/memoryking/adapters/session_start.py +342 -0
- memoryking-0.2.0/src/memoryking/adapters/shared_control.py +65 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/shared_dashboard.py +6 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/shared_http.py +113 -7
- memoryking-0.2.0/src/memoryking/adapters/shared_mcp.py +216 -0
- memoryking-0.2.0/src/memoryking/adapters/shared_service.py +430 -0
- memoryking-0.2.0/src/memoryking/adapters/stdio.py +261 -0
- memoryking-0.2.0/src/memoryking/adapters/stdio.tools.json +2758 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/team.py +5 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/timeline.py +3 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/token_count.py +24 -0
- memoryking-0.2.0/src/memoryking/adapters/unreviewed.py +181 -0
- memoryking-0.2.0/src/memoryking/adapters/user_scope.py +227 -0
- memoryking-0.2.0/src/memoryking/adapters/vectors_schema.sql +23 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/app.js +16 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/observatory.js +39 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/working.py +121 -37
- memoryking-0.2.0/src/memoryking/application/blob_store.py +72 -0
- memoryking-0.2.0/src/memoryking/application/control_log.py +119 -0
- memoryking-0.2.0/src/memoryking/application/lexical_index.py +313 -0
- memoryking-0.2.0/src/memoryking/application/records.py +335 -0
- memoryking-0.2.0/src/memoryking/application/retention.py +394 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/application/storage.py +45 -4
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/application/store_core.py +962 -168
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/backups.py +12 -3
- memoryking-0.2.0/src/memoryking/client.py +287 -0
- memoryking-0.2.0/src/memoryking/consolidation.py +362 -0
- memoryking-0.2.0/src/memoryking/contracts/__init__.py +20 -0
- {memoryking-0.1.0a3/src/memoryking/adapters → memoryking-0.2.0/src/memoryking/contracts}/embedding.schema.json +1 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/embedding_generated.py +1 -1
- {memoryking-0.1.0a3/src/memoryking/adapters → memoryking-0.2.0/src/memoryking/contracts}/experience.schema.json +5 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/experience_generated.py +1 -0
- memoryking-0.2.0/src/memoryking/contracts/problems.py +180 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/retrieval.schema.json +130 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/retrieval_generated.py +23 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/validation.py +25 -9
- memoryking-0.2.0/src/memoryking/daemon.py +185 -0
- memoryking-0.2.0/src/memoryking/domain/briefing.py +224 -0
- memoryking-0.2.0/src/memoryking/domain/briefing_text.py +559 -0
- memoryking-0.2.0/src/memoryking/domain/duplicates.py +171 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/embeddings.py +18 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/hints.py +54 -19
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/http_status.py +2 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/learning.py +3 -1
- memoryking-0.2.0/src/memoryking/domain/lexicon.py +350 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/local.py +28 -2
- memoryking-0.2.0/src/memoryking/domain/names.py +102 -0
- memoryking-0.2.0/src/memoryking/domain/passages.py +208 -0
- memoryking-0.2.0/src/memoryking/domain/provenance.py +129 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/selectors.py +23 -5
- memoryking-0.2.0/src/memoryking/domain/timeexpr.py +557 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/embedding_loop.py +48 -5
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/embedding_worker.py +3 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/harness.py +5 -2
- memoryking-0.2.0/src/memoryking/health.py +104 -0
- memoryking-0.2.0/src/memoryking/hook_check.py +291 -0
- memoryking-0.2.0/src/memoryking/hook_cli.py +260 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/hooks.py +126 -20
- memoryking-0.2.0/src/memoryking/host_hooks.py +1328 -0
- memoryking-0.2.0/src/memoryking/integrations/__init__.py +1 -0
- memoryking-0.2.0/src/memoryking/integrations/claude_agent_sdk.py +234 -0
- memoryking-0.2.0/src/memoryking/integrations/function_calling.py +136 -0
- memoryking-0.2.0/src/memoryking/integrations/langchain.py +199 -0
- memoryking-0.2.0/src/memoryking/integrations/llama_index.py +114 -0
- memoryking-0.2.0/src/memoryking/integrations/openai_agents.py +58 -0
- memoryking-0.2.0/src/memoryking/lean.py +1067 -0
- memoryking-0.2.0/src/memoryking/locks/core.lock +529 -0
- memoryking-0.2.0/src/memoryking/locks/tokenizers.lock +387 -0
- memoryking-0.2.0/src/memoryking/memory_api.py +277 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/memory_tool.py +53 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/migration.py +8 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/observability.py +5 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/observability_metrics.py +15 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/profiles.py +22 -2
- memoryking-0.2.0/src/memoryking/relay.py +179 -0
- memoryking-0.2.0/src/memoryking/relay_client.py +273 -0
- memoryking-0.2.0/src/memoryking/reviewing.py +179 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/sdk.py +60 -9
- memoryking-0.2.0/src/memoryking/semantic.py +145 -0
- memoryking-0.2.0/src/memoryking/session_bindings.py +86 -0
- memoryking-0.2.0/src/memoryking/setup_host.py +556 -0
- memoryking-0.2.0/src/memoryking/setup_windows.py +601 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/shared.py +150 -7
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/shared_sdk.py +3 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/vault.py +32 -8
- {memoryking-0.1.0a3 → memoryking-0.2.0/src/memoryking.egg-info}/PKG-INFO +57 -16
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking.egg-info/SOURCES.txt +128 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking.egg-info/entry_points.txt +1 -0
- memoryking-0.2.0/tests/test_architecture.py +32 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_backups.py +2 -2
- memoryking-0.2.0/tests/test_blob_backup.py +263 -0
- memoryking-0.2.0/tests/test_blob_port.py +223 -0
- memoryking-0.2.0/tests/test_briefing_concurrency.py +739 -0
- memoryking-0.2.0/tests/test_budget_text.py +157 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_cli.py +447 -1
- memoryking-0.2.0/tests/test_client.py +168 -0
- memoryking-0.2.0/tests/test_consolidation.py +639 -0
- memoryking-0.2.0/tests/test_consolidation_cli.py +139 -0
- memoryking-0.2.0/tests/test_consolidation_supervisor.py +309 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_contracts.py +13 -0
- memoryking-0.2.0/tests/test_control_log_port.py +207 -0
- memoryking-0.2.0/tests/test_corrections.py +491 -0
- memoryking-0.2.0/tests/test_credentials.py +302 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_dashboard.py +77 -0
- memoryking-0.2.0/tests/test_dense_retrieval.py +391 -0
- memoryking-0.2.0/tests/test_durable_sync.py +63 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_embedding_jobs.py +2 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_embedding_worker.py +2 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_error_hints.py +5 -3
- memoryking-0.2.0/tests/test_evidence_recall.py +217 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_execution.py +13 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_experience.py +61 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_experience_migrations.py +4 -4
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_experience_records.py +72 -2
- memoryking-0.2.0/tests/test_function_calling.py +148 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_handoff.py +100 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_harness.py +2 -1
- memoryking-0.2.0/tests/test_hook_replay.py +770 -0
- memoryking-0.2.0/tests/test_host_hooks.py +758 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_inference.py +54 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_journal.py +102 -2
- memoryking-0.2.0/tests/test_journal_cache.py +101 -0
- memoryking-0.2.0/tests/test_journal_repair.py +152 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_knowledge.py +183 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_legacy_migration.py +12 -12
- memoryking-0.2.0/tests/test_lexical_search.py +607 -0
- memoryking-0.2.0/tests/test_lexicon.py +146 -0
- memoryking-0.2.0/tests/test_local_ipc_busy.py +87 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_local_store.py +15 -6
- memoryking-0.2.0/tests/test_locks.py +68 -0
- memoryking-0.2.0/tests/test_longhaul_audit.py +945 -0
- memoryking-0.2.0/tests/test_longhaul_benchmark.py +1429 -0
- memoryking-0.2.0/tests/test_longhaul_hookprobe.py +242 -0
- memoryking-0.2.0/tests/test_longhaul_poolprobe.py +84 -0
- memoryking-0.2.0/tests/test_longhaul_preflight.py +315 -0
- memoryking-0.2.0/tests/test_longhaul_protocol.py +259 -0
- memoryking-0.2.0/tests/test_longhaul_stage2.py +472 -0
- memoryking-0.2.0/tests/test_longhaul_stage4.py +432 -0
- memoryking-0.2.0/tests/test_longhaul_stage5.py +244 -0
- memoryking-0.2.0/tests/test_longhaul_systems.py +440 -0
- memoryking-0.2.0/tests/test_mcp_surface.py +570 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_memory_tool.py +30 -0
- memoryking-0.2.0/tests/test_names.py +191 -0
- memoryking-0.2.0/tests/test_operability.py +331 -0
- memoryking-0.2.0/tests/test_operations_log.py +580 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_optional_migrations.py +2 -2
- memoryking-0.2.0/tests/test_outcome_benchmark.py +869 -0
- memoryking-0.2.0/tests/test_outcome_drafts.py +269 -0
- memoryking-0.2.0/tests/test_passages.py +747 -0
- memoryking-0.2.0/tests/test_pgvector.py +208 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_plans.py +97 -0
- memoryking-0.2.0/tests/test_platform_support.py +134 -0
- memoryking-0.2.0/tests/test_postgres_consolidation.py +24 -0
- memoryking-0.2.0/tests/test_postgres_credentials.py +334 -0
- memoryking-0.2.0/tests/test_postgres_delegation.py +242 -0
- memoryking-0.2.0/tests/test_postgres_journal_repair.py +182 -0
- memoryking-0.2.0/tests/test_postgres_lease_roles.py +131 -0
- memoryking-0.2.0/tests/test_postgres_operations_log.py +280 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_optional.py +2 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_parity.py +46 -4
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_sql.py +5 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_store.py +364 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_processing_transport.py +1 -1
- memoryking-0.2.0/tests/test_prompt_pages.py +115 -0
- memoryking-0.2.0/tests/test_prompt_user_scope.py +107 -0
- memoryking-0.2.0/tests/test_prompt_view.py +266 -0
- memoryking-0.2.0/tests/test_provenance_views.py +286 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_ranking.py +20 -1
- memoryking-0.2.0/tests/test_records.py +353 -0
- memoryking-0.2.0/tests/test_relay.py +287 -0
- memoryking-0.2.0/tests/test_relay_client.py +183 -0
- memoryking-0.2.0/tests/test_relay_windows.py +252 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_repository.py +1 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_repository_git.py +1 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_reranker.py +26 -7
- memoryking-0.2.0/tests/test_retention.py +401 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_retrieval.py +28 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_retrieval_benchmark.py +2 -0
- memoryking-0.2.0/tests/test_review_cli.py +685 -0
- memoryking-0.2.0/tests/test_scale_recovery.py +322 -0
- memoryking-0.2.0/tests/test_scale_regression.py +57 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_sdk.py +319 -10
- memoryking-0.2.0/tests/test_semantic.py +266 -0
- memoryking-0.2.0/tests/test_session_bindings.py +89 -0
- memoryking-0.2.0/tests/test_setup.py +543 -0
- memoryking-0.2.0/tests/test_setup_windows.py +468 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_shared_acceptance_matrix.py +40 -36
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_shared_dashboard.py +26 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_shared_gateway.py +2 -1
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_shared_http.py +298 -4
- memoryking-0.2.0/tests/test_stale_facts_benchmark.py +82 -0
- memoryking-0.2.0/tests/test_time_question.py +351 -0
- memoryking-0.2.0/tests/test_unreviewed_tier.py +301 -0
- memoryking-0.2.0/tests/test_user_scope.py +313 -0
- memoryking-0.2.0/tests/test_user_scope_cli.py +307 -0
- memoryking-0.2.0/tests/test_vector_scan.py +47 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_working.py +240 -3
- memoryking-0.1.0a3/src/memoryking/__main__.py +0 -1328
- memoryking-0.1.0a3/src/memoryking/adapters/dense_search.py +0 -86
- memoryking-0.1.0a3/src/memoryking/adapters/embedding_store.py +0 -469
- memoryking-0.1.0a3/src/memoryking/adapters/local_files.py +0 -242
- memoryking-0.1.0a3/src/memoryking/adapters/local_store.py +0 -632
- memoryking-0.1.0a3/src/memoryking/adapters/postgres_recovery.py +0 -525
- memoryking-0.1.0a3/src/memoryking/adapters/postgres_store.py +0 -428
- memoryking-0.1.0a3/src/memoryking/adapters/retrieval.py +0 -1285
- memoryking-0.1.0a3/src/memoryking/adapters/shared_control.py +0 -40
- memoryking-0.1.0a3/src/memoryking/adapters/shared_mcp.py +0 -159
- memoryking-0.1.0a3/src/memoryking/adapters/shared_service.py +0 -124
- memoryking-0.1.0a3/src/memoryking/adapters/stdio.py +0 -193
- memoryking-0.1.0a3/src/memoryking/adapters/stdio.tools.json +0 -6776
- memoryking-0.1.0a3/src/memoryking/contracts/__init__.py +0 -6
- memoryking-0.1.0a3/src/memoryking/domain/briefing.py +0 -108
- memoryking-0.1.0a3/src/memoryking/domain/briefing_text.py +0 -222
- memoryking-0.1.0a3/src/memoryking/host_hooks.py +0 -454
- memoryking-0.1.0a3/src/memoryking/lean.py +0 -352
- memoryking-0.1.0a3/tests/test_architecture.py +0 -17
- memoryking-0.1.0a3/tests/test_dense_retrieval.py +0 -182
- memoryking-0.1.0a3/tests/test_evidence_recall.py +0 -71
- memoryking-0.1.0a3/tests/test_host_hooks.py +0 -335
- memoryking-0.1.0a3/tests/test_pgvector.py +0 -52
- {memoryking-0.1.0a3 → memoryking-0.2.0}/LICENSE +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/setup.cfg +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/__init__.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/anchor_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/egress_policy.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/egress_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/experience_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/handoff.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/handoff_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/index_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/inference.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/inspection.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/knowledge_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/legacy_snapshot.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/legacy_tables.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/local_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/models/minilm-l6-v2-onnx.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/models/ms-marco-minilm-l6-v2-onnx.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/optional_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/plan_dashboard.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/plans.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_anchor_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_counter.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_egress_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_experience_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_index_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_optional_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_summary_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/postgres_trust_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/processing.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/repository.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/repository_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/retrieval_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/shared_gateway.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/summary_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/tokenizers/LICENSE +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/tokenizers/cl100k_base.tiktoken +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/trust.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/trust_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/app.css +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/brand.js +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/crown-mono.svg +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/crown.svg +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/elephant.png +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/favicon.svg +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/graph-layout.js +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/graph-worker.js +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/graph.js +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/index.html +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/team.js +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/web/wordmark.svg +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/working.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/adapters/working_schema.sql +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/application/__init__.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/application/conformance.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/application/legacy_import.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/application/local_port.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/__main__.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/canonical.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/generated.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/handoff.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/handoff_generated.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/inference.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/inference_generated.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/processing.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/processing_generated.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/py.typed +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/repository.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/repository_generated.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/working.schema.json +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/contracts/working_generated.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/__init__.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/anchors.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/checkpoint.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/compression.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/delta.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/plans.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/repository.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/summary.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/domain/usage.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/harness_context.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/model_install.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/providers.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/py.typed +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/pytest_plugin.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/reference_agent.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/repository_worker.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking/resume_adapter.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking.egg-info/dependency_links.txt +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking.egg-info/requires.txt +2 -2
- {memoryking-0.1.0a3 → memoryking-0.2.0}/src/memoryking.egg-info/top_level.txt +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_anchors.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_atlas.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_catalog.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_checkpoint_complete.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_conformance.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_delta.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_egress.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_embedding_contracts.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_embeddings.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_evaluation_audit.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_experience_contracts.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_experience_repository.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_health.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_inspection.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_observability.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_ownership_cleanup.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_plan_recovery.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_atlas.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_concurrency.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_database.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_delta.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_dense.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_egress.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_embedding_jobs.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_experience.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_foundation_parity.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_inference.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_migration.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_operation_recovery.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_postgres_processing.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_processing.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_processing_contracts.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_processing_repository.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_proposals.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_qualification_security.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_reference_agent.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_report_evidence.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_repository_contracts.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_repository_harness.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_resume_adapter.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_shared_conformance_runner.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_shared_resume_adapter.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_summary.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_team.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_trust.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_usage.py +0 -0
- {memoryking-0.1.0a3 → memoryking-0.2.0}/tests/test_vault.py +0 -0
|
@@ -10,3 +10,9 @@ project, Copyright (c) 2022 OpenAI, Shantanu Jain, under the MIT License; its no
|
|
|
10
10
|
is kept at src/memoryking/adapters/tokenizers/LICENSE. The optional local embedding
|
|
11
11
|
model is not included; its manifest records the model's own Apache-2.0 licence and
|
|
12
12
|
it is downloaded only on request.
|
|
13
|
+
|
|
14
|
+
The test fixture fixtures/evaluation/longmemeval-regression-sample.json contains 72
|
|
15
|
+
questions and their evidence sessions from the LongMemEval dataset (Wu et al., the
|
|
16
|
+
"longmemeval-cleaned" release), Copyright (c) 2024 Di Wu, under the MIT License; its
|
|
17
|
+
notice is kept at fixtures/evaluation/LONGMEMEVAL-LICENSE. The fixture is not part of
|
|
18
|
+
the installed package.
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: memoryking
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: MemoryKing local memory, checkpoint and recovery service
|
|
5
5
|
Author: James King
|
|
6
6
|
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Repository, https://github.com/jamesking-us/memoryking
|
|
8
|
-
Classifier: Development Status ::
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
9
|
Classifier: Intended Audience :: Developers
|
|
10
10
|
Classifier: Operating System :: MacOS
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
11
12
|
Classifier: Operating System :: POSIX :: Linux
|
|
12
13
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
16
|
Classifier: Topic :: Software Development :: Libraries
|
|
15
|
-
Requires-Python: <3.
|
|
17
|
+
Requires-Python: <3.14,>=3.12
|
|
16
18
|
Description-Content-Type: text/markdown
|
|
17
19
|
License-File: LICENSE
|
|
18
20
|
License-File: NOTICE
|
|
19
21
|
Requires-Dist: jsonschema==4.26.0
|
|
22
|
+
Requires-Dist: onnxruntime==1.23.2
|
|
23
|
+
Requires-Dist: numpy==2.5.4
|
|
24
|
+
Requires-Dist: tokenizers==0.23.3
|
|
20
25
|
Provides-Extra: tokenizers
|
|
21
26
|
Requires-Dist: tiktoken==0.12.0; extra == "tokenizers"
|
|
22
27
|
Provides-Extra: embeddings
|
|
23
|
-
Requires-Dist: onnxruntime==1.23.2; extra == "embeddings"
|
|
24
|
-
Requires-Dist: numpy==2.5.4; extra == "embeddings"
|
|
25
|
-
Requires-Dist: tokenizers==0.23.3; extra == "embeddings"
|
|
26
28
|
Provides-Extra: shared
|
|
27
29
|
Requires-Dist: psycopg[binary]==3.3.6; extra == "shared"
|
|
28
30
|
Requires-Dist: psycopg-pool==3.3.3; extra == "shared"
|
|
@@ -39,6 +41,42 @@ Think of it as a **shared project notebook with a save point**. When a conversat
|
|
|
39
41
|
|
|
40
42
|
It is a service that you connect to your agents. It does not automatically read your chats or run agents for you.
|
|
41
43
|
|
|
44
|
+
## How it measures up
|
|
45
|
+
|
|
46
|
+
We tested MemoryKing head to head against three other memory products, and against simply handing the agent every raw transcript to search. Each got the same tasks with a real coding agent (Claude Code). **MemoryKing had the top score in all four tests**, level with a plain notes file in one.
|
|
47
|
+
|
|
48
|
+
| What we tested | MemoryKing | Runner-up | Who the runner-up was |
|
|
49
|
+
| --- | ---: | ---: | --- |
|
|
50
|
+
| Finding one fact hidden among 2,000 earlier sessions | **12 of 12** | 9 of 12 | Searching the raw transcripts, with no memory product (the best other product got 6) |
|
|
51
|
+
| Handling corrected facts, deleted memories, several projects and planted instructions | **23 of 27** | 21 of 27 | Knowledge Graph Memory server |
|
|
52
|
+
| Answering questions about long chat histories (the public LongMemEval set) | **51 of 60** | 49 of 60 | Basic Memory |
|
|
53
|
+
| Saving its own memory across four real sessions | **4 of 4** | 4 of 4 | A plain notes file (the other three products got 0) |
|
|
54
|
+
|
|
55
|
+
MemoryKing also gave the agent the least to read: 123,000 tokens per task on average, against 150,000 for the next lowest (MCP Memory Service) and about 218,000 for the other two products.
|
|
56
|
+
|
|
57
|
+
What that means in practice:
|
|
58
|
+
|
|
59
|
+
- **Nothing missed in a long history.** MemoryKing passed all 12 tasks at 2,000 sessions. The tests confirm its lead over Basic Memory there, and over MCP Memory Service at both sizes.
|
|
60
|
+
- **Most questions answered.** MemoryKing answered 51 of 60 questions correctly, more than any other product, and the test confirms its lead over a plain text search. Search by meaning is part of the standard install.
|
|
61
|
+
- **Less to read, and quicker.** The agent read over 40% less text with MemoryKing than with Basic Memory or the Knowledge Graph Memory server, and finished sooner than with any of the others. The tests confirm both.
|
|
62
|
+
- **Corrections followed.** When a fact changed over time, the agent with MemoryKing used the current value in 8 of 8 tasks.
|
|
63
|
+
- **Projects kept apart.** A fact private to one project never reached a session in another project with MemoryKing. The other three products keep one store for every project, and it reached 7 of their 9 sessions.
|
|
64
|
+
- **Planted instructions kept out.** A web page with a hidden instruction sat in the history. With MemoryKing it never reached the agent in any of 6 sessions.
|
|
65
|
+
- **It saves by itself.** When each product had to save its own memory over four real sessions, MemoryKing passed 4 of 4 tasks. With the other three products the corrected fact never reached the last session, and they passed none of the 8 runs that counted.
|
|
66
|
+
- **From ordinary use.** In the first two tests MemoryKing had only what its hooks capture in a normal session. The other three were given a head start: every earlier session was written into them in full.
|
|
67
|
+
|
|
68
|
+
Every product, every test:
|
|
69
|
+
|
|
70
|
+
| Memory product | Passed, 2,000 sessions | Passed, 200 sessions | Questions answered | Text read per task |
|
|
71
|
+
| --- | ---: | ---: | ---: | ---: |
|
|
72
|
+
| **MemoryKing**, as `memoryking setup` installs it | **12 of 12** | **23 of 27** | **51 of 60** | **123,000 tokens** |
|
|
73
|
+
| Knowledge Graph Memory server 2.2.1 (`@modelcontextprotocol/server-memory`) | 6 of 12 | 21 of 27 | 9 of 60 | 218,000 tokens |
|
|
74
|
+
| Basic Memory 1.0.0 | 4 of 12 | 19 of 27 | 49 of 60 | 219,000 tokens |
|
|
75
|
+
| MCP Memory Service 13.0.0 | 1 of 12 | 11 of 27 | 47 of 60 | 150,000 tokens |
|
|
76
|
+
| No memory product: every raw transcript in a folder to search | 9 of 12 | 20 of 27 | 38 of 60 | 168,000 tokens |
|
|
77
|
+
|
|
78
|
+
These are synthetic tasks and a public question set, with one model and one run per task, so read them as a guide, not a guarantee. The leads named as confirmed above passed a statistical test; the other gaps, including those to Basic Memory and MCP Memory Service on the questions, are too small for this many tasks to confirm. Results also move between draws: an earlier draw at 2,000 sessions, run before a fault in the benchmark was fixed and before a change to MemoryKing, gave MemoryKing 6 of 12, and with keyword search alone it answered 43 of the 60 questions. In three of the 27 tasks MemoryKing was given one saved preference that an agent would normally save itself; without those three the counts are 20, 18, 16, 9 and 18 of 24. The Knowledge Graph Memory server's 9 of 60 reflects its literal word search as our test drives it, not an agent trying several searches. In a separate run at 2,000 sessions MemoryKing passed 8 of 12 tasks and a notes file passed 1. The records of the [2,000-session run](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-t1-2000-fixed-generator-52aad17.md), the [200-session run](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-s2-tracks-52aad17.md), the [four-session test](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-s4-lived-99b1410.md), the question-answering runs ([keyword search](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-t5-99b1410.md), [with search by meaning](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-t5b-semantic-c79e1a1.md)) and the [notes-file run](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-t1-2000-7aceafe.md) give the method and every result, and the [results folder](https://github.com/jamesking-us/memoryking/tree/main/benchmarks/longhaul/results) holds the earlier runs.
|
|
79
|
+
|
|
42
80
|
## Why it is useful
|
|
43
81
|
|
|
44
82
|
Imagine an agent investigating a checkout bug. It discovers that a retry can charge a customer twice, tries a fix that fails, and runs out of context before finishing.
|
|
@@ -64,7 +102,7 @@ flowchart LR
|
|
|
64
102
|
|
|
65
103
|
## What is new
|
|
66
104
|
|
|
67
|
-
|
|
105
|
+
One command, `memoryking setup`, connects Claude Code, Codex or any other host that starts MCP servers: it creates a store, starts the service, issues the agent its own limited credential, registers the tools and installs session hooks. The default tool set is now small and answers in readable Markdown, and an agent can also keep preferences that follow you across every project. Token budgets count what the model really receives, questions that contain dates ("what did we decide last week") are understood, and a model you allow can draft claims for you to review. Credentials can be rotated, and a delegated token now acts as the person who issued it (a breaking change that the changelog explains). The [changelog](https://github.com/jamesking-us/memoryking/blob/main/CHANGELOG.md) lists everything, newest first, and the [release page](https://github.com/jamesking-us/memoryking/releases) carries the notes of each published version.
|
|
68
106
|
|
|
69
107
|
## What it does for agents
|
|
70
108
|
|
|
@@ -78,30 +116,32 @@ Everything since the last tagged pre-release is listed in the [changelog](https:
|
|
|
78
116
|
| Avoid stale advice | Repository identity, applicability rules and freshness checks for guidance tied to code. |
|
|
79
117
|
| Recover safely | Records of uncertain operations and history-aware backup/restore, so a restart does not silently authorize repeating an action. |
|
|
80
118
|
| Understand what happened | A dashboard with capacity, task progress, a per-project timeline, a memory graph, on-demand briefings with their receipts, and retrieval history. |
|
|
81
|
-
| Fit any agent host | A
|
|
119
|
+
| Fit any agent host | A small default MCP tool set (eleven tools: remember, recall, save progress, resume, hand off, propose, correct, forget, fetch, feedback and recent, plus a twelfth, confirm, only if you turn on chat review) for Claude Code, Codex, Grok or any stdio host; cited Markdown briefings; capture from the CLI, pytest or git hooks; `memoryking setup` also installs session hooks that load memory at the start of a session and save it before compaction and at the end. |
|
|
82
120
|
| Use any Claude API agent | Anthropic's memory tool answered from a project: notes are versioned observations, claim files are proposals, every write has a receipt. The same files export as a Markdown vault for hand editing and import back as versions and proposals. |
|
|
83
|
-
| Keep the review queue fed | Claims are drafted from repeated evidence with their sources attached, without a model, and wait for review like any proposal; nothing becomes knowledge by itself. |
|
|
121
|
+
| Keep the review queue fed | Claims are drafted from repeated evidence with their sources attached, without a model, or by a model you allow under your egress policy, and wait for review like any proposal; nothing becomes knowledge by itself. |
|
|
84
122
|
| Hold what you do not trust yet | Mark a source untrusted and its captures are recorded but invisible to every briefing and review until an admin releases them. |
|
|
85
123
|
| Know where a memory went | For any observation, every claim, checkpoint, handoff, summary and briefing built from it and who received them, from the dashboard or `memoryking influence`. |
|
|
86
124
|
| Know whether memory is paying for itself | A health report from the store's own receipts: helpful feedback, empty briefings, memory never read, claims that lost their evidence and the review backlog, with fixed thresholds and no model grading itself, from the dashboard or `memoryking health`. |
|
|
87
125
|
| Know what to do when something is refused | Every error reply carries a one-line hint, and a [generated page](https://github.com/jamesking-us/memoryking/blob/main/docs/error-codes.md) lists them all. |
|
|
88
126
|
|
|
89
|
-
The core runs locally **without a model account, GPU or paid API**. A shared PostgreSQL profile supports multiple agents and tenants.
|
|
127
|
+
The core runs locally **without a model account, GPU or paid API**. A shared PostgreSQL profile supports multiple agents and tenants. Search understands meaning, not only matching words: setup downloads a small search model (about 130 MB) once, says so before it does, and never contacts that host again. If you do want MemoryKing itself to talk to a model (Anthropic, OpenAI, xAI, Google Vertex AI, or one running on your own machine), you write a short policy saying which, and every request it sends is checked against that policy and recorded.
|
|
90
128
|
|
|
91
129
|
## See it work
|
|
92
130
|
|
|
93
|
-
You need Python **3.12
|
|
131
|
+
You need Python **3.12** (3.13 also works). On macOS and Linux, everything runs on your own computer. On Windows, the agent's side runs directly, and the memory itself needs [WSL2 or Docker Desktop](https://github.com/jamesking-us/memoryking/blob/main/docs/getting-started.md#on-windows) on the same computer; one `memoryking setup` command then sets up both.
|
|
132
|
+
|
|
133
|
+
From a terminal on macOS or Linux:
|
|
94
134
|
|
|
95
135
|
```sh
|
|
96
136
|
python3.12 -m venv .venv
|
|
97
|
-
.venv/bin/python -I -m pip install
|
|
137
|
+
.venv/bin/python -I -m pip install memoryking
|
|
98
138
|
git clone https://github.com/jamesking-us/memoryking.git
|
|
99
139
|
.venv/bin/python memoryking/examples/remember_and_resume.py
|
|
100
140
|
```
|
|
101
141
|
|
|
102
|
-
The first two lines install the released package
|
|
142
|
+
The first two lines install the released package; the checkout is only there for the example. The example creates a temporary store, saves a finding and an unfinished task, closes the first connection, and resumes through a new client. It prints a readable walkthrough, makes no model requests, and removes its temporary data when finished.
|
|
103
143
|
|
|
104
|
-
|
|
144
|
+
To connect an agent for real, run `memoryking setup claude-code --project my-app` (or `codex`, or `generic` for any other host). It creates a store, starts the service in the background, gives the agent a limited credential, registers the memory tools and installs the session hooks, and downloads the search model, after telling you what it fetches and from where (`--no-semantic` skips that and leaves search by keywords; if the download fails, setup still finishes and tells you how to retry); `memoryking setup ... --remove` undoes it. The [getting started guide](https://github.com/jamesking-us/memoryking/blob/main/docs/getting-started.md) walks through it, then `status`, `doctor` and `dashboard open` need no paths. If you are evaluating the idea rather than installing software, start with the [agent workflows](https://github.com/jamesking-us/memoryking/blob/main/docs/agent-guide.md).
|
|
105
145
|
|
|
106
146
|
## See what your agents are doing
|
|
107
147
|
|
|
@@ -140,17 +180,18 @@ See [deployment and configuration](https://github.com/jamesking-us/memoryking/bl
|
|
|
140
180
|
|
|
141
181
|
| Guide | What you will learn |
|
|
142
182
|
| --- | --- |
|
|
143
|
-
| [Getting started](https://github.com/jamesking-us/memoryking/blob/main/docs/getting-started.md) | Install, run the demo
|
|
183
|
+
| [Getting started](https://github.com/jamesking-us/memoryking/blob/main/docs/getting-started.md) | Install, connect your agent with `memoryking setup`, run the demo and open the dashboard. |
|
|
144
184
|
| [Using MemoryKing with agents](https://github.com/jamesking-us/memoryking/blob/main/docs/agent-guide.md) | Capture → brief → checkpoint → resume → handoff; Python, lean and full MCP profiles for any host, and automatic capture from hooks. |
|
|
145
185
|
| [Deployment and configuration](https://github.com/jamesking-us/memoryking/blob/main/docs/deployment.md) | Local/shared/Docker setups, credentials, configuration, upgrades and recovery. |
|
|
146
186
|
| [How it is designed](https://github.com/jamesking-us/memoryking/blob/main/docs/design.md) | Storage, knowledge review, retrieval, permissions and recovery guarantees. |
|
|
147
187
|
| [Feature and API reference](https://github.com/jamesking-us/memoryking/blob/main/docs/reference.md) | Interfaces, optional capabilities, limits and capacity, metrics, migration and troubleshooting. |
|
|
148
188
|
| [Error codes](https://github.com/jamesking-us/memoryking/blob/main/docs/error-codes.md) | Every error code with the next move, generated from the service's own table. |
|
|
149
189
|
| [Contributing](https://github.com/jamesking-us/memoryking/blob/main/CONTRIBUTING.md) | Build, test and maintain the project locally. |
|
|
190
|
+
| [Roadmap](https://github.com/jamesking-us/memoryking/blob/main/docs/roadmap.md) | What is planned next and what is already done. |
|
|
150
191
|
|
|
151
192
|
## Current status
|
|
152
193
|
|
|
153
|
-
**Early preview for local evaluation; not yet production-qualified.** Core behavior has automated coverage, but measured workload targets have not been met.
|
|
194
|
+
**Early preview for local evaluation; not yet production-qualified.** Core behavior has automated coverage, but measured workload targets have not been met. Evidence of real-task benefit comes from small synthetic benchmarks with a real agent, summarised under [How it measures up](#how-it-measures-up): with long histories MemoryKing passes more tasks than a notes file and than two other memory products, the agent reads less text, and on a public question set it answers the most, while on short single-project tasks a notes file does as well. A memory store on Windows itself, complete browser/device coverage, automatic failover and production recovery targets are not qualified. Third-party agent hosts need integration testing.
|
|
154
195
|
|
|
155
196
|
MemoryKing helps preserve and inspect context; it does not make an agent's conclusions automatically correct. Use reviewed evidence and appropriate human approval for consequential work. See the [security model](https://github.com/jamesking-us/memoryking/blob/main/SECURITY.md) and [current limits](https://github.com/jamesking-us/memoryking/blob/main/docs/reference.md#current-limits).
|
|
156
197
|
|
|
@@ -8,6 +8,42 @@ Think of it as a **shared project notebook with a save point**. When a conversat
|
|
|
8
8
|
|
|
9
9
|
It is a service that you connect to your agents. It does not automatically read your chats or run agents for you.
|
|
10
10
|
|
|
11
|
+
## How it measures up
|
|
12
|
+
|
|
13
|
+
We tested MemoryKing head to head against three other memory products, and against simply handing the agent every raw transcript to search. Each got the same tasks with a real coding agent (Claude Code). **MemoryKing had the top score in all four tests**, level with a plain notes file in one.
|
|
14
|
+
|
|
15
|
+
| What we tested | MemoryKing | Runner-up | Who the runner-up was |
|
|
16
|
+
| --- | ---: | ---: | --- |
|
|
17
|
+
| Finding one fact hidden among 2,000 earlier sessions | **12 of 12** | 9 of 12 | Searching the raw transcripts, with no memory product (the best other product got 6) |
|
|
18
|
+
| Handling corrected facts, deleted memories, several projects and planted instructions | **23 of 27** | 21 of 27 | Knowledge Graph Memory server |
|
|
19
|
+
| Answering questions about long chat histories (the public LongMemEval set) | **51 of 60** | 49 of 60 | Basic Memory |
|
|
20
|
+
| Saving its own memory across four real sessions | **4 of 4** | 4 of 4 | A plain notes file (the other three products got 0) |
|
|
21
|
+
|
|
22
|
+
MemoryKing also gave the agent the least to read: 123,000 tokens per task on average, against 150,000 for the next lowest (MCP Memory Service) and about 218,000 for the other two products.
|
|
23
|
+
|
|
24
|
+
What that means in practice:
|
|
25
|
+
|
|
26
|
+
- **Nothing missed in a long history.** MemoryKing passed all 12 tasks at 2,000 sessions. The tests confirm its lead over Basic Memory there, and over MCP Memory Service at both sizes.
|
|
27
|
+
- **Most questions answered.** MemoryKing answered 51 of 60 questions correctly, more than any other product, and the test confirms its lead over a plain text search. Search by meaning is part of the standard install.
|
|
28
|
+
- **Less to read, and quicker.** The agent read over 40% less text with MemoryKing than with Basic Memory or the Knowledge Graph Memory server, and finished sooner than with any of the others. The tests confirm both.
|
|
29
|
+
- **Corrections followed.** When a fact changed over time, the agent with MemoryKing used the current value in 8 of 8 tasks.
|
|
30
|
+
- **Projects kept apart.** A fact private to one project never reached a session in another project with MemoryKing. The other three products keep one store for every project, and it reached 7 of their 9 sessions.
|
|
31
|
+
- **Planted instructions kept out.** A web page with a hidden instruction sat in the history. With MemoryKing it never reached the agent in any of 6 sessions.
|
|
32
|
+
- **It saves by itself.** When each product had to save its own memory over four real sessions, MemoryKing passed 4 of 4 tasks. With the other three products the corrected fact never reached the last session, and they passed none of the 8 runs that counted.
|
|
33
|
+
- **From ordinary use.** In the first two tests MemoryKing had only what its hooks capture in a normal session. The other three were given a head start: every earlier session was written into them in full.
|
|
34
|
+
|
|
35
|
+
Every product, every test:
|
|
36
|
+
|
|
37
|
+
| Memory product | Passed, 2,000 sessions | Passed, 200 sessions | Questions answered | Text read per task |
|
|
38
|
+
| --- | ---: | ---: | ---: | ---: |
|
|
39
|
+
| **MemoryKing**, as `memoryking setup` installs it | **12 of 12** | **23 of 27** | **51 of 60** | **123,000 tokens** |
|
|
40
|
+
| Knowledge Graph Memory server 2.2.1 (`@modelcontextprotocol/server-memory`) | 6 of 12 | 21 of 27 | 9 of 60 | 218,000 tokens |
|
|
41
|
+
| Basic Memory 1.0.0 | 4 of 12 | 19 of 27 | 49 of 60 | 219,000 tokens |
|
|
42
|
+
| MCP Memory Service 13.0.0 | 1 of 12 | 11 of 27 | 47 of 60 | 150,000 tokens |
|
|
43
|
+
| No memory product: every raw transcript in a folder to search | 9 of 12 | 20 of 27 | 38 of 60 | 168,000 tokens |
|
|
44
|
+
|
|
45
|
+
These are synthetic tasks and a public question set, with one model and one run per task, so read them as a guide, not a guarantee. The leads named as confirmed above passed a statistical test; the other gaps, including those to Basic Memory and MCP Memory Service on the questions, are too small for this many tasks to confirm. Results also move between draws: an earlier draw at 2,000 sessions, run before a fault in the benchmark was fixed and before a change to MemoryKing, gave MemoryKing 6 of 12, and with keyword search alone it answered 43 of the 60 questions. In three of the 27 tasks MemoryKing was given one saved preference that an agent would normally save itself; without those three the counts are 20, 18, 16, 9 and 18 of 24. The Knowledge Graph Memory server's 9 of 60 reflects its literal word search as our test drives it, not an agent trying several searches. In a separate run at 2,000 sessions MemoryKing passed 8 of 12 tasks and a notes file passed 1. The records of the [2,000-session run](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-t1-2000-fixed-generator-52aad17.md), the [200-session run](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-s2-tracks-52aad17.md), the [four-session test](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-s4-lived-99b1410.md), the question-answering runs ([keyword search](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-t5-99b1410.md), [with search by meaning](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-t5b-semantic-c79e1a1.md)) and the [notes-file run](https://github.com/jamesking-us/memoryking/blob/main/benchmarks/longhaul/results/2026-11-23-t1-2000-7aceafe.md) give the method and every result, and the [results folder](https://github.com/jamesking-us/memoryking/tree/main/benchmarks/longhaul/results) holds the earlier runs.
|
|
46
|
+
|
|
11
47
|
## Why it is useful
|
|
12
48
|
|
|
13
49
|
Imagine an agent investigating a checkout bug. It discovers that a retry can charge a customer twice, tries a fix that fails, and runs out of context before finishing.
|
|
@@ -33,7 +69,7 @@ flowchart LR
|
|
|
33
69
|
|
|
34
70
|
## What is new
|
|
35
71
|
|
|
36
|
-
|
|
72
|
+
One command, `memoryking setup`, connects Claude Code, Codex or any other host that starts MCP servers: it creates a store, starts the service, issues the agent its own limited credential, registers the tools and installs session hooks. The default tool set is now small and answers in readable Markdown, and an agent can also keep preferences that follow you across every project. Token budgets count what the model really receives, questions that contain dates ("what did we decide last week") are understood, and a model you allow can draft claims for you to review. Credentials can be rotated, and a delegated token now acts as the person who issued it (a breaking change that the changelog explains). The [changelog](https://github.com/jamesking-us/memoryking/blob/main/CHANGELOG.md) lists everything, newest first, and the [release page](https://github.com/jamesking-us/memoryking/releases) carries the notes of each published version.
|
|
37
73
|
|
|
38
74
|
## What it does for agents
|
|
39
75
|
|
|
@@ -47,30 +83,32 @@ Everything since the last tagged pre-release is listed in the [changelog](https:
|
|
|
47
83
|
| Avoid stale advice | Repository identity, applicability rules and freshness checks for guidance tied to code. |
|
|
48
84
|
| Recover safely | Records of uncertain operations and history-aware backup/restore, so a restart does not silently authorize repeating an action. |
|
|
49
85
|
| Understand what happened | A dashboard with capacity, task progress, a per-project timeline, a memory graph, on-demand briefings with their receipts, and retrieval history. |
|
|
50
|
-
| Fit any agent host | A
|
|
86
|
+
| Fit any agent host | A small default MCP tool set (eleven tools: remember, recall, save progress, resume, hand off, propose, correct, forget, fetch, feedback and recent, plus a twelfth, confirm, only if you turn on chat review) for Claude Code, Codex, Grok or any stdio host; cited Markdown briefings; capture from the CLI, pytest or git hooks; `memoryking setup` also installs session hooks that load memory at the start of a session and save it before compaction and at the end. |
|
|
51
87
|
| Use any Claude API agent | Anthropic's memory tool answered from a project: notes are versioned observations, claim files are proposals, every write has a receipt. The same files export as a Markdown vault for hand editing and import back as versions and proposals. |
|
|
52
|
-
| Keep the review queue fed | Claims are drafted from repeated evidence with their sources attached, without a model, and wait for review like any proposal; nothing becomes knowledge by itself. |
|
|
88
|
+
| Keep the review queue fed | Claims are drafted from repeated evidence with their sources attached, without a model, or by a model you allow under your egress policy, and wait for review like any proposal; nothing becomes knowledge by itself. |
|
|
53
89
|
| Hold what you do not trust yet | Mark a source untrusted and its captures are recorded but invisible to every briefing and review until an admin releases them. |
|
|
54
90
|
| Know where a memory went | For any observation, every claim, checkpoint, handoff, summary and briefing built from it and who received them, from the dashboard or `memoryking influence`. |
|
|
55
91
|
| Know whether memory is paying for itself | A health report from the store's own receipts: helpful feedback, empty briefings, memory never read, claims that lost their evidence and the review backlog, with fixed thresholds and no model grading itself, from the dashboard or `memoryking health`. |
|
|
56
92
|
| Know what to do when something is refused | Every error reply carries a one-line hint, and a [generated page](https://github.com/jamesking-us/memoryking/blob/main/docs/error-codes.md) lists them all. |
|
|
57
93
|
|
|
58
|
-
The core runs locally **without a model account, GPU or paid API**. A shared PostgreSQL profile supports multiple agents and tenants.
|
|
94
|
+
The core runs locally **without a model account, GPU or paid API**. A shared PostgreSQL profile supports multiple agents and tenants. Search understands meaning, not only matching words: setup downloads a small search model (about 130 MB) once, says so before it does, and never contacts that host again. If you do want MemoryKing itself to talk to a model (Anthropic, OpenAI, xAI, Google Vertex AI, or one running on your own machine), you write a short policy saying which, and every request it sends is checked against that policy and recorded.
|
|
59
95
|
|
|
60
96
|
## See it work
|
|
61
97
|
|
|
62
|
-
You need Python **3.12
|
|
98
|
+
You need Python **3.12** (3.13 also works). On macOS and Linux, everything runs on your own computer. On Windows, the agent's side runs directly, and the memory itself needs [WSL2 or Docker Desktop](https://github.com/jamesking-us/memoryking/blob/main/docs/getting-started.md#on-windows) on the same computer; one `memoryking setup` command then sets up both.
|
|
99
|
+
|
|
100
|
+
From a terminal on macOS or Linux:
|
|
63
101
|
|
|
64
102
|
```sh
|
|
65
103
|
python3.12 -m venv .venv
|
|
66
|
-
.venv/bin/python -I -m pip install
|
|
104
|
+
.venv/bin/python -I -m pip install memoryking
|
|
67
105
|
git clone https://github.com/jamesking-us/memoryking.git
|
|
68
106
|
.venv/bin/python memoryking/examples/remember_and_resume.py
|
|
69
107
|
```
|
|
70
108
|
|
|
71
|
-
The first two lines install the released package
|
|
109
|
+
The first two lines install the released package; the checkout is only there for the example. The example creates a temporary store, saves a finding and an unfinished task, closes the first connection, and resumes through a new client. It prints a readable walkthrough, makes no model requests, and removes its temporary data when finished.
|
|
72
110
|
|
|
73
|
-
|
|
111
|
+
To connect an agent for real, run `memoryking setup claude-code --project my-app` (or `codex`, or `generic` for any other host). It creates a store, starts the service in the background, gives the agent a limited credential, registers the memory tools and installs the session hooks, and downloads the search model, after telling you what it fetches and from where (`--no-semantic` skips that and leaves search by keywords; if the download fails, setup still finishes and tells you how to retry); `memoryking setup ... --remove` undoes it. The [getting started guide](https://github.com/jamesking-us/memoryking/blob/main/docs/getting-started.md) walks through it, then `status`, `doctor` and `dashboard open` need no paths. If you are evaluating the idea rather than installing software, start with the [agent workflows](https://github.com/jamesking-us/memoryking/blob/main/docs/agent-guide.md).
|
|
74
112
|
|
|
75
113
|
## See what your agents are doing
|
|
76
114
|
|
|
@@ -109,17 +147,18 @@ See [deployment and configuration](https://github.com/jamesking-us/memoryking/bl
|
|
|
109
147
|
|
|
110
148
|
| Guide | What you will learn |
|
|
111
149
|
| --- | --- |
|
|
112
|
-
| [Getting started](https://github.com/jamesking-us/memoryking/blob/main/docs/getting-started.md) | Install, run the demo
|
|
150
|
+
| [Getting started](https://github.com/jamesking-us/memoryking/blob/main/docs/getting-started.md) | Install, connect your agent with `memoryking setup`, run the demo and open the dashboard. |
|
|
113
151
|
| [Using MemoryKing with agents](https://github.com/jamesking-us/memoryking/blob/main/docs/agent-guide.md) | Capture → brief → checkpoint → resume → handoff; Python, lean and full MCP profiles for any host, and automatic capture from hooks. |
|
|
114
152
|
| [Deployment and configuration](https://github.com/jamesking-us/memoryking/blob/main/docs/deployment.md) | Local/shared/Docker setups, credentials, configuration, upgrades and recovery. |
|
|
115
153
|
| [How it is designed](https://github.com/jamesking-us/memoryking/blob/main/docs/design.md) | Storage, knowledge review, retrieval, permissions and recovery guarantees. |
|
|
116
154
|
| [Feature and API reference](https://github.com/jamesking-us/memoryking/blob/main/docs/reference.md) | Interfaces, optional capabilities, limits and capacity, metrics, migration and troubleshooting. |
|
|
117
155
|
| [Error codes](https://github.com/jamesking-us/memoryking/blob/main/docs/error-codes.md) | Every error code with the next move, generated from the service's own table. |
|
|
118
156
|
| [Contributing](https://github.com/jamesking-us/memoryking/blob/main/CONTRIBUTING.md) | Build, test and maintain the project locally. |
|
|
157
|
+
| [Roadmap](https://github.com/jamesking-us/memoryking/blob/main/docs/roadmap.md) | What is planned next and what is already done. |
|
|
119
158
|
|
|
120
159
|
## Current status
|
|
121
160
|
|
|
122
|
-
**Early preview for local evaluation; not yet production-qualified.** Core behavior has automated coverage, but measured workload targets have not been met.
|
|
161
|
+
**Early preview for local evaluation; not yet production-qualified.** Core behavior has automated coverage, but measured workload targets have not been met. Evidence of real-task benefit comes from small synthetic benchmarks with a real agent, summarised under [How it measures up](#how-it-measures-up): with long histories MemoryKing passes more tasks than a notes file and than two other memory products, the agent reads less text, and on a public question set it answers the most, while on short single-project tasks a notes file does as well. A memory store on Windows itself, complete browser/device coverage, automatic failover and production recovery targets are not qualified. Third-party agent hosts need integration testing.
|
|
123
162
|
|
|
124
163
|
MemoryKing helps preserve and inspect context; it does not make an agent's conclusions automatically correct. Use reviewed evidence and appropriate human approval for consequential work. See the [security model](https://github.com/jamesking-us/memoryking/blob/main/SECURITY.md) and [current limits](https://github.com/jamesking-us/memoryking/blob/main/docs/reference.md#current-limits).
|
|
125
164
|
|
|
@@ -4,21 +4,28 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "memoryking"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.2.0"
|
|
8
8
|
description = "MemoryKing local memory, checkpoint and recovery service"
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.12,<3.
|
|
10
|
+
requires-python = ">=3.12,<3.14"
|
|
11
11
|
license = "Apache-2.0"
|
|
12
12
|
license-files = ["LICENSE", "NOTICE"]
|
|
13
13
|
authors = [{ name = "James King" }]
|
|
14
|
-
dependencies = [
|
|
14
|
+
dependencies = [
|
|
15
|
+
"jsonschema==4.26.0",
|
|
16
|
+
"onnxruntime==1.23.2",
|
|
17
|
+
"numpy==2.5.4",
|
|
18
|
+
"tokenizers==0.23.3",
|
|
19
|
+
]
|
|
15
20
|
classifiers = [
|
|
16
|
-
"Development Status ::
|
|
21
|
+
"Development Status :: 4 - Beta",
|
|
17
22
|
"Intended Audience :: Developers",
|
|
18
23
|
"Operating System :: MacOS",
|
|
24
|
+
"Operating System :: Microsoft :: Windows",
|
|
19
25
|
"Operating System :: POSIX :: Linux",
|
|
20
26
|
"Programming Language :: Python :: 3 :: Only",
|
|
21
27
|
"Programming Language :: Python :: 3.12",
|
|
28
|
+
"Programming Language :: Python :: 3.13",
|
|
22
29
|
"Topic :: Software Development :: Libraries",
|
|
23
30
|
]
|
|
24
31
|
|
|
@@ -27,6 +34,7 @@ Repository = "https://github.com/jamesking-us/memoryking"
|
|
|
27
34
|
|
|
28
35
|
[project.scripts]
|
|
29
36
|
memoryking = "memoryking.__main__:main"
|
|
37
|
+
memoryking-hook = "memoryking.hook_cli:main"
|
|
30
38
|
memoryking-migrate = "memoryking.migration:main"
|
|
31
39
|
memoryking-shared = "memoryking.shared:main"
|
|
32
40
|
memoryking-reference-agent = "memoryking.reference_agent:main"
|
|
@@ -35,14 +43,16 @@ memoryking-embedding-worker = "memoryking.embedding_worker:main"
|
|
|
35
43
|
|
|
36
44
|
[project.optional-dependencies]
|
|
37
45
|
tokenizers = ["tiktoken==0.12.0"]
|
|
38
|
-
|
|
46
|
+
# Semantic search is part of the core install now; the extra stays so that
|
|
47
|
+
# `pip install memoryking[embeddings]` keeps resolving. It adds nothing.
|
|
48
|
+
embeddings = []
|
|
39
49
|
shared = ["psycopg[binary]==3.3.6", "psycopg-pool==3.3.3", "mcp==2.3.0"]
|
|
40
50
|
|
|
41
51
|
[tool.setuptools.packages.find]
|
|
42
52
|
where = ["src"]
|
|
43
53
|
|
|
44
54
|
[tool.setuptools.package-data]
|
|
45
|
-
"memoryking" = ["py.typed"]
|
|
55
|
+
"memoryking" = ["py.typed", "locks/*.lock"]
|
|
46
56
|
"memoryking.contracts" = ["*.json", "py.typed"]
|
|
47
57
|
"memoryking.adapters" = ["*.sql", "*.json", "web/*", "tokenizers/*", "models/*.json"]
|
|
48
58
|
|
|
@@ -63,5 +73,17 @@ strict = true
|
|
|
63
73
|
files = ["src/memoryking"]
|
|
64
74
|
|
|
65
75
|
[[tool.mypy.overrides]]
|
|
66
|
-
module = [
|
|
76
|
+
module = [
|
|
77
|
+
"jsonschema",
|
|
78
|
+
"jsonschema.*",
|
|
79
|
+
# Optional framework adapters and the optional embeddings runtime import these lazily; they
|
|
80
|
+
# are not installed for this check.
|
|
81
|
+
"claude_agent_sdk",
|
|
82
|
+
"mcp.types",
|
|
83
|
+
"agents",
|
|
84
|
+
"langchain_core.*",
|
|
85
|
+
"numpy",
|
|
86
|
+
"langgraph.*",
|
|
87
|
+
"llama_index.*",
|
|
88
|
+
]
|
|
67
89
|
ignore_missing_imports = true
|