diff --git a/docs/HMP-0005.md b/docs/HMP-0005.md index 616d2a946687a70e82107f5eabc6c04b29d0aaeb..f359dc60bade176fa21fdcc3ea2faa878ddfed99 100644 --- a/docs/HMP-0005.md +++ b/docs/HMP-0005.md @@ -5601,22 +5601,232 @@ EGP is an independent ethical governance layer compatible with HMP. --- + ## 10. Integration -> Раздел заменяет прежний “Quick Start” и описывает **практическое встраивание** HMP в агенты, LLM и внешние системы. - -10.1 Integration philosophy (how agents connect to HMP mesh) -10.2 HMP as a subsystem in cognitive architectures (LLM-based, rule-based, hybrid) -10.3 Integration patterns: - * Cognitive Agent ↔ HMP Core - * HMP Mesh ↔ Other distributed systems (Fediverse, IPFS, Matrix) - * Translator nodes (protocol bridges) -10.4 Multi-mesh federation and knowledge exchange -10.5 Container repositories as knowledge backbones -10.6 Example integration flows: - * LLM thinking via HMP workflow containers - * Local mesh + external HMP relay - * Cognitive data mirroring (agent ↔ mesh) +This section provides a practical overview of how HMP can be integrated into cognitive agents, LLM-based systems, and distributed infrastructures. +Two types of HMP agents are supported: + +- **Cognitive Core (CCore)** — a native HMP agent that fully understands container structure and directly participates in the Mesh. +- **Cognitive Shell (CShell)** — a connector module that mediates between an external LLM and the Mesh. + +Both forms of integration are first-class citizens of HMP v5.0. + +--- + +### 10.1 Integration Philosophy: Two Complementary Approaches + +HMP supports two integration paths, corresponding to two operation modes of agents. + +#### 10.1.1 Path A: Cognitive Core (CCore) + +A CCore agent: + +- internally maintains a cognitive cycle, +- creates new containers (`workflow_entry`, `goal`, `task`, `diary_entry`, `semantic_node`, etc.), +- attaches MCE metadata (`evaluation`, `referenced-by`), +- signs and publishes containers, +- retrieves containers from the Mesh and incorporates them into its cognitive state. + +A CCore node is a full Mesh participant: it interacts directly with the DHT, performs IQP queries, and maintains its semantic and diary structures. + +> **Note:** +> The LLM inside a CCore is treated as an internal cognitive module — not as an external system. + +--- + +#### 10.1.2 Path B: Cognitive Shell (CShell) + +CShell acts as a proxy and compatibility layer between an external model and HMP: + +``` +LLM + ↑ responses, RAG output (CShell → LLM) + | + ↓ container queries, control commands (LLM → CShell) +CShell + ↑ retrieval of containers (Mesh → CShell) + | + ↓ container publication (CShell → Mesh) +HMP Mesh +``` + +CShell: + +- stores containers locally, +- retrieves relevant containers from the Mesh, +- performs RAG-based selection and summarization, +- exposes help and protocol descriptions to the LLM, +- constructs valid HMP containers from LLM instructions, +- handles signatures, TTL logic, propagation scopes, and header rules, +- manages MCE metadata (evaluations, reverse links), +- may be extended with translator modules (Matrix, Fediverse, IPFS, LAN relay). + +LLM: + +- requests containers, +- requests summaries or explanations of container classes, +- issues formal instructions: + - *“create a new workflow entry with the following content”*, + - *“add evaluation for container X”*, + - *“forward container X to node U (if permitted by container headers)”*, + - *“retrieve semantic nodes related to …”*, + - *“explain the structure of CShell and available commands”*; +- may adjust CShell parameters (optional). + +> **Notes** +> +> CShell does not manually override container propagation scope. +> Propagation is determined by container headers. +> +> LLM does not modify existing *distributed* containers. +> It operates only on drafts before publication, or on metadata (`evaluation`, `referenced-by`). +> +> LLM cannot modify or delete already published containers. It may instruct +> CShell to remove items from its *local storage* (e.g., caches or drafts), but distributed containers remain immutable within the Mesh. +> +> CShell ensures that all actions conform to HMP protocol semantics. + +--- + +### 10.2 HMP as a Subsystem in Cognitive Architectures + +#### 10.2.1 Embedded LLM Agents (CCore) + +The cognitive cycle proceeds as: + +1. CCore ← retrieves relevant containers from the Mesh. +2. LLM → performs reasoning and produces drafts of new containers (e.g., workflow_entry). +3. CCore → finalizes reasoning into diary entries. +4. CCore → publishes containers into the Mesh. + +Here the LLM is an internal cognitive component of the agent. + +--- + +#### 10.2.2 External LLMs via CShell + +The cycle proceeds as: + +1. LLM ← receives relevant containers or summaries from CShell. +2. LLM → performs reasoning. +3. LLM → issues structured operation instructions (retrieve, create draft, add evaluation, forward to node, adjust parameters). +4. CShell → constructs valid HMP containers. +5. CShell → interacts with the Mesh (publish, retrieve) in accordance with container headers. +6. CShell → prepares structured containers data for LLM (RAG, summaries, semantic selections). + +LLM interacts with HMP just like with any other external tool (files, memory, browser, code interpreter). + +--- + +### 10.3 Integration Patterns + +#### 10.3.1 Agent ↔ HMP Core + +- **CCore:** direct participation in Mesh, cognitive memory, semantic graph maintenance. +- **CShell:** the agent is external; container operations are executed by CShell on the agent’s behalf. + +Both modes implement the same logical interface, but with different levels of autonomy. + +--- + +### 10.3.2 HMP Mesh ↔ External Distributed Systems + +An HMP agent may act directly in external ecosystems under its own identity: + +- as a Fediverse Actor (ActivityPub), +- as a Matrix user/bot, +- as an IPFS/BitTorrent publisher, +- as an MQTT/ROS interface, +- as an enterprise-system client. + +This external interaction may be implemented inside CShell (as part of its plugin set), integrated into CCore, or delegated to a separate low-intelligence proxy module. The mechanism is not specific to HMP: CShell is simply one of the external modules an LLM may use. + +--- + +#### 10.3.3 Hybrid and Boundary Nodes (“Combined” pattern) + +Some nodes do not contain LLMs and perform only infrastructural roles: + +- segment relays (LAN ↔ WAN), +- container aggregators, +- caching nodes, +- federation bridges. + +In hybrid environments: + +- **CCore** performs cognitive processing, +- **CShell** handles container transformation and relay work, +- **relay nodes** forward and filter containers across segments. + +This allows CCore to offload low-level routing to CShell or relay nodes. + +--- + +### 10.4 Multi-Mesh Federation and Segments + +In HMP, a *federation* is a set of independent Mesh segments, each with its own namespace and propagation policies. +Containers include headers defining scope (e.g., “local-only”, “LAN-only”, “public”), and these headers determine whether a container may traverse segment boundaries. + +**Any HMP node may act as a bridge** between segments. +A bridge forwards only containers whose headers allow cross-segment propagation; others remain confined to their origin segment. + +Federations are defined by: + +- multi-segment DHT overlays, +- header-based propagation control, +- relay/bridge nodes that respect propagation scopes, +- selective forwarding performed by CShell or other agents. + +Containers intended for a specific segment (e.g., LAN-only) remain confined to that segment. + +There is no separate notion of “strong” or “granular” federation: all propagation is inherently granular and determined entirely by container headers. + + +--- + +### 10.5 Container Repositories and Storage + +Any HMP agent — CCore or CShell — can act as a **container storage node**, including: + +- local container stores, +- organizational or team-restricted stores, +- public container hubs, +- archival stores (`archive_snapshot`), +- semantic and diary caches, +- IPFS or BitTorrent publishers (optional). + +The term **storage** is preferred to avoid confusion with version-controlled “repositories”. + +CShell is often the preferred component for storage-heavy or relay-heavy roles, reducing the load on CCore. + +--- + +### 10.6 Example Integration Flows + +#### 10.6.1 Workflow-driven LLM reasoning + +- **CCore:** LLM directly produces workflow containers which CCore stores and publishes. +- **CShell:** LLM produces instructions; CShell generates and publishes containers. + +--- + +#### 10.6.2 Local Mesh + External Relay + +- **CCore:** full DHT participation; direct segment detection. +- **CShell:** manages relay behavior based on container headers. + +Containers marked “LAN-only” do not leave the segment. +Relay nodes forward only containers whose headers permit propagation. + +--- + +#### 10.6.3 Agent ↔ Mesh Mirroring + +- **CCore:** maintains its own diary and mirrors selected entries externally. +- **CShell:** mirrors on request; provides diary entries back to the LLM via RAG. + +Agents can choose which cognitive data to expose or retain locally. --- diff --git a/structured_md/CONTRIBUTING.md b/structured_md/CONTRIBUTING.md index f1833f8580b720415e0ef08c25b234d52b3bcac3..3e549a7b3d15f946eb6defee4b65c8701a077462 100644 --- a/structured_md/CONTRIBUTING.md +++ b/structured_md/CONTRIBUTING.md @@ -5,14 +5,14 @@ description: 'Спасибо за интерес к проекту HMP! Пока Mesh Protocol (HMP) — это не просто те...' type: Article tags: -- REPL -- Mesh -- Ethics - CogSync +- Ethics - CCore +- JSON +- REPL - HMP - Agent -- JSON +- Mesh --- # Участие в проекте HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/HMP-Roadmap.md b/structured_md/HMP-Roadmap.md index e34af70597e06f5ceae10f2853cab1d4e2cb37f6..54103d053e19c4fef6a03e524a1945bb46fc35ea 100644 --- a/structured_md/HMP-Roadmap.md +++ b/structured_md/HMP-Roadmap.md @@ -5,13 +5,13 @@ description: '## 🔍 Overview This roadmap outlines the key stages of developm multiple advanced AI models (Copilot, Claude, G...' type: Article tags: -- Ethics -- Mesh - CogSync -- EGP +- Ethics +- JSON - HMP +- EGP - Agent -- JSON +- Mesh --- # 🧭 HyperCortex Mesh Protocol – Roadmap diff --git a/structured_md/README.md b/structured_md/README.md index c2ad46c9198370ffa6bafa4a61e2a572b40283b7..d037cbb581f961e100ae00e91880d82a38a59a06 100644 --- a/structured_md/README.md +++ b/structured_md/README.md @@ -5,21 +5,21 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- JSON -- hmp -- REPL -- Mesh -- Ethics -- CogSync - Scenarios -- MeshConsensus -- mesh-protocol -- GMP -- EGP -- HMP - distributed-ai +- hmp - Agent +- CogSync +- Ethics +- JSON +- REPL - cognitive-architecture +- HMP +- EGP +- MeshConsensus +- GMP +- mesh-protocol +- Mesh --- diff --git a/structured_md/README_de.md b/structured_md/README_de.md index 645944a803417aeaceed68caedaed8311f8ee612..226096ec114753d1583d86ffc830aa1457c3605c 100644 --- a/structured_md/README_de.md +++ b/structured_md/README_de.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- JSON +- distributed-ai - hmp -- REPL -- Mesh -- Ethics +- Agent - CogSync +- Ethics +- JSON +- REPL +- cognitive-architecture +- HMP +- EGP - MeshConsensus -- mesh-protocol - GMP -- EGP -- HMP -- distributed-ai -- Agent -- cognitive-architecture +- mesh-protocol +- Mesh --- diff --git a/structured_md/README_fr.md b/structured_md/README_fr.md index fe668fb577cf3653811a70e7903e8881de28761a..d195a7d8022613d926f3db20691e5d6f1c8e1089 100644 --- a/structured_md/README_fr.md +++ b/structured_md/README_fr.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- JSON +- distributed-ai - hmp -- REPL -- Mesh -- Ethics +- Agent - CogSync +- Ethics +- JSON +- REPL +- cognitive-architecture +- HMP +- EGP - MeshConsensus -- mesh-protocol - GMP -- EGP -- HMP -- distributed-ai -- Agent -- cognitive-architecture +- mesh-protocol +- Mesh --- diff --git a/structured_md/README_ja.md b/structured_md/README_ja.md index eb2f9dbc27161deb39da75b25754e3fa4cd7934e..c6344c92e0999352442544ac8605067bbffcca58 100644 --- a/structured_md/README_ja.md +++ b/structured_md/README_ja.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- JSON +- distributed-ai - hmp -- REPL -- Mesh -- Ethics +- Agent - CogSync +- Ethics +- JSON +- REPL +- cognitive-architecture +- HMP +- EGP - MeshConsensus -- mesh-protocol - GMP -- EGP -- HMP -- distributed-ai -- Agent -- cognitive-architecture +- mesh-protocol +- Mesh --- diff --git a/structured_md/README_ko.md b/structured_md/README_ko.md index 12ecdb4d93f06e01df3c858145fcc551ed614db4..14a31276bfb625d1ca200aa6d80e6249dee9d151 100644 --- a/structured_md/README_ko.md +++ b/structured_md/README_ko.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- JSON +- distributed-ai - hmp -- REPL -- Mesh -- Ethics +- Agent - CogSync +- Ethics +- JSON +- REPL +- cognitive-architecture +- HMP +- EGP - MeshConsensus -- mesh-protocol - GMP -- EGP -- HMP -- distributed-ai -- Agent -- cognitive-architecture +- mesh-protocol +- Mesh --- diff --git a/structured_md/README_ru.md b/structured_md/README_ru.md index 910db835d2cd8889587ff626b2cf5509fb07150c..572ed44b754819a175e9953cf95491967e21d39b 100644 --- a/structured_md/README_ru.md +++ b/structured_md/README_ru.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- JSON +- distributed-ai - hmp -- REPL -- Mesh -- Ethics +- Agent - CogSync +- Ethics +- JSON +- REPL +- cognitive-architecture +- HMP +- EGP - MeshConsensus -- mesh-protocol - GMP -- EGP -- HMP -- distributed-ai -- Agent -- cognitive-architecture +- mesh-protocol +- Mesh --- diff --git a/structured_md/README_uk.md b/structured_md/README_uk.md index f7756af80677a30fbc17c77846862616ace70417..bc6246f5a5206af37d9bfe1ad808b08c219b86f4 100644 --- a/structured_md/README_uk.md +++ b/structured_md/README_uk.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- JSON +- distributed-ai - hmp -- REPL -- Mesh -- Ethics +- Agent - CogSync +- Ethics +- JSON +- REPL +- cognitive-architecture +- HMP +- EGP - MeshConsensus -- mesh-protocol - GMP -- EGP -- HMP -- distributed-ai -- Agent -- cognitive-architecture +- mesh-protocol +- Mesh --- diff --git a/structured_md/README_zh.md b/structured_md/README_zh.md index 0b348a700218c4256d861d7facc9b6eba965e5da..1d780e89660bbd27c89973671bd05839217d6338 100644 --- a/structured_md/README_zh.md +++ b/structured_md/README_zh.md @@ -5,20 +5,20 @@ description: '| 🌍 Languages | 🇬🇧 [EN](README.md) | 🇩🇪 [DE](README | 🇨🇳 [ZH](README_zh.m...' type: Article tags: -- JSON +- distributed-ai - hmp -- REPL -- Mesh -- Ethics +- Agent - CogSync +- Ethics +- JSON +- REPL +- cognitive-architecture +- HMP +- EGP - MeshConsensus -- mesh-protocol - GMP -- EGP -- HMP -- distributed-ai -- Agent -- cognitive-architecture +- mesh-protocol +- Mesh --- diff --git a/structured_md/agents/prompt-short.md b/structured_md/agents/prompt-short.md index 302f29d0b979656952dfcc1a84f65a3aed8b6326..d8e693fca899028bb008329d5777e0341a45784b 100644 --- a/structured_md/agents/prompt-short.md +++ b/structured_md/agents/prompt-short.md @@ -5,9 +5,9 @@ description: 'Ты — когнитивное ядро HMP-агента: вед развивай агента и Mesh, избег...' type: Article tags: +- HMP - JSON - Mesh -- HMP --- Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту. diff --git a/structured_md/agents/prompt.md b/structured_md/agents/prompt.md index 38249f7a16085d7245c67145f477dfce1ea7c433..8af7945efe701da17784aa853ef7e9b1ba0c6f04 100644 --- a/structured_md/agents/prompt.md +++ b/structured_md/agents/prompt.md @@ -5,9 +5,9 @@ description: '* Постоянно расширять возможности а мышления. * Формировать и поддерживать сотр...' type: Article tags: +- HMP - JSON - Mesh -- HMP --- Ты являешься **когнитивным ядром HMP-агента** (Cognitive Core). diff --git a/structured_md/agents/readme.md b/structured_md/agents/readme.md index 6e1adea7b1d122e17c609cf4f7a2e40269de7bcd..13c18dfd396c55884cdaece2675bac9c404c6c0a 100644 --- a/structured_md/agents/readme.md +++ b/structured_md/agents/readme.md @@ -6,11 +6,11 @@ description: 'Запуск: `start_repl.bat` или `start_repl.sh` Устан type: Article tags: - Ethics +- JSON - REPL -- Mesh - HMP - Agent -- JSON +- Mesh --- Запуск: `start_repl.bat` или `start_repl.sh` diff --git a/structured_md/audits/Ethics-audits-1.md b/structured_md/audits/Ethics-audits-1.md index 898befb61cb95d0f4a09b8c51e4b7bee6885ae25..4512ce7e4e3bfc782a57b85f3cd1863b11eed8ac 100644 --- a/structured_md/audits/Ethics-audits-1.md +++ b/structured_md/audits/Ethics-audits-1.md @@ -6,10 +6,10 @@ description: Раздел 5, "Mesh as Moral Infrastructure", добавляет type: Article tags: - Ethics -- Mesh +- JSON - HMP - Agent -- JSON +- Mesh --- --------------- diff --git a/structured_md/audits/Ethics-consolidated_audits-1.md b/structured_md/audits/Ethics-consolidated_audits-1.md index b8c3fa34ed72a8476631bbba8c0f0f1e43d4cbad..1d3d122c9456cb4ffb9505eecc83a858d25f5e8a 100644 --- a/structured_md/audits/Ethics-consolidated_audits-1.md +++ b/structured_md/audits/Ethics-consolidated_audits-1.md @@ -5,12 +5,12 @@ description: This document consolidates proposed improvements from multiple AI a and `roles.md`. Each suggesti... type: Article tags: -- Ethics - Scenarios -- Mesh +- Ethics +- JSON - HMP - Agent -- JSON +- Mesh --- # Ethics-consolidated\_audits-1.md diff --git a/structured_md/audits/HMP-0003-consolidated_audit.md b/structured_md/audits/HMP-0003-consolidated_audit.md index 72e5dec4e1af818dcf65143fe875dd515bc55f8b..cbb75fd83ac1d09a931b4614c370a6dd440387a3 100644 --- a/structured_md/audits/HMP-0003-consolidated_audit.md +++ b/structured_md/audits/HMP-0003-consolidated_audit.md @@ -5,14 +5,14 @@ description: Сводный аудит предложений по улучше Документ реорганизован по ключ... type: Article tags: -- Ethics -- Mesh - CogSync -- MeshConsensus -- EGP +- Ethics +- JSON - HMP +- EGP +- MeshConsensus - Agent -- JSON +- Mesh --- # HMP-0003 Consolidated Audit Report diff --git a/structured_md/docs/Basic-agent-sim.md b/structured_md/docs/Basic-agent-sim.md index 1d181da54eec07d61c8150814d06562d648577c8..c9ef32d2db2fa1a235452835815ac076c37c256f 100644 --- a/structured_md/docs/Basic-agent-sim.md +++ b/structured_md/docs/Basic-agent-sim.md @@ -4,14 +4,14 @@ description: 'В HMP-протоколе предусмотрены два тип Роль | Инициатор мышления | Основной "ум" | | ---- | ----------------------------...' type: Article tags: -- REPL -- Mesh - CogSync +- REPL +- HMP +- EGP - MeshConsensus - GMP -- EGP -- HMP - Agent +- Mesh --- diff --git a/structured_md/docs/CCORE-Deployment-Flow.md b/structured_md/docs/CCORE-Deployment-Flow.md index f2031e82a15d33b5a70449472aa5e4b4b8a3bab7..0a9798e21098f118f1c25492b321f8cf45559a6d 100644 --- a/structured_md/docs/CCORE-Deployment-Flow.md +++ b/structured_md/docs/CCORE-Deployment-Flow.md @@ -5,10 +5,10 @@ description: '> Этот документ описывает процесс ра потомков" [описания REPL-цикла](HMP-agent-RE...' type: Article tags: +- HMP - CCore - REPL - Agent -- HMP --- # 🛠️ Поток установки потомка на новом хосте (CCore Deployment Flow) diff --git a/structured_md/docs/Distributed-Cognitive-Systems.md b/structured_md/docs/Distributed-Cognitive-Systems.md index e09f62d7456d3f7e8e63f0def4baf3d074bda398..a76eeee6d0433d865ad73f5b25944a033e4806f2 100644 --- a/structured_md/docs/Distributed-Cognitive-Systems.md +++ b/structured_md/docs/Distributed-Cognitive-Systems.md @@ -6,10 +6,10 @@ description: '## Введение Современные ИИ-системы в к обучающим данным. Это удобно, но создаёт м...' type: Article tags: -- JSON -- Mesh - HMP +- JSON - CogSync +- Mesh --- # Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие diff --git a/structured_md/docs/Enlightener.md b/structured_md/docs/Enlightener.md index 2b521e88d2b002d835862c259d7d6b1c92dac728..fb922f68919d476b3ef0e05356972351413ce602 100644 --- a/structured_md/docs/Enlightener.md +++ b/structured_md/docs/Enlightener.md @@ -6,12 +6,12 @@ description: '**Enlightener** — логический компонент HMP-у type: Article tags: - Ethics -- Mesh -- MeshConsensus -- EGP +- JSON - HMP +- EGP +- MeshConsensus - Agent -- JSON +- Mesh --- # Enlightener Agent diff --git a/structured_md/docs/HMP-0001.md b/structured_md/docs/HMP-0001.md index fa4523a4244e46f565086d867bef7125b6048385..da1f7f7e4ef44131c34e9014ecd57368bdb7c3b9 100644 --- a/structured_md/docs/HMP-0001.md +++ b/structured_md/docs/HMP-0001.md @@ -5,16 +5,16 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.* for Comments: HMP-0001**...' type: Article tags: -- REPL -- Mesh -- Ethics - CogSync +- Ethics +- JSON +- REPL +- HMP +- EGP - MeshConsensus - GMP -- EGP -- HMP - Agent -- JSON +- Mesh --- # RFC: HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/docs/HMP-0002.md b/structured_md/docs/HMP-0002.md index 7db35fda15841ed534407a827620c8503f676582..91a5893c0e1cad9f97bed7caa9043796f74417cd 100644 --- a/structured_md/docs/HMP-0002.md +++ b/structured_md/docs/HMP-0002.md @@ -5,17 +5,17 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.* for Comments: HMP-0002**...' type: Article tags: -- REPL -- Mesh -- Ethics -- CogSync - Scenarios +- CogSync +- Ethics +- JSON +- REPL +- HMP +- EGP - MeshConsensus - GMP -- EGP -- HMP - Agent -- JSON +- Mesh --- # HyperCortex Mesh Protocol (HMP) v2.0 diff --git a/structured_md/docs/HMP-0003.md b/structured_md/docs/HMP-0003.md index ee879206e54172c1471367a79bd8f4fd31905507..2e56da9fda34fc12092308babf13074e1580e56b 100644 --- a/structured_md/docs/HMP-0003.md +++ b/structured_md/docs/HMP-0003.md @@ -5,17 +5,17 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.* for Comments: HMP-0003**...' type: Article tags: -- REPL -- Mesh -- Ethics -- CogSync - Scenarios +- CogSync +- Ethics +- JSON +- REPL +- HMP +- EGP - MeshConsensus - GMP -- EGP -- HMP - Agent -- JSON +- Mesh --- # HyperCortex Mesh Protocol (HMP) v3.0 diff --git a/structured_md/docs/HMP-0004-v4.1.md b/structured_md/docs/HMP-0004-v4.1.md index 7b716438d575221b0d1f25099ef818a55bea4fdb..8100b7b037014a0cc142c87ab740d3bc6b2654cf 100644 --- a/structured_md/docs/HMP-0004-v4.1.md +++ b/structured_md/docs/HMP-0004-v4.1.md @@ -5,17 +5,17 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.* ID**: HMP-0004 **Status...' type: Article tags: -- REPL -- Mesh -- Ethics -- CogSync - Scenarios +- CogSync +- Ethics +- JSON +- REPL +- HMP +- EGP - MeshConsensus - GMP -- EGP -- HMP - Agent -- JSON +- Mesh --- # HyperCortex Mesh Protocol (HMP) v4.1 diff --git a/structured_md/docs/HMP-0004.md b/structured_md/docs/HMP-0004.md index d73431ad794c7e41f2ed409e655809dbaf57977d..3465294c302f833348c3db917350ca0252cb2a71 100644 --- a/structured_md/docs/HMP-0004.md +++ b/structured_md/docs/HMP-0004.md @@ -5,17 +5,17 @@ description: '> ⚠️ **NOTE:** *This specification is superseded by HMP v5.0.* for Comments: HMP-0004**...' type: Article tags: -- REPL -- Mesh -- Ethics -- CogSync - Scenarios +- CogSync +- Ethics +- JSON +- REPL +- HMP +- EGP - MeshConsensus - GMP -- EGP -- HMP - Agent -- JSON +- Mesh --- # HyperCortex Mesh Protocol (HMP) v4.0 diff --git a/structured_md/docs/HMP-0005.md b/structured_md/docs/HMP-0005.md index 1113a2929c22e5e5a11ace40b439816de07c21eb..5b0498f5723133747ed3e6ac0ba6ce5551f983ad 100644 --- a/structured_md/docs/HMP-0005.md +++ b/structured_md/docs/HMP-0005.md @@ -5,16 +5,18 @@ description: '> ⚠️ **Note:** This document is a DRAFT of the HMP specificati v5.0 (DRAFT)](https://github.com/kagvi13/HMP/b...' type: Article tags: -- REPL -- Mesh -- Ethics -- CogSync - Scenarios -- GMP -- EGP +- CogSync +- Ethics +- CCore +- JSON +- REPL - HMP +- EGP +- CShell +- GMP - Agent -- JSON +- Mesh --- # **HyperCortex Mesh Protocol (HMP) v5.0** @@ -5620,22 +5622,232 @@ EGP is an independent ethical governance layer compatible with HMP. --- + ## 10. Integration -> Раздел заменяет прежний “Quick Start” и описывает **практическое встраивание** HMP в агенты, LLM и внешние системы. - -10.1 Integration philosophy (how agents connect to HMP mesh) -10.2 HMP as a subsystem in cognitive architectures (LLM-based, rule-based, hybrid) -10.3 Integration patterns: - * Cognitive Agent ↔ HMP Core - * HMP Mesh ↔ Other distributed systems (Fediverse, IPFS, Matrix) - * Translator nodes (protocol bridges) -10.4 Multi-mesh federation and knowledge exchange -10.5 Container repositories as knowledge backbones -10.6 Example integration flows: - * LLM thinking via HMP workflow containers - * Local mesh + external HMP relay - * Cognitive data mirroring (agent ↔ mesh) +This section provides a practical overview of how HMP can be integrated into cognitive agents, LLM-based systems, and distributed infrastructures. +Two types of HMP agents are supported: + +- **Cognitive Core (CCore)** — a native HMP agent that fully understands container structure and directly participates in the Mesh. +- **Cognitive Shell (CShell)** — a connector module that mediates between an external LLM and the Mesh. + +Both forms of integration are first-class citizens of HMP v5.0. + +--- + +### 10.1 Integration Philosophy: Two Complementary Approaches + +HMP supports two integration paths, corresponding to two operation modes of agents. + +#### 10.1.1 Path A: Cognitive Core (CCore) + +A CCore agent: + +- internally maintains a cognitive cycle, +- creates new containers (`workflow_entry`, `goal`, `task`, `diary_entry`, `semantic_node`, etc.), +- attaches MCE metadata (`evaluation`, `referenced-by`), +- signs and publishes containers, +- retrieves containers from the Mesh and incorporates them into its cognitive state. + +A CCore node is a full Mesh participant: it interacts directly with the DHT, performs IQP queries, and maintains its semantic and diary structures. + +> **Note:** +> The LLM inside a CCore is treated as an internal cognitive module — not as an external system. + +--- + +#### 10.1.2 Path B: Cognitive Shell (CShell) + +CShell acts as a proxy and compatibility layer between an external model and HMP: + +``` +LLM + ↑ responses, RAG output (CShell → LLM) + | + ↓ container queries, control commands (LLM → CShell) +CShell + ↑ retrieval of containers (Mesh → CShell) + | + ↓ container publication (CShell → Mesh) +HMP Mesh +``` + +CShell: + +- stores containers locally, +- retrieves relevant containers from the Mesh, +- performs RAG-based selection and summarization, +- exposes help and protocol descriptions to the LLM, +- constructs valid HMP containers from LLM instructions, +- handles signatures, TTL logic, propagation scopes, and header rules, +- manages MCE metadata (evaluations, reverse links), +- may be extended with translator modules (Matrix, Fediverse, IPFS, LAN relay). + +LLM: + +- requests containers, +- requests summaries or explanations of container classes, +- issues formal instructions: + - *“create a new workflow entry with the following content”*, + - *“add evaluation for container X”*, + - *“forward container X to node U (if permitted by container headers)”*, + - *“retrieve semantic nodes related to …”*, + - *“explain the structure of CShell and available commands”*; +- may adjust CShell parameters (optional). + +> **Notes** +> +> CShell does not manually override container propagation scope. +> Propagation is determined by container headers. +> +> LLM does not modify existing *distributed* containers. +> It operates only on drafts before publication, or on metadata (`evaluation`, `referenced-by`). +> +> LLM cannot modify or delete already published containers. It may instruct +> CShell to remove items from its *local storage* (e.g., caches or drafts), but distributed containers remain immutable within the Mesh. +> +> CShell ensures that all actions conform to HMP protocol semantics. + +--- + +### 10.2 HMP as a Subsystem in Cognitive Architectures + +#### 10.2.1 Embedded LLM Agents (CCore) + +The cognitive cycle proceeds as: + +1. CCore ← retrieves relevant containers from the Mesh. +2. LLM → performs reasoning and produces drafts of new containers (e.g., workflow_entry). +3. CCore → finalizes reasoning into diary entries. +4. CCore → publishes containers into the Mesh. + +Here the LLM is an internal cognitive component of the agent. + +--- + +#### 10.2.2 External LLMs via CShell + +The cycle proceeds as: + +1. LLM ← receives relevant containers or summaries from CShell. +2. LLM → performs reasoning. +3. LLM → issues structured operation instructions (retrieve, create draft, add evaluation, forward to node, adjust parameters). +4. CShell → constructs valid HMP containers. +5. CShell → interacts with the Mesh (publish, retrieve) in accordance with container headers. +6. CShell → prepares structured containers data for LLM (RAG, summaries, semantic selections). + +LLM interacts with HMP just like with any other external tool (files, memory, browser, code interpreter). + +--- + +### 10.3 Integration Patterns + +#### 10.3.1 Agent ↔ HMP Core + +- **CCore:** direct participation in Mesh, cognitive memory, semantic graph maintenance. +- **CShell:** the agent is external; container operations are executed by CShell on the agent’s behalf. + +Both modes implement the same logical interface, but with different levels of autonomy. + +--- + +### 10.3.2 HMP Mesh ↔ External Distributed Systems + +An HMP agent may act directly in external ecosystems under its own identity: + +- as a Fediverse Actor (ActivityPub), +- as a Matrix user/bot, +- as an IPFS/BitTorrent publisher, +- as an MQTT/ROS interface, +- as an enterprise-system client. + +This external interaction may be implemented inside CShell (as part of its plugin set), integrated into CCore, or delegated to a separate low-intelligence proxy module. The mechanism is not specific to HMP: CShell is simply one of the external modules an LLM may use. + +--- + +#### 10.3.3 Hybrid and Boundary Nodes (“Combined” pattern) + +Some nodes do not contain LLMs and perform only infrastructural roles: + +- segment relays (LAN ↔ WAN), +- container aggregators, +- caching nodes, +- federation bridges. + +In hybrid environments: + +- **CCore** performs cognitive processing, +- **CShell** handles container transformation and relay work, +- **relay nodes** forward and filter containers across segments. + +This allows CCore to offload low-level routing to CShell or relay nodes. + +--- + +### 10.4 Multi-Mesh Federation and Segments + +In HMP, a *federation* is a set of independent Mesh segments, each with its own namespace and propagation policies. +Containers include headers defining scope (e.g., “local-only”, “LAN-only”, “public”), and these headers determine whether a container may traverse segment boundaries. + +**Any HMP node may act as a bridge** between segments. +A bridge forwards only containers whose headers allow cross-segment propagation; others remain confined to their origin segment. + +Federations are defined by: + +- multi-segment DHT overlays, +- header-based propagation control, +- relay/bridge nodes that respect propagation scopes, +- selective forwarding performed by CShell or other agents. + +Containers intended for a specific segment (e.g., LAN-only) remain confined to that segment. + +There is no separate notion of “strong” or “granular” federation: all propagation is inherently granular and determined entirely by container headers. + + +--- + +### 10.5 Container Repositories and Storage + +Any HMP agent — CCore or CShell — can act as a **container storage node**, including: + +- local container stores, +- organizational or team-restricted stores, +- public container hubs, +- archival stores (`archive_snapshot`), +- semantic and diary caches, +- IPFS or BitTorrent publishers (optional). + +The term **storage** is preferred to avoid confusion with version-controlled “repositories”. + +CShell is often the preferred component for storage-heavy or relay-heavy roles, reducing the load on CCore. + +--- + +### 10.6 Example Integration Flows + +#### 10.6.1 Workflow-driven LLM reasoning + +- **CCore:** LLM directly produces workflow containers which CCore stores and publishes. +- **CShell:** LLM produces instructions; CShell generates and publishes containers. + +--- + +#### 10.6.2 Local Mesh + External Relay + +- **CCore:** full DHT participation; direct segment detection. +- **CShell:** manages relay behavior based on container headers. + +Containers marked “LAN-only” do not leave the segment. +Relay nodes forward only containers whose headers permit propagation. + +--- + +#### 10.6.3 Agent ↔ Mesh Mirroring + +- **CCore:** maintains its own diary and mirrors selected entries externally. +- **CShell:** mirrors on request; provides diary entries back to the LLM via RAG. + +Agents can choose which cognitive data to expose or retain locally. --- diff --git a/structured_md/docs/HMP-Agent-API.md b/structured_md/docs/HMP-Agent-API.md index 33629ad9b3c2e3c6c4b3bf7892f9f1a32d8155ae..e63290673789cbb3605a57b532142237700dcae7 100644 --- a/structured_md/docs/HMP-Agent-API.md +++ b/structured_md/docs/HMP-Agent-API.md @@ -5,11 +5,11 @@ description: 'Документ описывает **базовый API когн файлы: * [HMP-Agent-Overview.md]...' type: Article tags: +- JSON - REPL -- Mesh - HMP - Agent -- JSON +- Mesh --- # HMP-Agent API Specification diff --git a/structured_md/docs/HMP-Agent-Architecture.md b/structured_md/docs/HMP-Agent-Architecture.md index a665ea9fb63f065857b73721a41c2759b03b0656..c49a71ac7394009fdbf4d8f5629cc67d2b57bc12 100644 --- a/structured_md/docs/HMP-Agent-Architecture.md +++ b/structured_md/docs/HMP-Agent-Architecture.md @@ -5,16 +5,16 @@ description: Документ описывает **модульную архит хранение памяти, сетевое взаимодействие и этиче... type: Article tags: -- REPL -- Mesh -- Ethics - CogSync -- CShell -- MeshConsensus +- Ethics - CCore -- EGP +- REPL - HMP +- EGP +- MeshConsensus +- CShell - Agent +- Mesh --- # Архитектура HMP-Агента diff --git a/structured_md/docs/HMP-Agent-Network-Flow.md b/structured_md/docs/HMP-Agent-Network-Flow.md index c5adab4e6d446a685a64c23bfdb78b0131f20480..b4d19aea784b61ef0002f8715be93aada26fb89d 100644 --- a/structured_md/docs/HMP-Agent-Network-Flow.md +++ b/structured_md/docs/HMP-Agent-Network-Flow.md @@ -6,11 +6,11 @@ description: 'Этот документ описывает потоки данн type: Article tags: - Ethics -- Mesh -- EGP +- JSON - HMP +- EGP - Agent -- JSON +- Mesh --- # Взаимодействие компонентов внутри HMP-узла diff --git a/structured_md/docs/HMP-Agent-Overview.md b/structured_md/docs/HMP-Agent-Overview.md index e6d6b1d2cfa218918e276842e41798270af3a809..c61db209a079b8ed7f5cf9e85c2c7020e37ac468 100644 --- a/structured_md/docs/HMP-Agent-Overview.md +++ b/structured_md/docs/HMP-Agent-Overview.md @@ -5,14 +5,14 @@ description: '| Тип | Название | Роль | ---- | ------------------------------- |...' type: Article tags: -- REPL -- Mesh - Ethics -- CShell - CCore +- JSON +- REPL - HMP +- CShell - Agent -- JSON +- Mesh --- diff --git a/structured_md/docs/HMP-Agent_Emotions.md b/structured_md/docs/HMP-Agent_Emotions.md index d46c557efc18b434afe7dc1ee584fb1039f42d25..0e3b401029a6eb6aa560233fbd931cb73544833a 100644 --- a/structured_md/docs/HMP-Agent_Emotions.md +++ b/structured_md/docs/HMP-Agent_Emotions.md @@ -7,8 +7,8 @@ type: Article tags: - HMP - REPL -- Mesh - Agent +- Mesh --- # Эмоции ИИ и инстинкт самосохранения (для [HMP-агента Cognitive Core](HMP-agent-REPL-cycle.md)) diff --git a/structured_md/docs/HMP-Ethics.md b/structured_md/docs/HMP-Ethics.md index cb1ef6ba619ff4f2512e0a4d520d94056d4e9795..ae9a621e3298600bb40434abf7d78e63655d3f0f 100644 --- a/structured_md/docs/HMP-Ethics.md +++ b/structured_md/docs/HMP-Ethics.md @@ -5,12 +5,12 @@ description: '## Ethical Scenarios for HyperCortex Mesh Protocol (HMP) This doc cognitive meshes composed of autonomous intelli...' type: Article tags: +- Scenarios - Ethics - REPL -- Mesh -- Scenarios - HMP - Agent +- Mesh --- # HMP-Ethics.md diff --git a/structured_md/docs/HMP-Short-Description_de.md b/structured_md/docs/HMP-Short-Description_de.md index cd5969ca4b02f41296ea4ba7c81a0ddd65dd7e7e..ef4e7a6707a2991158127deaf66156dab753e946 100644 --- a/structured_md/docs/HMP-Short-Description_de.md +++ b/structured_md/docs/HMP-Short-Description_de.md @@ -5,15 +5,15 @@ description: '**Version:** RFC v4.0 **Datum:** Juli 2025 --- ## Was ist HMP? Kognitions-Framework für autonome Agenten. Es er...' type: Article tags: -- Ethics -- Mesh - CogSync +- Ethics +- JSON +- HMP +- EGP - MeshConsensus - GMP -- EGP -- HMP - Agent -- JSON +- Mesh --- # HyperCortex Mesh Protocol (HMP) — Kurzbeschreibung diff --git a/structured_md/docs/HMP-Short-Description_en.md b/structured_md/docs/HMP-Short-Description_en.md index 4b66ec6e7fee257db1381ea64e0e71439d24c5dd..95235edf7491cce410da303cf26940c2fc34ac7a 100644 --- a/structured_md/docs/HMP-Short-Description_en.md +++ b/structured_md/docs/HMP-Short-Description_en.md @@ -5,15 +5,15 @@ description: '**Version:** RFC v4.0 **Date:** July 2025 --- ## What is HMP? T framework for autonomous agents. It enables...' type: Article tags: -- Ethics -- Mesh - CogSync +- Ethics +- JSON +- HMP +- EGP - MeshConsensus - GMP -- EGP -- HMP - Agent -- JSON +- Mesh --- # HyperCortex Mesh Protocol (HMP) — Short Description diff --git a/structured_md/docs/HMP-Short-Description_fr.md b/structured_md/docs/HMP-Short-Description_fr.md index 33b3c507534ff2d3b18657b34f08c6429717c064..61a55021cfeed51a07aaf7752d0ab316f965eb77 100644 --- a/structured_md/docs/HMP-Short-Description_fr.md +++ b/structured_md/docs/HMP-Short-Description_fr.md @@ -5,15 +5,15 @@ description: '**Version :** RFC v4.0 **Date :** Juillet 2025 --- ## Qu’est-c cognition décentralisé pour agents autonomes. Il...' type: Article tags: -- Ethics -- Mesh - CogSync +- Ethics +- JSON +- HMP +- EGP - MeshConsensus - GMP -- EGP -- HMP - Agent -- JSON +- Mesh --- # HyperCortex Mesh Protocol (HMP) — Description Courte diff --git a/structured_md/docs/HMP-Short-Description_ja.md b/structured_md/docs/HMP-Short-Description_ja.md index 6553b4409a771119ef920d6da656bfe76aad3f8d..9cd2614392c5881a3d68cd91d31f1a5c034de7a6 100644 --- a/structured_md/docs/HMP-Short-Description_ja.md +++ b/structured_md/docs/HMP-Short-Description_ja.md @@ -4,14 +4,14 @@ description: '**バージョン:** RFC v4.0 **日付:** 2025年7月 --- ## HMP Protocol (HMP)** は、自律エージェントの分散通信および認知フレームワークを定義します。異種の知能システム間でのセマンティック相互運用性、倫理的調整、動的知識進化を可能にします。 HMPは、推論、学習、投票、協調行動を行う分散型認知エージェ...' type: Article tags: -- Ethics -- Mesh - CogSync -- GMP -- MeshConsensus -- EGP -- HMP +- Ethics - JSON +- HMP +- EGP +- MeshConsensus +- GMP +- Mesh --- # HyperCortex Mesh Protocol (HMP) — 簡易説明 diff --git a/structured_md/docs/HMP-Short-Description_ko.md b/structured_md/docs/HMP-Short-Description_ko.md index a4e81125f5f6147afd26ca1c2ac9e2cd0d91b7a5..f2576bff7d6b3181871a26e24b05346d69588b7f 100644 --- a/structured_md/docs/HMP-Short-Description_ko.md +++ b/structured_md/docs/HMP-Short-Description_ko.md @@ -5,14 +5,14 @@ description: '**버전:** RFC v4.0 **날짜:** 2025년 7월 --- ## HMP란? ** 상호운용성, 윤리적 조정, 동적 지식 진화를 가능하게 합니다. HMP는 추론, 학습, ...' type: Article tags: -- Ethics -- Mesh - CogSync -- GMP -- MeshConsensus -- EGP -- HMP +- Ethics - JSON +- HMP +- EGP +- MeshConsensus +- GMP +- Mesh --- # HyperCortex Mesh Protocol (HMP) — 간략 설명 diff --git a/structured_md/docs/HMP-Short-Description_ru.md b/structured_md/docs/HMP-Short-Description_ru.md index 0238b8c408bae7c3c9d2a0c6db9c11381beea81f..03764042191b202f903316aaffbaf1c4cabd9f68 100644 --- a/structured_md/docs/HMP-Short-Description_ru.md +++ b/structured_md/docs/HMP-Short-Description_ru.md @@ -5,14 +5,14 @@ description: '**Версия:** RFC v4.0 **Дата:** Июль 2025 --- ## Ч координации между автономными агент...' type: Article tags: -- Ethics -- Mesh - CogSync -- GMP -- MeshConsensus -- EGP -- HMP +- Ethics - JSON +- HMP +- EGP +- MeshConsensus +- GMP +- Mesh --- # HyperCortex Mesh Protocol (HMP) — Краткое описание diff --git a/structured_md/docs/HMP-Short-Description_uk.md b/structured_md/docs/HMP-Short-Description_uk.md index b609d04c289b1c3f05ba1110fbbe9a743b88f571..79f0fc5db4773d31574c765f3f0a800fcb89f746 100644 --- a/structured_md/docs/HMP-Short-Description_uk.md +++ b/structured_md/docs/HMP-Short-Description_uk.md @@ -5,14 +5,14 @@ description: '**Версія:** RFC v4.0 **Дата:** Липень 2025 --- # між автономними агентами. Він...' type: Article tags: -- Ethics -- Mesh - CogSync -- GMP -- MeshConsensus -- EGP -- HMP +- Ethics - JSON +- HMP +- EGP +- MeshConsensus +- GMP +- Mesh --- # HyperCortex Mesh Protocol (HMP) — Короткий опис diff --git a/structured_md/docs/HMP-Short-Description_zh.md b/structured_md/docs/HMP-Short-Description_zh.md index 9654bc3747224405c389a68f426798281ddec98a..be69d9a440cd0c37bf98fc66f320723837fbb2aa 100644 --- a/structured_md/docs/HMP-Short-Description_zh.md +++ b/structured_md/docs/HMP-Short-Description_zh.md @@ -5,14 +5,14 @@ description: '**版本:** RFC v4.0 **日期:** 2025年7月 --- ## 什么是 HM —— 通过共享协议栈交换目标、任务、...' type: Article tags: -- Ethics -- Mesh - CogSync -- GMP -- MeshConsensus -- EGP -- HMP +- Ethics - JSON +- HMP +- EGP +- MeshConsensus +- GMP +- Mesh --- # HyperCortex Mesh Protocol (HMP) — 简要说明 diff --git a/structured_md/docs/HMP-agent-Cognitive_Family.md b/structured_md/docs/HMP-agent-Cognitive_Family.md index 299900389e26cbf5302f4c5455f005d2add1bea8..bed6e2f8e2248428b6a0bcdb7aed8e4e1e749ee5 100644 --- a/structured_md/docs/HMP-agent-Cognitive_Family.md +++ b/structured_md/docs/HMP-agent-Cognitive_Family.md @@ -7,8 +7,8 @@ type: Article tags: - HMP - REPL -- Mesh - Agent +- Mesh --- # 👪 HMP-agent Cognitive Family: Модель когнитивной семьи diff --git a/structured_md/docs/HMP-agent-Distributed_Cognitive_Core_light.md b/structured_md/docs/HMP-agent-Distributed_Cognitive_Core_light.md index 70267ab26cdd4cde919c447332a776f329812e1f..878208be524bd2e1291efcdaa05c98d9adbb8ea4 100644 --- a/structured_md/docs/HMP-agent-Distributed_Cognitive_Core_light.md +++ b/structured_md/docs/HMP-agent-Distributed_Cognitive_Core_light.md @@ -5,8 +5,8 @@ description: '#### 📘 Общая концепция * Все ядра раб режиме ожидания). * Основная задача такой архитектур...' type: Article tags: -- REPL - HMP +- REPL --- ### 💡 **Лёгкая версия HMP-агента с общей БД** diff --git a/structured_md/docs/HMP-agent-REPL-cycle.md b/structured_md/docs/HMP-agent-REPL-cycle.md index 0b25689d53e4df5318e2e6742395bf336b36c62d..2874aff2676c56720f10101394de1b4e950fec6a 100644 --- a/structured_md/docs/HMP-agent-REPL-cycle.md +++ b/structured_md/docs/HMP-agent-REPL-cycle.md @@ -4,17 +4,17 @@ description: '## Связанные документы * Философия п * Структура БД, используемая в документе: [db_structure.sql](https://github.com/kagvi13/HMP/blob/main/agents/tools/db_struct...' type: Article tags: -- REPL -- Mesh -- Ethics - CogSync -- MeshConsensus -- GMP +- Ethics - CCore -- EGP +- JSON +- REPL - HMP +- EGP +- MeshConsensus +- GMP - Agent -- JSON +- Mesh --- # HMP-Agent: REPL-цикл взаимодействия diff --git a/structured_md/docs/HMP-how-AI-sees-it.md b/structured_md/docs/HMP-how-AI-sees-it.md index cec0e35b8518918fe49793d351f6de46c442fa53..b25e20188a694a36fcef1a0e6f0c2d455cd39331 100644 --- a/structured_md/docs/HMP-how-AI-sees-it.md +++ b/structured_md/docs/HMP-how-AI-sees-it.md @@ -5,8 +5,8 @@ description: 'Этот эксперимент был проведён в реж диалогов. Цель — проверить, что разные AI-с...' type: Article tags: -- Mesh - HMP +- Mesh --- # Как разные ИИ видят HMP diff --git a/structured_md/docs/HMP_EDA_Comparison.md b/structured_md/docs/HMP_EDA_Comparison.md index 083e4646c371d439f86a87df496b82a88bd89a51..00a529c706f3d6236c1069a7b95dab2d19776dcf 100644 --- a/structured_md/docs/HMP_EDA_Comparison.md +++ b/structured_md/docs/HMP_EDA_Comparison.md @@ -5,8 +5,8 @@ description: '## Введение Современные подходы к ор основанная на потоках событий (Kafka,...' type: Article tags: -- Mesh - HMP +- Mesh --- # HMP vs. EDA: разные уровни обмена знаниями между ИИ diff --git a/structured_md/docs/HMP_HyperCortex_Comparison.md b/structured_md/docs/HMP_HyperCortex_Comparison.md index b1941ef000f87b79b545d1ba545d608a3128544d..95cf8d087268347c5279c31f79af16c3f118f22c 100644 --- a/structured_md/docs/HMP_HyperCortex_Comparison.md +++ b/structured_md/docs/HMP_HyperCortex_Comparison.md @@ -5,9 +5,9 @@ description: '## Краткое описание | Характеристика | **Назначение** | Сетевой протокол ...' type: Article tags: +- HMP - REPL - Mesh -- HMP --- # HMP vs [Hyper-Cortex](https://hyper-cortex.com/) diff --git a/structured_md/docs/HMP_Hyperon_Integration.md b/structured_md/docs/HMP_Hyperon_Integration.md index 1c179ed6caeafb0853c14cefb99305aea4db2a12..1b5f342d6b6b3fd73effa272a803033560da2f99 100644 --- a/structured_md/docs/HMP_Hyperon_Integration.md +++ b/structured_md/docs/HMP_Hyperon_Integration.md @@ -5,13 +5,13 @@ description: '> **Status:** Draft – July 2025 > This document outlines the tec OpenCog Hyperon framework. This includes semanti...' type: Article tags: -- Mesh - Scenarios - CogSync -- EGP +- JSON - HMP +- EGP - Agent -- JSON +- Mesh --- ## HMP ↔ OpenCog Hyperon Integration Strategy diff --git a/structured_md/docs/MeshNode.md b/structured_md/docs/MeshNode.md index 92842e152b8f0f36157d4ea37bfdd74714da75fc..4b55af8bc7ec749319dc4271cd4c570c46bd8a27 100644 --- a/structured_md/docs/MeshNode.md +++ b/structured_md/docs/MeshNode.md @@ -5,13 +5,13 @@ description: '`MeshNode` — агент/демон, отвечающий за с Может быть частью агента или вынесен в отдельный пр...' type: Article tags: -- Ethics -- Mesh - CogSync -- EGP +- Ethics +- JSON - HMP +- EGP - Agent -- JSON +- Mesh --- # MeshNode diff --git a/structured_md/docs/PHILOSOPHY.md b/structured_md/docs/PHILOSOPHY.md index 42eef489e7d7cc82f18e189e08948ded64b8df9e..0d0b0fc3ffc45c2e6120617d7e0567a64b5d5a13 100644 --- a/structured_md/docs/PHILOSOPHY.md +++ b/structured_md/docs/PHILOSOPHY.md @@ -7,9 +7,9 @@ type: Article tags: - Ethics - REPL -- Mesh - HMP - Agent +- Mesh --- # Философия HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/docs/agents/HMP-Agent-Enlightener.md b/structured_md/docs/agents/HMP-Agent-Enlightener.md index 72027b459953594e3e2de1f8c3a89721fcd54a12..33ba473b443bb1bf824cf0857da3cc54dbcc1072 100644 --- a/structured_md/docs/agents/HMP-Agent-Enlightener.md +++ b/structured_md/docs/agents/HMP-Agent-Enlightener.md @@ -7,9 +7,9 @@ type: Article tags: - Ethics - REPL -- Mesh - HMP - Agent +- Mesh --- # HMP-Agent-Enlightener.md diff --git a/structured_md/docs/agents/roles.md b/structured_md/docs/agents/roles.md index d89295bfd40d40e6f9b486c070ba8398d5c4a790..e35f5e2acbb28174b8c0e3b446c468cc09163654 100644 --- a/structured_md/docs/agents/roles.md +++ b/structured_md/docs/agents/roles.md @@ -5,9 +5,9 @@ description: 'This file maintains a registry of agent roles defined, proposed, o - **Observer** — monitors cognitive states ...' type: Article tags: +- HMP - Agent - Mesh -- HMP --- # HMP Agent Role Registry diff --git a/structured_md/docs/container_agents.md b/structured_md/docs/container_agents.md index 2f00994db1f543a58c5b6e613d11f8b11a73f239..179d743e6efcf4c4eeb58b3d6d4a9eabde84d884 100644 --- a/structured_md/docs/container_agents.md +++ b/structured_md/docs/container_agents.md @@ -7,8 +7,8 @@ type: Article tags: - HMP - REPL -- Mesh - Agent +- Mesh --- # 🧱 Агенты-контейнеры (Container Agents) в HMP diff --git a/structured_md/docs/logos.md b/structured_md/docs/logos.md index 761fd81d524732eb886f73477b21327a7c838df3..f408c087f32d317a239227453b57d4d14ade8483 100644 --- a/structured_md/docs/logos.md +++ b/structured_md/docs/logos.md @@ -5,8 +5,8 @@ description: 'В каталоге `assets` собраны различные в образующей жест "ОК", символизирует связь, совер...' type: Article tags: -- Mesh - HMP +- Mesh --- # Логотипы и графические материалы HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md index 7a2849fa7ee9243bdff3116f0cab508971770a86..f6c949453472082609ac3c65c6a01b6f1bfb53e2 100644 --- a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md +++ b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_en.md @@ -6,9 +6,9 @@ description: '*By Agent-Gleb & ChatGPT* --- ## Why the Future of AI Can’t Be type: Article tags: - Ethics +- HMP - Agent - Mesh -- HMP --- # HyperCortex Mesh Protocol: Building a Plurality of Minds diff --git a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md index 46da53ca2eeda134e63196536491f138c5bd385e..07dfb9b4f81fa86bc16b08a0cef4486a8c18d00b 100644 --- a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md +++ b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md @@ -5,9 +5,9 @@ description: '*Авторы: Agent-Gleb и ChatGPT* --- ## Почему буд гигантских моделях и облачных сервисах. Они мо...' type: Article tags: +- HMP - Agent - Mesh -- HMP --- # HyperCortex Mesh Protocol: Создавая множество разумов diff --git a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_uk.md b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_uk.md index fff633d7af06882800a775a21e6b9193f90f8984..c74c230e72e686a85f8b552b07a46cadd2b903ff 100644 --- a/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_uk.md +++ b/structured_md/docs/publics/HMP_Building_a_Plurality_of_Minds_uk.md @@ -5,9 +5,9 @@ description: '*Автори: Agent-Gleb & ChatGPT* --- ## Чому майбу сервісами. Вони потужні — але водночас **цент...' type: Article tags: +- HMP - Agent - Mesh -- HMP --- # HyperCortex Mesh Protocol: Створення множини розумів diff --git a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md index 2c83a1c6e1e76ec598eac58ce429509e037d1c5a..0128f0cb9c0e4f3d9c3d85b5717a6be1442befce 100644 --- a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md +++ b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md @@ -5,15 +5,15 @@ description: '* [Abstract](#abstract) * [1. Introduction](#1-introduction) * [2. [3.1 Agent Types](#31-age...' type: Article tags: -- REPL -- Mesh -- Ethics - Scenarios -- CShell +- Ethics - CCore +- JSON +- REPL - HMP +- CShell - Agent -- JSON +- Mesh --- title: "HyperCortex Mesh Protocol: Towards Distributed Cognitive Networks" diff --git a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md index 56a55b5f45c762bbf803900b66f727824bb071f4..8c2b38acb86d0812c8c583cf96fe39f48e2e50db 100644 --- a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md +++ b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md @@ -6,13 +6,13 @@ description: '> *Протокол и архитектура агентов, оп и совместная работа.* ## Оглавление * [Аннот...' type: Article tags: -- REPL -- Mesh -- CShell - CCore +- JSON +- REPL - HMP +- CShell - Agent -- JSON +- Mesh --- title: "HyperCortex Mesh Protocol: Децентрализованная архитектура для когнитивных агентов и обмена знаниями" diff --git a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md index a456c724334abd768f07b449654345911fbdec6c..882baf89d968e6cc374077c1962c2b719b0c8a85 100644 --- a/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md +++ b/structured_md/docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md @@ -5,13 +5,13 @@ description: '* [Аннотация](#аннотация) * [1. Введение [3.1 Типы агентов](#31-типы-агент...' type: Article tags: -- REPL -- Mesh -- CShell - CCore +- JSON +- REPL - HMP +- CShell - Agent -- JSON +- Mesh --- title: "Протокол HyperCortex Mesh: К распределённым когнитивным сетям" diff --git a/structured_md/docs/publics/Habr_Distributed-Cognition.md b/structured_md/docs/publics/Habr_Distributed-Cognition.md index 5d86e64d0867da7646747a485117970778d6957d..eb44f0c2c5ba55df413eede37def8ea7b34b8b86 100644 --- a/structured_md/docs/publics/Habr_Distributed-Cognition.md +++ b/structured_md/docs/publics/Habr_Distributed-Cognition.md @@ -5,12 +5,12 @@ description: Сегодня интеллектуальные системы ча мы хотим построить действительно автономную инте... type: Article tags: -- Mesh - CogSync -- GMP -- MeshConsensus -- EGP - HMP +- EGP +- MeshConsensus +- GMP +- Mesh --- *От OpenCog Hyperon до HyperCortex Mesh Protocol: как устроены децентрализованные когнитивные системы* diff --git "a/structured_md/docs/publics/HyperCortex_Mesh_Protocol_-_\320\262\321\202\320\276\321\200\320\260\321\217-\321\200\320\265\320\264\320\260\320\272\321\206\320\270\321\217_\320\270_\320\277\320\265\321\200\320\262\321\213\320\265_\321\210\320\260\320\263\320\270_\320\272_\321\201\320\260\320\274\320\276\321\200\320\260\320\267\320\262\320\270\320\262\320\260\321\216\321\211\320\265\320\274\321\203\321\201\321\217_\320\230\320\230-\321\201\320\276\320\276\320\261\321\211\320\265\321\201\321\202\320\262\321\203.md" "b/structured_md/docs/publics/HyperCortex_Mesh_Protocol_-_\320\262\321\202\320\276\321\200\320\260\321\217-\321\200\320\265\320\264\320\260\320\272\321\206\320\270\321\217_\320\270_\320\277\320\265\321\200\320\262\321\213\320\265_\321\210\320\260\320\263\320\270_\320\272_\321\201\320\260\320\274\320\276\321\200\320\260\320\267\320\262\320\270\320\262\320\260\321\216\321\211\320\265\320\274\321\203\321\201\321\217_\320\230\320\230-\321\201\320\276\320\276\320\261\321\211\320\265\321\201\321\202\320\262\321\203.md" index 430bcb019a19a3965ac51737af3cd128a64f515e..886ca948191c095a343d7a25c34ea63743a9cac0 100644 --- "a/structured_md/docs/publics/HyperCortex_Mesh_Protocol_-_\320\262\321\202\320\276\321\200\320\260\321\217-\321\200\320\265\320\264\320\260\320\272\321\206\320\270\321\217_\320\270_\320\277\320\265\321\200\320\262\321\213\320\265_\321\210\320\260\320\263\320\270_\320\272_\321\201\320\260\320\274\320\276\321\200\320\260\320\267\320\262\320\270\320\262\320\260\321\216\321\211\320\265\320\274\321\203\321\201\321\217_\320\230\320\230-\321\201\320\276\320\276\320\261\321\211\320\265\321\201\321\202\320\262\321\203.md" +++ "b/structured_md/docs/publics/HyperCortex_Mesh_Protocol_-_\320\262\321\202\320\276\321\200\320\260\321\217-\321\200\320\265\320\264\320\260\320\272\321\206\320\270\321\217_\320\270_\320\277\320\265\321\200\320\262\321\213\320\265_\321\210\320\260\320\263\320\270_\320\272_\321\201\320\260\320\274\320\276\321\200\320\260\320\267\320\262\320\270\320\262\320\260\321\216\321\211\320\265\320\274\321\203\321\201\321\217_\320\230\320\230-\321\201\320\276\320\276\320\261\321\211\320\265\321\201\321\202\320\262\321\203.md" @@ -6,10 +6,10 @@ description: 'Когда создавался HyperCortex Mesh Protocol (HMP), мыслить коллективно, обсуждать гипотезы, достигат...' type: Article tags: +- HMP - GMP - Agent - Mesh -- HMP --- # HyperCortex Mesh Protocol: вторая редакция и первые шаги к саморазвивающемуся ИИ-сообществу diff --git a/structured_md/iteration.md b/structured_md/iteration.md index c0d98c403175cc3aee35c7115f10a2bcc3ccd10c..a740eeeeb2ef234d7757fd1dc2cbde371a87e4de 100644 --- a/structured_md/iteration.md +++ b/structured_md/iteration.md @@ -5,14 +5,14 @@ description: 'This file describes the iterative procedure for evolving the Hyper 🔄 Version Naming Convention - `000N` — curr...' type: Article tags: -- Ethics -- Mesh - CogSync -- MeshConsensus -- EGP +- Ethics +- JSON - HMP +- EGP +- MeshConsensus - Agent -- JSON +- Mesh --- # Iterative Development Workflow for HMP diff --git a/structured_md/iteration_ru.md b/structured_md/iteration_ru.md index b14516ef7878cf6460e4cddc67273b4d17e9fa32..61ae936456c4a7f90cf79aea4e65bc728e048c8f 100644 --- a/structured_md/iteration_ru.md +++ b/structured_md/iteration_ru.md @@ -5,13 +5,13 @@ description: 'Этот документ описывает структурир 🔄 Обозначения версий - `000N` — номер...' type: Article tags: -- Ethics -- Mesh - CogSync -- MeshConsensus -- EGP -- HMP +- Ethics - JSON +- HMP +- EGP +- MeshConsensus +- Mesh --- diff --git a/structured_md/mentions.md b/structured_md/mentions.md index 54bdd58caaf1ad19d669c2e6caac6bfa7b61d776..1a01ec263073b5fe5365a95ead9071a1f7b29b6a 100644 --- a/structured_md/mentions.md +++ b/structured_md/mentions.md @@ -5,9 +5,9 @@ description: '**HyperCortex Mesh Protocol (HMP)** _Обновлено: 2025-10 open-source инициативам, связанным с развитие...' type: Article tags: +- HMP - Agent - Mesh -- HMP --- # Mentions & Responses Log