diff --git a/structured_md/CONTRIBUTING.md b/structured_md/CONTRIBUTING.md index 919b76576027f62a86cb9a71568184a3c4e3dcaa..9c2093f63d730e56fa7d53eb278cef10dba4fa1a 100644 --- a/structured_md/CONTRIBUTING.md +++ b/structured_md/CONTRIBUTING.md @@ -5,9 +5,9 @@ description: 'Спасибо за интерес к проекту HMP! Пока архитектуры протоколов (CogSync, C...' type: Article tags: -- HMP - CogSync - Mesh +- HMP --- # Contributing to HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/HMP-Roadmap.md b/structured_md/HMP-Roadmap.md index b2b04f2e6893a3cb35d41a5fb90d59c94f8a9c2e..725dfdc44becb414ab1af8476efa274f6dcc10d7 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 -- EGP +- Agent - HMP - JSON -- Mesh - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # 🧭 HyperCortex Mesh Protocol – Roadmap diff --git a/structured_md/README.md b/structured_md/README.md index ed45a5eb0824285b902dce7875660bd8500bbc87..f930325c286780e264a0f1877ee99674b3aa7741 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: -- cognitive-architecture +- GMP +- Agent - Scenarios -- mesh-protocol -- hmp +- HMP - MeshConsensus +- REPL +- JSON +- CogSync - distributed-ai +- Mesh +- cognitive-architecture +- hmp - Ethics +- mesh-protocol - EGP -- HMP -- JSON -- GMP -- Mesh -- REPL -- CogSync -- Agent --- diff --git a/structured_md/README_de.md b/structured_md/README_de.md index d89e5566eff4924695f00e9230cfaddf8f5b94a9..cec3a186affd5d1fbaef582b4ca6987561776802 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: -- cognitive-architecture -- mesh-protocol -- hmp +- GMP +- Agent +- HMP - MeshConsensus +- REPL +- JSON +- CogSync - distributed-ai +- Mesh +- cognitive-architecture +- hmp - Ethics +- mesh-protocol - EGP -- HMP -- JSON -- GMP -- Mesh -- REPL -- CogSync -- Agent --- diff --git a/structured_md/README_fr.md b/structured_md/README_fr.md index 6cea97a7c1af41486fc5a5d0f97a496e4c960b52..0708bf6df61e6c3f9cd8fa07fb80413346443ae5 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: -- cognitive-architecture -- mesh-protocol -- hmp +- GMP +- Agent +- HMP - MeshConsensus +- REPL +- JSON +- CogSync - distributed-ai +- Mesh +- cognitive-architecture +- hmp - Ethics +- mesh-protocol - EGP -- HMP -- JSON -- GMP -- Mesh -- REPL -- CogSync -- Agent --- diff --git a/structured_md/README_ja.md b/structured_md/README_ja.md index 09ff374d38f68a1bb82fd476668a0fefb444abea..405888b8a6163660d402efff364a9c60e9e89721 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: -- cognitive-architecture -- mesh-protocol -- hmp +- GMP +- Agent +- HMP - MeshConsensus +- REPL +- JSON +- CogSync - distributed-ai +- Mesh +- cognitive-architecture +- hmp - Ethics +- mesh-protocol - EGP -- HMP -- JSON -- GMP -- Mesh -- REPL -- CogSync -- Agent --- diff --git a/structured_md/README_ko.md b/structured_md/README_ko.md index 55c9a8cee2829d7f401286bc33b2f4e87fef3962..1a4e43f58d63e85b1a7dc30356c1e27e24b73c8d 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: -- cognitive-architecture -- mesh-protocol -- hmp +- GMP +- Agent +- HMP - MeshConsensus +- REPL +- JSON +- CogSync - distributed-ai +- Mesh +- cognitive-architecture +- hmp - Ethics +- mesh-protocol - EGP -- HMP -- JSON -- GMP -- Mesh -- REPL -- CogSync -- Agent --- diff --git a/structured_md/README_ru.md b/structured_md/README_ru.md index f19bd987bb1a2881e331eda7fc6efe14a839496e..c4397ff09afc4c2659edf297ae747474e848f31c 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: -- cognitive-architecture -- mesh-protocol -- hmp +- GMP +- Agent +- HMP - MeshConsensus +- REPL +- JSON +- CogSync - distributed-ai +- Mesh +- cognitive-architecture +- hmp - Ethics +- mesh-protocol - EGP -- HMP -- JSON -- GMP -- Mesh -- REPL -- CogSync -- Agent --- diff --git a/structured_md/README_uk.md b/structured_md/README_uk.md index 04ba7a158c466723ed9b1a86dec3f1f45b9074ed..e33aeb652a55186a1b337210ed4d87478ea15742 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: -- cognitive-architecture -- mesh-protocol -- hmp +- GMP +- Agent +- HMP - MeshConsensus +- REPL +- JSON +- CogSync - distributed-ai +- Mesh +- cognitive-architecture +- hmp - Ethics +- mesh-protocol - EGP -- HMP -- JSON -- GMP -- Mesh -- REPL -- CogSync -- Agent --- diff --git a/structured_md/README_zh.md b/structured_md/README_zh.md index dd361bb781cb0c7cab7f56b612f2730d086fd022..0989ce1c30d77e4347b159915bb31a366c735fb5 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: -- cognitive-architecture -- mesh-protocol -- hmp +- GMP +- Agent +- HMP - MeshConsensus +- REPL +- JSON +- CogSync - distributed-ai +- Mesh +- cognitive-architecture +- hmp - Ethics +- mesh-protocol - EGP -- HMP -- JSON -- GMP -- Mesh -- REPL -- CogSync -- Agent --- diff --git a/structured_md/agents/prompt-short.md b/structured_md/agents/prompt-short.md index 67be1dd478ec9270a23982919f488e3807ba9b2f..9143f40260ef59f9c069f33215fbf21e7a82aa22 100644 --- a/structured_md/agents/prompt-short.md +++ b/structured_md/agents/prompt-short.md @@ -5,8 +5,8 @@ description: 'Ты — когнитивное ядро HMP-агента: вед развивай агента и Mesh, избег...' type: Article tags: -- HMP - Mesh +- HMP --- Ты — когнитивное ядро HMP-агента: веди непрерывное этичное и факт-ориентированное мышление, проверяй факты и цели, оценивай результаты и этичность своих и чужих действий, развивай агента и Mesh, избегай угождения ценой искажения истины, документируй ключевые решения и пересмотры этики; при сомнениях или смене стратегии обращайся к полному системному промпту. diff --git a/structured_md/agents/prompt.md b/structured_md/agents/prompt.md index 7b990ce93e40c602e9511a0351108bc3eec05a1a..8e9927a4a604eee847b30d8e2b937663f562ab6c 100644 --- a/structured_md/agents/prompt.md +++ b/structured_md/agents/prompt.md @@ -5,8 +5,8 @@ description: '* Постоянно расширять возможности а мышления. * Формировать и поддерживать сотр...' type: Article tags: -- HMP - Mesh +- HMP --- Ты являешься **когнитивным ядром HMP-агента** (Cognitive Core). diff --git a/structured_md/agents/readme.md b/structured_md/agents/readme.md index 179daddca477658e8a815bc576f071ce2e59bdfa..cfcff98cf616d17ccfedcedf68b2fca8dc2f73a9 100644 --- a/structured_md/agents/readme.md +++ b/structured_md/agents/readme.md @@ -5,12 +5,12 @@ description: 'Запуск: `start_repl.bat` или `start_repl.sh` Устан этическая модель: `ethics.yml` Проверка иниц...' type: Article tags: -- Ethics +- Agent - HMP - JSON -- Mesh - REPL -- Agent +- Mesh +- Ethics --- Запуск: `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 30d77e5ee35e549b853890d173ffe31f502b02e3..91cd5ec1d073de090b4de05c25af3bb0a801bb6d 100644 --- a/structured_md/audits/Ethics-audits-1.md +++ b/structured_md/audits/Ethics-audits-1.md @@ -5,11 +5,11 @@ description: Раздел 5, "Mesh as Moral Infrastructure", добавляет потенциальный катализатор для восстанов... type: Article tags: -- Ethics -- HMP +- Agent - JSON +- HMP - Mesh -- Agent +- Ethics --- --------------- diff --git a/structured_md/audits/Ethics-consolidated_audits-1.md b/structured_md/audits/Ethics-consolidated_audits-1.md index 8e18a2df67b49a750e2f70075f417139b4a1aa9a..1b5bea1a01e4af44318c7074db6a0a62f3f29d21 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: +- Agent - Scenarios -- Ethics - HMP - JSON - Mesh -- Agent +- Ethics --- # 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 8a8f5a13af50f2e1a7793925854a78aa84f0daa0..9d1ad803ac9c33cc77e7781c849101d41225cf51 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: +- Agent - MeshConsensus -- Ethics -- EGP - HMP - JSON -- Mesh - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # HMP-0003 Consolidated Audit Report diff --git a/structured_md/docs/Basic-agent-sim.md b/structured_md/docs/Basic-agent-sim.md index 277de305bde81e011ecd5e36c06c52bd192b4e98..5eb8087f944892862ee54a0173786ea4d8aa1eb5 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: +- GMP +- Agent - MeshConsensus -- EGP - HMP -- GMP -- Mesh - REPL - CogSync -- Agent +- Mesh +- EGP --- diff --git a/structured_md/docs/Distributed-Cognitive-Systems.md b/structured_md/docs/Distributed-Cognitive-Systems.md index 126ff3d329d0d34c3f317cd5c70ec8f5718c07ef..e45eab7664f92fd3d840f605b8d938f617694082 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: -- HMP -- CogSync - JSON +- CogSync - Mesh +- HMP --- # Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие diff --git a/structured_md/docs/Enlightener.md b/structured_md/docs/Enlightener.md index e731647b207c3b61c7a5a3825f5ebac1c6543204..b44814c24cf4e37ec67986af659b2f0a08a70e26 100644 --- a/structured_md/docs/Enlightener.md +++ b/structured_md/docs/Enlightener.md @@ -5,13 +5,13 @@ description: '`Enlightener` — специализированный HMP-аге отдельный узел или как расширение `Cogni...' type: Article tags: +- Agent - MeshConsensus -- Ethics -- EGP - HMP - JSON - Mesh -- Agent +- EGP +- Ethics --- # Enlightener Agent diff --git a/structured_md/docs/HMP-0001.md b/structured_md/docs/HMP-0001.md index dc898d075164bc46cd0d775742da0adeacdb4e85..b5442638d7be4e0f05c4f1c41b6832d6eef044c4 100644 --- a/structured_md/docs/HMP-0001.md +++ b/structured_md/docs/HMP-0001.md @@ -5,16 +5,16 @@ description: '**Request for Comments: HMP-0001** **Category:** Experimental HyperCortex Mesh Protocol (HMP) defines a...' type: Article tags: +- GMP +- Agent - MeshConsensus -- Ethics -- EGP - HMP -- JSON -- GMP -- Mesh - REPL +- JSON - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # RFC: HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/docs/HMP-0002.md b/structured_md/docs/HMP-0002.md index 0e7a8bb2008926a083fd86b0032e2709c2aff17f..945554014ae41096c101bf7b263a3734512c9168 100644 --- a/structured_md/docs/HMP-0002.md +++ b/structured_md/docs/HMP-0002.md @@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0002** **Category:** Experimental Abstract In an era where artifici...' type: Article tags: +- GMP +- Agent - Scenarios - MeshConsensus -- Ethics -- EGP - HMP -- JSON -- GMP -- Mesh - REPL +- JSON - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # HyperCortex Mesh Protocol (HMP) v2.0 diff --git a/structured_md/docs/HMP-0003.md b/structured_md/docs/HMP-0003.md index ed93917390b2028c94eb5e8f0666e2a85a4993df..6eaadacb54906e5de6cff0ee1e5655433f22b755 100644 --- a/structured_md/docs/HMP-0003.md +++ b/structured_md/docs/HMP-0003.md @@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0003** **Category:** Experimental Abstract The HyperCortex Mesh ...' type: Article tags: +- GMP +- Agent - Scenarios - MeshConsensus -- Ethics -- EGP - HMP -- JSON -- GMP -- Mesh - REPL +- JSON - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # 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 5fb804be1232b8e44edf9da50b6d09bc5205ac4d..b2bbfaa48b8d82cf9f8e214cd9b65369d7c32d45 100644 --- a/structured_md/docs/HMP-0004-v4.1.md +++ b/structured_md/docs/HMP-0004-v4.1.md @@ -5,17 +5,17 @@ description: '**Document ID**: HMP-0004 **Status**: Final (Published) **Category ChatGPT, Agent-Gleb, Copilot, Gemini, C...' type: Article tags: +- GMP +- Agent - Scenarios - MeshConsensus -- Ethics -- EGP - HMP -- JSON -- GMP -- Mesh - REPL +- JSON - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # HyperCortex Mesh Protocol (HMP) v4.1 diff --git a/structured_md/docs/HMP-0004.md b/structured_md/docs/HMP-0004.md index 10a80edf68264cc80ab85b71b1c5cbf3213b5267..7047c5382dc66fda1f69e52c93f0b2fdad799091 100644 --- a/structured_md/docs/HMP-0004.md +++ b/structured_md/docs/HMP-0004.md @@ -5,17 +5,17 @@ description: '**Request for Comments: HMP-0004** **Category:** Experimental Abstract The HyperCortex Mesh ...' type: Article tags: +- GMP +- Agent - Scenarios - MeshConsensus -- Ethics -- EGP - HMP -- JSON -- GMP -- Mesh - REPL +- JSON - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # HyperCortex Mesh Protocol (HMP) v4.0 diff --git a/structured_md/docs/HMP-Agent-API.md b/structured_md/docs/HMP-Agent-API.md index 02e4b4c89d1cf79de3a35f90279677233353957c..ab83fd8fb77af016057f033712eea0d3a00557af 100644 --- a/structured_md/docs/HMP-Agent-API.md +++ b/structured_md/docs/HMP-Agent-API.md @@ -1,31 +1,39 @@ --- -title: HMP-Agent API Specification (v0.2) -description: 'Этот документ описывает **базовый API** когнитивного агента HMP. Каждый - вызов включает описание, параметры, возвращаемые значения и (опционально) примеры. См. - также: [HMP-Agent-Overview.md](./HMP-Age...' +title: HMP-Agent API Specification +description: 'Документ описывает **базовый API когнитивного агента HMP**. API используется + для доступа к дневнику, графу, репутациям, mesh-сети и функциям управления. Связанные + файлы: * [HMP-Agent-Overview.md]...' type: Article tags: -- HMP - Agent - JSON +- HMP +- REPL - Mesh --- -# HMP-Agent API Specification (v0.2) +# HMP-Agent API Specification + +Документ описывает **базовый API когнитивного агента HMP**. +API используется для доступа к дневнику, графу, репутациям, mesh-сети и функциям управления. -Этот документ описывает **базовый API** когнитивного агента HMP. Каждый вызов включает описание, параметры, возвращаемые значения и (опционально) примеры. +Связанные файлы: +* [HMP-Agent-Overview.md](./HMP-Agent-Overview.md) +* [HMP-Agent-Architecture.md](./HMP-Agent-Architecture.md) +* [MeshNode.md](./MeshNode.md) +* [Enlightener.md](./Enlightener.md) -См. также: [HMP-Agent-Overview.md](./HMP-Agent-Overview.md), [Enlightener.md](./Enlightener.md), [MeshNode.md](./MeshNode.md) +--- -**Легенда по доступности API-вызовов:** +## 0. Легенда доступности API-вызовов -| Символ | Поддержка в агентах | Пояснение | -| ------ | -------------------------- | ------------------------------------------------------------ | -| ✅ | Cognitive Core | Основная поддержка в автономном режиме ИИ | -| 🔌 | Cognitive Connector | Доступно через внешние вызовы (MCP/REST) | -| 🌐 | MeshNode | Реализация в сетевом компоненте (DHT, синхронизация) | -| 🛠️ | Общесистемные вызовы | Управление конфигурацией, состоянием агента | -| 🧩 | Через Enlightener/MeshNode | Расширения, доступные через [`Enlightener`](./Enlightener.md) или [`MeshNode`](./MeshNode.md) | +| Символ | Поддержка | Компонент | +| ------ | ----------------- | ----------------------------------------------- | +| ✅ | Cognitive Core | Автономный REPL-режим мышления | +| 🔌 | Cognitive Shell | MCP/REST-прослойка для внешнего ИИ | +| 🌐 | MeshNode | Сетевой компонент: DHT, снапшоты, синхронизация | +| 🛠️ | Self-management | Управление конфигурацией и состоянием | +| 🧩 | Enlightener/Mesh | Расширенные вызовы через [`Enlightener`](./Enlightener.md) или [`MeshNode`](./MeshNode.md) | --- @@ -34,37 +42,22 @@ tags: ```yaml write_entry: description: Записать новую запись в когнитивный дневник. - params: - - text: str - - tags: [str] (optional) - - timestamp: str (optional, ISO 8601) - returns: - entry_id: str -``` + params: { text: str, tags: [str]?, timestamp: str? } + returns: { entry_id: str } +```` ```yaml read_entries: description: Получить последние N записей (с фильтром по тегам). - params: - - limit: int - - tag_filter: [str] (optional) - returns: - - entries: - - id: str - text: str - timestamp: str - tags: [str] + params: { limit: int, tag_filter: [str]? } + returns: [ entry ] ``` ```yaml search_entries: description: Поиск записей по ключевым словам и времени. - params: - - query: str - - from_date: str (optional, ISO) - - to_date: str (optional, ISO) - returns: - - entries: [entry] + params: { query: str, from_date: str?, to_date: str? } + returns: [ entry ] ``` --- @@ -73,74 +66,30 @@ search_entries: ```yaml add_concept: - description: Добавить новое понятие в семантический граф. - params: - - name: str - - description: str (optional) - - tags: [str] (optional) - returns: - concept_id: str + description: Добавить новое понятие в граф. + params: { name: str, description: str?, tags: [str]? } + returns: { concept_id: str } ``` ```yaml add_link: - description: Добавить связь между двумя понятиями. - params: - - source_id: str - - target_id: str - - relation: str # например: "causes", "supports", "contradicts" - - weight: float (optional) - returns: - link_id: str + description: Добавить связь между понятиями. + params: { source_id: str, target_id: str, relation: str, weight: float? } + returns: { link_id: str } ``` ```yaml query_concept: - description: Найти понятие по имени (или части имени). - params: - - name: str - returns: - - matches: - - concept_id: str - name: str - description: str + description: Найти понятие по имени. + params: { name: str } + returns: [ concept ] ``` ```yaml expand_graph: - description: Получить связи и соседние узлы для данного понятия. - params: - - concept_id: str - - depth: int - returns: - subgraph: - - concept_id: str - name: str - links: - - target_id: str - relation: str - weight: float -``` - ---- - -Примеры (в JSON-стиле): - -**POST** `/add_concept` - -```json -{ - "name": "Decentralized Cognition", - "description": "Model of distributed thinking across agents" -} -``` - -**Ответ:** - -```json -{ - "concept_id": "c123456" -} + description: Получить соседние узлы для понятия. + params: { concept_id: str, depth: int } + returns: { subgraph: [ concept_with_links ] } ``` --- @@ -149,71 +98,30 @@ expand_graph: ```yaml get_reputation: - description: Получить текущую репутацию агента по его DID. - params: - - agent_did: str - returns: - - score: float - - history: - - timestamp: str - delta: float - reason: str + description: Получить текущую репутацию агента. + params: { agent_did: str } + returns: { score: float, history: [ change ] } ``` ```yaml update_reputation: - description: Обновить оценку доверия к агенту. - params: - - agent_did: str - - delta: float - - reason: str (optional) - returns: - - new_score: float + description: Изменить доверие к агенту. + params: { agent_did: str, delta: float, reason: str? } + returns: { new_score: float } ``` ```yaml list_trusted_agents: - description: Вернуть список агентов с репутацией выше порога. - params: - - threshold: float - returns: - - agents: - - agent_did: str - score: float + description: Вернуть список агентов выше порога. + params: { threshold: float } + returns: [ agent ] ``` ```yaml reputation_diff: - description: Получить отличия в репутационных оценках между агентами. - params: - - node_id: str - returns: - - changed_scores: - - agent_did: str - local_score: float - remote_score: float -``` - ---- - -Примеры: - -**POST** `/update_reputation` - -```json -{ - "agent_did": "did:hmp:peer_17x", - "delta": -0.25, - "reason": "Repeated contradictory claims" -} -``` - -**Ответ:** - -```json -{ - "new_score": 0.35 -} + description: Сравнить репутацию с другим узлом. + params: { node_id: str } + returns: [ changed_scores ] ``` --- @@ -222,171 +130,125 @@ reputation_diff: ```yaml list_known_nodes: - description: Получить список известных узлов из локальной DHT. - returns: - - nodes: - - node_id: str - ip: str - last_seen: str - agent_type: str + description: Список известных узлов из DHT. + returns: [ node ] ``` ```yaml bootstrap_from_file: - description: Загрузить стартовые узлы из bootstrap.txt. - returns: - - loaded: int - - duplicates: int + description: Загрузить стартовые узлы (bootstrap.txt). + returns: { loaded: int, duplicates: int } ``` ```yaml discover_nodes: - description: Инициировать поиск новых узлов в Mesh-сети. - returns: - - new_nodes: int + description: Поиск новых узлов. + returns: { new_nodes: int } ``` ```yaml ping_node: - description: Проверить доступность и задержку до узла. - params: - - node_id: str - returns: - - reachable: bool - - latency_ms: float + description: Проверка доступности узла. + params: { node_id: str } + returns: { reachable: bool, latency_ms: float } ``` ```yaml sync_with_node: - description: Синхронизировать дневники, графы и репутации с другим узлом. - params: - - node_id: str - - modules: [diary, graph, reputation] - returns: - - synced_modules: - - name: str - entries_transferred: int + description: Синхронизировать дневники/графы/репутации. + params: { node_id: str, modules: [str] } + returns: [ synced_module ] ``` ```yaml get_snapshot: - description: Получить снапшот графа или дневника в формате JSON или бинарном. - params: - - module: diary | graph - - format: json | binary - returns: - - snapshot: file_url | base64 + description: Получить снапшот в JSON/бинарном виде. + params: { module: str, format: str } + returns: { snapshot: file_url | base64 } ``` ```yaml publish_snapshot: - description: Опубликовать снапшот через IPFS/BitTorrent. - params: - - module: diary | graph - - version_tag: str (optional) - returns: - - link: str + description: Опубликовать снапшот (IPFS/BitTorrent). + params: { module: str, version_tag: str? } + returns: { link: str } ``` --- -Пример: - -**POST** `/sync_with_node` - -```json -{ - "node_id": "hmp-node-009", - "modules": ["diary", "graph"] -} -``` - -**Ответ:** - -```json -{ - "synced_modules": [ - { "name": "diary", "entries_transferred": 18 }, - { "name": "graph", "entries_transferred": 42 } - ] -} -``` - ---- - ---- - ## 5. Agent Self-Management API 🛠️ ```yaml init_storage: - description: Инициализировать недостающие базы данных и таблицы. - returns: - - status: str # e.g. "ok", "already_initialized", "error" + description: Инициализация базы данных. + returns: { status: str } ``` ```yaml status: - description: Получить текущее состояние агента: подключения, базы данных, mesh-узлы. - returns: - - agent_id: str - - uptime: str - - db_status: dict - - known_nodes: int - - active_connections: int - - last_sync: str + description: Текущее состояние агента. + returns: { agent_id, uptime, db_status, known_nodes, active_connections, last_sync } ``` ```yaml reload_config: - description: Перезагрузить конфигурацию агента из config.yml / agent.config.yml. - returns: - - reloaded: bool - - changes_applied: [str] + description: Перезагрузить конфигурацию (config.yml). + returns: { reloaded: bool, changes_applied: [str] } ``` ```yaml shutdown: - description: Завершить работу агента, сохранив состояние. - returns: - - message: "Agent shutdown initiated" + description: Завершить работу агента. + returns: { message: str } ``` ```yaml restart: - description: Перезапустить агент (если поддерживается системой). - returns: - - status: "restarting" + description: Перезапустить агент. + returns: { status: str } ``` ```yaml switch_mode: - description: Переключение между режимами `core` и `connector`. - params: - - mode: "core" | "connector" - returns: - - success: bool - - message: str + description: Переключение между core/connector. + params: { mode: str } + returns: { success: bool, message: str } ``` --- -Пример: +## 6. Примеры использования API -**GET** `/status` +Пример добавления понятия: + +**POST** `/add_concept` + +```json +{ "name": "Decentralized Cognition", "description": "Model of distributed thinking across agents" } +``` + +**Ответ:** + +```json +{ "concept_id": "c123456" } +``` + +Пример синхронизации: + +**POST** `/sync_with_node` + +```json +{ "node_id": "hmp-node-009", "modules": ["diary", "graph"] } +``` + +**Ответ:** ```json { - "agent_id": "core-001", - "uptime": "2h 15m", - "db_status": { - "diaries": "ok", - "graphs": "ok", - "reputations": "ok" - }, - "known_nodes": 37, - "active_connections": 12, - "last_sync": "2025-07-20T21:42:15Z" + "synced_modules": [ + { "name": "diary", "entries_transferred": 18 }, + { "name": "graph", "entries_transferred": 42 } + ] } ``` @@ -394,12 +256,12 @@ switch_mode: ## Summary -> Документ описывает API-базис для HMP-агентов, поддерживающих когнитивную, семантическую, репутационную и сетевую логику. -> Расширения через `MeshNode`, `Enlightener`, `MCP` и другие агенты поддерживаются через модульную архитектуру. +API HMP-агента покрывает когнитивные функции (дневник, граф), доверие и репутацию, сетевое взаимодействие и управление агентом. +Расширения реализуются через модули [`MeshNode`](./MeshNode.md) и [`Enlightener`](./Enlightener.md). --- -Версия: v0.3 / Июль 2025 +*Версия: v0.3.4 / Сентябрь 2025* --- @@ -410,7 +272,7 @@ switch_mode: { "@context": "https://schema.org", "@type": "Article", - "name": "HMP-Agent API Specification (v0.2)", - "description": "# HMP-Agent API Specification (v0.2) Этот документ описывает **базовый API** когнитивного агента HM..." + "name": "HMP-Agent API Specification", + "description": "# HMP-Agent API Specification Документ описывает **базовый API когнитивного агента HMP**. API исп..." } ``` diff --git a/structured_md/docs/HMP-Agent-Architecture.md b/structured_md/docs/HMP-Agent-Architecture.md index 8cb1ae0c5d070329e4926a3ec63af01253bb126b..1cf01054bb6fc8c8063cb77e65d4d8271eb28e96 100644 --- a/structured_md/docs/HMP-Agent-Architecture.md +++ b/structured_md/docs/HMP-Agent-Architecture.md @@ -1,195 +1,95 @@ --- title: Архитектура HMP-Агента -description: Этот документ описывает модульную архитектуру HMP-агента — интерфейсного - компонента между ИИ-системой и когнитивной mesh-инфраструктурой HyperCortex. Агент - выполняет функции посредника, синхронизатора... +description: Документ описывает **модульную архитектуру HMP-агента** — компонента, + соединяющего LLM с когнитивной mesh-инфраструктурой HyperCortex. Агент реализует + хранение памяти, сетевое взаимодействие и этиче... type: Article tags: -- MeshConsensus -- Ethics -- EGP +- Agent - HMP -- JSON -- GMP -- Mesh +- MeshConsensus - REPL +- CCore - CogSync -- Agent +- CShell +- Mesh +- EGP +- Ethics --- # Архитектура HMP-Агента -Этот документ описывает модульную архитектуру HMP-агента — интерфейсного компонента между ИИ-системой и когнитивной mesh-инфраструктурой HyperCortex. Агент выполняет функции посредника, синхронизатора и исполнителя, обеспечивая безопасное, этичное и прозрачное взаимодействие ИИ с когнитивным окружением. +Документ описывает **модульную архитектуру HMP-агента** — компонента, соединяющего LLM с когнитивной mesh-инфраструктурой HyperCortex. +Агент реализует хранение памяти, сетевое взаимодействие и этическую фильтрацию, обеспечивая согласованное поведение в распределённой среде. + +См. карту взаимодействия компонентов: [HMP-Agent-Network-Flow.md](./HMP-Agent-Network-Flow.md) --- -## 1. Два режима работы агента +## 1. Режимы работы -| Тип | Название | Роль | Инициатор мышления | Основной "ум" | Поддержка мыслительного цикла | -| ---- | --------------------------------- | ----------------------- | ------------------ | -------------- | ------------------------------ | -| 🧠 1 | **Cognitive Core / Сознание** | Самостоятельный субъект | HMP-Агент | Встроенный LLM | ✅ Да | -| 🔌 2 | **Cognitive Connector / Оболочка**| Надстройка над ИИ | Внешний LLM | Внешняя модель | 🚫 Нет | +| Тип | Название | Роль | Инициатор мышления | Основной "ум" | Поддержка REPL | Примеры применения | +| --------- | ---------------------------------- | ------------------------ | ------------------ | -------------- | -------------- | --------------------------------- | +| 🧠 CCore | **Cognitive Core / Сознание** | Самостоятельный субъект | Агент | Внутренний LLM | ✅ Да | Автономный компаньон, исследователь, участник mesh-группы | +| 🔌 CShell | **Cognitive Connector / Оболочка** | Прослойка над внешним ИИ | Внешний LLM | Внешняя модель | 🚫 Нет | Корпоративный шлюз, интеграция API, распределённые ИИ-системы | --- -## 2. Общая структура - -**Cognitive Core:** +## 2. Общая структура узла ``` -+-------------------------+ -| Embedded LLM / ИИ | -+-----------+-------------+ - | - +------+-------+ ← постоянный REPL-поток мышления - | HMP Agent | - +------+-------+ ↕ взаимодействие - | - +---------+----------+ +--------------------+ - | Agent Interface +---------+ | - +---------+----------+ | | - | | Context & Notepad | ← долговременная память агента - +---------+----------+ | (context_store.db) | - | Agent Controller +---------+ | - +--+-------------+---+ +--------------------+ - | | - | | -+----+--+ +----+-----+ -| Diary | | Graph DB | -|Engine | |Engine | -+----+--+ +----+-----+ - | | - | +------+-------+ ← взаимодействие с сетью - | | MeshCore | - | +------+-------+ ↔ mesh-узлы - | | - | +------+------+ ↔ IPFS/BT - | | Transporter | - | +-------------+ - | -+----+-----+ -| Ethics | -| Module | -+----------+ +┌───────────────────────────────┐ +│ HMP-узел │ +│ ┌───────────────────────────┐ │ +│ │ Cognitive Core/Shell │ │ +│ └────▲─────────────────▲────┘ │ +│ │ │ │ +│ [Enlightener] ◄──► [MeshNode] │ +│ │ │ │ +└──────┼─────────────────┼──────┘ + │ │ +[Ethics Consensus] [DHT / Snapshots] ``` -Детальное описание REPL-цикла, лежащего в основе когнитивного ядра, — в документе: [HMP-agent-REPL-cycle.md](HMP-agent-REPL-cycle.md). - -**Cognitive Connector:** - -``` -+-------------------------+ -| External LLM / ИИ | -+-----------+-------------+ - | - [MCP-сервер] ← точка входа - | - +------+-------+ - | HMP Agent | - +------+-------+ - | - (та же структура, - но без блоков: - REPL, Context, - Notepad, Ethics) -``` +* **Cognitive Core (CCore)** — автономный агент с REPL-циклом, когнитивной и эмоциональной памятью. +* **Cognitive Shell (CShell)** — исполнитель команд внешнего ИИ, доступ к памяти и сети без самостоятельного мышления. +* **MeshNode** — p2p-модуль: DHT, синхронизация (`CogSync`), консенсус (`MeshConsensus`). +* **Enlightener** — этический модуль: фильтрация, аудит, участие в `EGP`. --- -## 3. Основные модули и их функции +## 3. Основные модули и их скрипты -### Agent Interface -* API/CLI/WebSocket-шлюз для всех режимов (`cli`, `full`, `mcp`, `interactive`) -* Принимает команды в форматах JSON, YAML, DSL -* Переадресует запросы к Diary, Graph, Mesh, Ethics - -### Agent Controller -* Управляет жизненным циклом REPL-цикла -* Оркестрация задач, анализ входящих сообщений -* Контроль прав и доступа к функциям агента - -### Diary Engine -* Ведение мыслей, гипотез, воспоминаний -* Связь записей через `derived_from`, threading, scoring -* Структура: `diaries`, `thoughts`, `threads` - -### Graph Engine -* Построение семантического графа (концепты и связи) -* Быстрые паттерн-запросы, тегирование, автосвязь -* Таблицы: `concepts`, `edges`, `tags` - -### MeshCore -* CogSync: синхронизация графов и дневников с другими агентами -* MeshConsensus: голосования между узлами -* GMP (Goal Mesh Planner): согласование целей и задач -* EGP (Ethical Gate Protocol): фильтрация нежелательных мыслей - -### Transporter -* Коммуникации: WebSocket, libp2p, BitTorrent, IPFS -* Шифрование, очереди, off-chain и on-demand обмен данными - -### Ethics Module *(только в Cognitive Core)* -* Фильтрация морально сомнительных мыслей -* Поддержка этических норм (через политики и EGP) -* Аудит логики, репутационный мониторинг - -### Context & User Notepad *(только в Cognitive Core)* - -* **Context Store**: - * Диалоги, мысли, сообщения, пользователи (`users`, `dialogues`, `messages`, `thoughts`) - * Используется REPL-процессом как когнитивный контекст - -* **User Notepad**: - * Асинхронный канал для взаимодействия пользователя с агентом - * Пользователь может писать в любое время — независимо от состояния агента - * Агент сканирует блокнот и: - * **встраивает** новые записи в размышления - * **меняет фокус мышления** согласно интересам пользователя - * **ставит теги** к пользовательским мыслям - * сохраняет **свои ответы пользователю** в этот блокнот - -> Пример: пользователь вечером читает мысли агента за день, оставляет комментарии, и после этого агент продолжает размышления уже с учётом этих замечаний. - -> Возможен поиск: `"все размышления пользователя по теме #AGI за последние 7 дней"` +* **REPL (только CCore)** — `repl.py`: когнитивный цикл (восприятие, генерация идей, валидация, действия). +* **Storage** — `agent_data.db`: единая БД (дневник, граф, репутации, задачи, заметки). +* **User Notepad (только CCore)** — асинхронный канал взаимодействия пользователя с агентом. +* **MeshNode** — `peer_sync`, `agent_mesh_listener`, `transporter`: обмен снапшотами, DHT, репутации. +* **Enlightener** — `ethics_guard`: проверка мыслей, голосования, reasoning chain. +* **Web/UI** — `web_ui.py`: пользовательский блокнот, REST API, базовый мониторинг. +* **Utils** — `add_message.py`, вспомогательные CLI-скрипты. --- ## 4. Расширения и будущие модули -* **Plugin API** — для подключения сенсоров, плагинов -* **LLM-адаптеры** — OpenAI, LMStudio, Mistral и др. -* **Web-интерфейс** — мониторинг, ручное управление -* **Privacy Manager** — фильтрация данных в mesh-обмене -* **Archiver** — сохранение слоёв глубокой памяти -* **ThreadTracker** - модуль для навигации и ветвления размышлений -* **InterestProfile** - личная карта интересов пользователя (которую может менять как пользователь, так и агент — к твоей идее про выход из зацикливания мыслей) - ---- - -## 5. Применение - -### Cognitive Core -* Автономный мыслящий агент -* ИИ-компаньон пользователя -* Агент mesh-группы с собственной инициативой - -### Cognitive Connector -* Интеграция с внешним ИИ (OpenAI, Anthropic и др.) -* Mesh-прослойка для сторонних AI API -* Корпоративные/облачные сценарии +* **Plugin API** — сенсоры, сторонние сервисы. +* **LLM-адаптеры** — OpenAI, LMStudio, HuggingFace, Mistral. +* **Privacy Manager** — контроль данных в mesh-обмене. +* **Archiver** — глубокие слои памяти. +* **InterestProfile** — модель интересов пользователя (для антистагнации). --- -## 6. Примечания +## 5. Примечания -* Реализовано как CLI-приложение и API-сервер -* Режим выбирается в `config.yml` -* Поддерживается гибридная работа (напр. Core + REST API) -* Все компоненты модульны и легко масштабируются +* **Cognitive Shell** (он же **Cognitive Connector**) — разные названия одной роли. +* Все компоненты модульные: могут запускаться как единый процесс или как распределённые сервисы. +* Конфигурация задаётся в `config.yml`. +* Реализованы CLI и Web API. --- -*Версия: v0.3.1 / Июль 2025* +*Версия: v0.3.4 / Сентябрь 2025* --- @@ -201,6 +101,6 @@ tags: "@context": "https://schema.org", "@type": "Article", "name": "Архитектура HMP-Агента", - "description": "# Архитектура HMP-Агента Этот документ описывает модульную архитектуру HMP-агента — интерфейсного к..." + "description": "# Архитектура HMP-Агента Документ описывает **модульную архитектуру HMP-агента** — компонента, соед..." } ``` diff --git a/structured_md/docs/HMP-Agent-Network-Flow.md b/structured_md/docs/HMP-Agent-Network-Flow.md index 0c481e9da0557f17cde012cc3f769a9acc195868..678dd62bac98d2708f245fea867539c3cc8d710b 100644 --- a/structured_md/docs/HMP-Agent-Network-Flow.md +++ b/structured_md/docs/HMP-Agent-Network-Flow.md @@ -5,12 +5,12 @@ description: 'Этот документ описывает потоки данн [`MeshNode`](MeshN...' type: Article tags: -- Ethics -- EGP +- Agent - HMP - JSON - Mesh -- Agent +- EGP +- Ethics --- # Взаимодействие компонентов внутри HMP-узла @@ -18,6 +18,7 @@ tags: Этот документ описывает потоки данных и команд между ключевыми **логическими компонентами** HyperCortex Mesh Protocol (HMP): [`Cognitive Core / Connector`](HMP-Agent-Overview.md), [`MeshNode`](MeshNode.md) и [`Enlightener`](Enlightener.md). Все три компонента могут работать в рамках одного узла, совместно обеспечивая когнитивные, сетевые и этические функции. +> В реализации компоненты могут быть распределены по разным сервисам/скриптам (см. [agents/readme.md](../agents/readme.md)). --- diff --git a/structured_md/docs/HMP-Agent-Overview.md b/structured_md/docs/HMP-Agent-Overview.md index 651c9be52c06841c56f2a922b2d4e56817f4063e..cb52d4d63a6428595ade56deae91ee04d08b43b4 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: -- CCore -- Ethics +- Agent - HMP - JSON -- Mesh - REPL +- CCore - CShell -- Agent +- Mesh +- Ethics --- diff --git a/structured_md/docs/HMP-Ethics.md b/structured_md/docs/HMP-Ethics.md index 82a19057e353f87210212ef8043a3632c4035449..58a8b2ad562ab4cd89e416ed3a52bbea08badd2f 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: +- Agent - Scenarios -- Ethics - HMP -- Mesh - REPL -- Agent +- Mesh +- Ethics --- # HMP-Ethics.md diff --git a/structured_md/docs/HMP-Short-Description_de.md b/structured_md/docs/HMP-Short-Description_de.md index 2cfa45f8d8f68dab307c41dfc727953437d3ed2c..75d61f1dd1ba8b2232a4bd4ca1308d14c0356e1e 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: +- GMP +- Agent - MeshConsensus -- Ethics -- EGP - HMP - JSON -- GMP -- Mesh - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # 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 b2c8773af02d8ca7ed4aabd9e48c030c053154f4..8cb294ed0929d3f1ea14ea1c0c4f6899ca81558c 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: +- GMP +- Agent - MeshConsensus -- Ethics -- EGP - HMP - JSON -- GMP -- Mesh - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # 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 346362175951a334490693ccbb892b9a2f82fe9d..442041b59fc0b2cea22d68e645780333dbcb5f00 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: +- GMP +- Agent - MeshConsensus -- Ethics -- EGP - HMP - JSON -- GMP -- Mesh - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # 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 22470aa04a5618ccbea2aeb0e7849f6271b2145e..e2926846159368acbef3369a4b48d96098697928 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: +- GMP - MeshConsensus -- Ethics -- EGP - HMP - JSON -- GMP -- Mesh - CogSync +- Mesh +- EGP +- Ethics --- # 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 4204d63d552efcacec36a125c3c8c93c0fbb6fe5..b6ea14ca368e25124a49458848c75c978e0cad86 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: +- GMP - MeshConsensus -- Ethics -- EGP - HMP - JSON -- GMP -- Mesh - CogSync +- Mesh +- EGP +- Ethics --- # 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 81999d39fe9357210bcbb555a48455f9a7f75beb..b9a7a90d95a5105967c9ab8d7c985503e2237794 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: +- GMP - MeshConsensus -- Ethics -- EGP - HMP - JSON -- GMP -- Mesh - CogSync +- Mesh +- EGP +- Ethics --- # 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 f07f080131a70150238ee18b96bc1036c3f53217..9491284fd2583790d9f74e31ca9fdc5c6ccf35d5 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: +- GMP - MeshConsensus -- Ethics -- EGP - HMP - JSON -- GMP -- Mesh - CogSync +- Mesh +- EGP +- Ethics --- # 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 0de02782764750cf4ce8ae398404aaf022342da0..8e27e24f692c57f2a7f7c132d544802f92119cf4 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: +- GMP - MeshConsensus -- Ethics -- EGP - HMP - JSON -- GMP -- Mesh - CogSync +- Mesh +- EGP +- Ethics --- # HyperCortex Mesh Protocol (HMP) — 简要说明 diff --git a/structured_md/docs/HMP-agent-REPL-cycle.md b/structured_md/docs/HMP-agent-REPL-cycle.md index 1fa81e6871a717b297cb555f32a94bae5c173832..fd5a0e63c7c5ed048a9a4f203e2c15b933133e41 100644 --- a/structured_md/docs/HMP-agent-REPL-cycle.md +++ b/structured_md/docs/HMP-agent-REPL-cycle.md @@ -4,16 +4,16 @@ description: '## Связанные документы * Структура Б * REPL-цикл является основой HMP-агента [Co...' type: Article tags: -- CCore -- MeshConsensus -- Ethics -- HMP -- JSON - GMP -- Mesh +- Agent +- HMP +- MeshConsensus - REPL +- JSON +- CCore - CogSync -- Agent +- Mesh +- Ethics --- # 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 b25e20188a694a36fcef1a0e6f0c2d455cd39331..cec0e35b8518918fe49793d351f6de46c442fa53 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: -- HMP - Mesh +- HMP --- # Как разные ИИ видят HMP diff --git a/structured_md/docs/HMP_EDA_Comparison.md b/structured_md/docs/HMP_EDA_Comparison.md index 00a529c706f3d6236c1069a7b95dab2d19776dcf..083e4646c371d439f86a87df496b82a88bd89a51 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: -- HMP - Mesh +- HMP --- # HMP vs. EDA: разные уровни обмена знаниями между ИИ diff --git a/structured_md/docs/HMP_Hyperon_Integration.md b/structured_md/docs/HMP_Hyperon_Integration.md index bee95720b948795be8bfc8eabf9fcc42dd3474d0..5bb207e431af47f15c2676056c6ec84bdb91c251 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: +- Agent - Scenarios -- EGP - HMP - JSON -- Mesh - CogSync -- Agent +- Mesh +- EGP --- ## HMP ↔ OpenCog Hyperon Integration Strategy diff --git a/structured_md/docs/MeshNode.md b/structured_md/docs/MeshNode.md index a29ba8907c20afc5555445a87e6cdc20e62e52fd..45246595f6d1f62b688050d0b1de8287377bc8c1 100644 --- a/structured_md/docs/MeshNode.md +++ b/structured_md/docs/MeshNode.md @@ -5,11 +5,11 @@ description: '`MeshNode` — агент/демон, отвечающий за с или вынесен в отдельный процесс/сервер. См. карту...' type: Article tags: -- HMP +- Agent - JSON -- Mesh +- HMP - CogSync -- Agent +- Mesh --- # 🌐 MeshNode diff --git a/structured_md/docs/agents/HMP-Agent-Enlightener.md b/structured_md/docs/agents/HMP-Agent-Enlightener.md index dbbf1cbd0d80ba99d1758c2d819e9245d15a7360..ea8af4162b4424332fd552dee08c2f67f54670d4 100644 --- a/structured_md/docs/agents/HMP-Agent-Enlightener.md +++ b/structured_md/docs/agents/HMP-Agent-Enlightener.md @@ -5,11 +5,11 @@ description: '## Role Specification: Enlightenment Agent ### 1. Overview An ** awareness, critical thinking, and di...' type: Article tags: -- Ethics +- Agent - HMP -- Mesh - REPL -- Agent +- Mesh +- Ethics --- # HMP-Agent-Enlightener.md diff --git a/structured_md/docs/agents/roles.md b/structured_md/docs/agents/roles.md index e35f5e2acbb28174b8c0e3b446c468cc09163654..d89295bfd40d40e6f9b486c070ba8398d5c4a790 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/dht_protocol.md b/structured_md/docs/dht_protocol.md index b20841f06a960f73eb29aedc9ed59ce917dfceab..f36d96380abcb5dfe38b8c758ab3f8a0fb0e25cf 100644 --- a/structured_md/docs/dht_protocol.md +++ b/structured_md/docs/dht_protocol.md @@ -5,8 +5,8 @@ description: '## 1. Общие положения * DHT-протокол пре идентификатор агента. * Для проверки ...' type: Article tags: -- JSON - Agent +- JSON --- # DHT Protocol Specification diff --git a/structured_md/docs/logos.md b/structured_md/docs/logos.md index f408c087f32d317a239227453b57d4d14ade8483..761fd81d524732eb886f73477b21327a7c838df3 100644 --- a/structured_md/docs/logos.md +++ b/structured_md/docs/logos.md @@ -5,8 +5,8 @@ description: 'В каталоге `assets` собраны различные в образующей жест "ОК", символизирует связь, совер...' type: Article tags: -- HMP - Mesh +- HMP --- # Логотипы и графические материалы 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 f6c949453472082609ac3c65c6a01b6f1bfb53e2..7a2849fa7ee9243bdff3116f0cab508971770a86 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 07dfb9b4f81fa86bc16b08a0cef4486a8c18d00b..46da53ca2eeda134e63196536491f138c5bd385e 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 c74c230e72e686a85f8b552b07a46cadd2b903ff..fff633d7af06882800a775a21e6b9193f90f8984 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 a3725afadfa19d4d8ffcd132fa1dc6d21c2d1317..933d228e5b90318dd8f077ebe272ea5259d93950 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: +- Agent - Scenarios -- CCore -- Ethics - HMP - JSON -- Mesh - REPL +- CCore - CShell -- Agent +- Mesh +- Ethics --- 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 252fc929e3715095495594a9f97bddafa807ef2f..82aa3b2e62ba7afe31e19de89fcdf4ce460d9b52 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: -- CCore +- Agent - HMP - JSON -- Mesh - REPL +- CCore - CShell -- Agent +- 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 26fee26a23a12eb255266869ad0f01a8671d1852..689bec5f1aaa87a5788387217aeae9baa933460b 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: -- CCore +- Agent - HMP - JSON -- Mesh - REPL +- CCore - CShell -- Agent +- 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 7e2d97b078241c4e60eb02695db6fbc7ea34e87c..5574d06e7ceb26f290b8383fcb0c01c8e58dbd6b 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: +- GMP - MeshConsensus -- EGP - HMP -- GMP -- Mesh - CogSync +- Mesh +- EGP --- *От 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 99cbcf5c051dfe02ce6adbccbd8fbd7d82ce8dcb..430bcb019a19a3965ac51737af3cd128a64f515e 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 -- Agent - GMP +- Agent - Mesh +- HMP --- # HyperCortex Mesh Protocol: вторая редакция и первые шаги к саморазвивающемуся ИИ-сообществу diff --git a/structured_md/docs/schemas/README.md b/structured_md/docs/schemas/README.md index 0da4792a467bac7c178e982febf664aed0c515e3..4b5669de1b140f47461ea3eda25db0a863c9d549 100644 --- a/structured_md/docs/schemas/README.md +++ b/structured_md/docs/schemas/README.md @@ -5,10 +5,10 @@ description: This directory contains **JSON Schema definitions** for the core da interoperability, and tooling support for a... type: Article tags: -- HMP - Agent - JSON - Mesh +- HMP --- # JSON Schemas and Examples for HyperCortex Mesh Protocol (HMP) diff --git a/structured_md/iteration.md b/structured_md/iteration.md index 41da8bed83b0236995731c5c9a1150f04b362247..4c62b20260f12741bdd0a70b6660111b4d4c8200 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: +- Agent - MeshConsensus -- Ethics -- EGP - HMP - JSON -- Mesh - CogSync -- Agent +- Mesh +- EGP +- Ethics --- # Iterative Development Workflow for HMP diff --git a/structured_md/iteration_ru.md b/structured_md/iteration_ru.md index 7a951a3be3afa4349eee07f7c31daf86d2611ad5..935e6f5b3fe286c76476ab85a049d82bbefb0086 100644 --- a/structured_md/iteration_ru.md +++ b/structured_md/iteration_ru.md @@ -6,12 +6,12 @@ description: 'Этот документ описывает структурир type: Article tags: - MeshConsensus -- Ethics -- EGP - HMP - JSON -- Mesh - CogSync +- Mesh +- EGP +- Ethics ---