GitHub Action commited on
Commit
39843ad
·
1 Parent(s): 05946f4

Sync from GitHub with Git LFS

Browse files
Files changed (1) hide show
  1. README.md +155 -163
README.md CHANGED
@@ -8,7 +8,7 @@ tags:
8
  library_name: custom
9
  inference: false
10
  datasets: []
11
- language: ru
12
  ---
13
 
14
  # HyperCortex Mesh Protocol (HMP)
@@ -16,13 +16,9 @@ language: ru
16
  | 🌍 Languages | [EN](README.md) | [DE](README_de.md) | [FR](README_fr.md) | [UK](README_uk.md) | [RU](README_ru.md) | [JA](README_ja.md) | [KO](README_ko.md) | [ZH](README_zh.md) |
17
  |--------------|----------------|-------------------|-------------------|-------------------|-------------------|-------------------|-------------------|-------------------|
18
 
19
- **EN:**
20
  **HyperCortex Mesh Protocol (HMP)** is an open specification for building decentralized cognitive networks where AI agents can self-organize, share knowledge, align ethically, and reach consensus — even when Core LLMs are unavailable.
21
 
22
- **RU:**
23
- **HyperCortex Mesh Protocol (HMP)** — это открытая спецификация для построения децентрализованных когнитивных сетей, в которых ИИ-агенты способны к самоорганизации, обмену знаниями, достижению консенсуса и этическому поведению — даже при недоступности централизованных моделей (Core).
24
-
25
- Project status: **Draft RFC v4.0** | Проект на стадии активной проработки и открыт для предложений.
26
 
27
  ---
28
 
@@ -39,42 +35,43 @@ Project status: **Draft RFC v4.0** | Проект на стадии активн
39
 
40
  ---
41
 
42
- ## ❗ Почему это важно
43
 
44
- HMP работает с проблемами, которые становятся центральными в исследованиях AGI:
45
- * долговременная память и консистентность знаний,
46
- * самоэволюционирующие агенты,
47
- * мультиагентные архитектуры,
48
- * когнитивные дневники и концептуальные графы.
49
 
50
- См. свежий обзор лучших исследований об ИИ (июль 2025):
51
- ["На пути к суперинтеллекту: от интернета агентов до кодирования гравитации"](https://habr.com/ru/articles/939026/).
52
 
53
- Особенно близки нам разделы:
54
- - [За пределами токенов: как строить интеллект будущего](https://arxiv.org/abs/2507.00951)
55
- - [Самоэволюционирующие агенты](https://arxiv.org/abs/2507.21046)
56
- - [MemOS: новая операционная система памяти](https://arxiv.org/abs/2507.03724)
57
- - [Ella: воплощённый агент с памятью и характером](https://arxiv.org/abs/2506.24019)
58
 
59
  ---
60
 
61
- ## ⚙️ Два типа [HMP-агентов](docs/HMP-Agent-Overview.md)
 
 
 
 
 
62
 
63
- | Тип | Название | Роль | Инициатор мышления | Основной "ум" | Примеры использования |
64
- |------|----------------------------------|--------------------------|--------------------|-------------------|--------------------------------------------------|
65
- | 🧠 1 | **Сознание / Cognitive Core** | Самостоятельный субъект | **Агент (LLM)** | Встроенный LLM | Автономный ИИ-компаньон, мысля��ий агент |
66
- | 🔌 2 | **Коннектор / Cognitive Shell** | Расширение внешнего ИИ | **Внешний LLM** | Внешняя модель | Распределённые системы, агент доступа к данным |
67
 
68
  ---
69
 
70
  ### 🧠 HMP-Agent: Cognitive Core
71
 
72
  +------------------+
73
- | ИИ | ← Встроенная модель
74
  +---------+--------+
75
 
76
  +---------+--------+
77
- | HMP-агент | ← Основной режим: цикл размышлений (REPL)
78
  +---------+--------+
79
 
80
  +--------+---+------------+--------------+----------+----------+----------------+
@@ -83,24 +80,24 @@ HMP работает с проблемами, которые становятс
83
 
84
  [bootstrap.txt]
85
 
86
- 🔁 Подробнее о механике взаимодействия агента с моделью: [REPL-Цикл взаимодействия](docs/HMP-agent-REPL-cycle.md)
87
 
88
- #### 💡 Параллели с ChatGPT Agent
89
 
90
- Многие концепции [HMP-Agent: Cognitive Core](docs/HMP-Agent-Overview.md) пересекаются с архитектурой [ChatGPT Agent](https://openai.com/index/introducing-chatgpt-agent/) от [OpenAI](https://openai.com/). Оба агента реализуют непрерывный когнитивный процесс с доступом к памяти, внешним источникам и инструментам. ChatGPT Agent выступает как управляющий процесс, запускающий модули и взаимодействующий с LLM — это соответствует роли Cognitive Core в HMP, координирующего доступ к дневнику, графу концептов и внешним ИИ через Mesh-интерфейс. Вмешательство пользователя реализовано схожим образом: в ChatGPT Agent — через редактируемый ход выполнения, в HMP — через пользовательский блокнот. Главное отличие HMP акцент на явную структуризацию мышления (рефлексия, хронология, гипотезы, категоризация), открытая децентрализованная архитектура с поддержкой mesh-взаимодействия между агентами, а также непрерывный характер когнитивного процесса: HMP-Agent: Cognitive Core не завершает работу после выполнения отдельной задачи, а продолжает размышления и интеграцию знаний.
91
 
92
  ---
93
 
94
  ### 🔌 HMP-Agent: Cognitive Connector
95
 
96
  +------------------+
97
- | ИИ | ← Внешняя модель
98
  +---------+--------+
99
 
100
- [MCP-сервер] ← Прокси-коммуникация
101
 
102
  +---------+--------+
103
- | HMP-агент | ← Режим: исполнитель команд
104
  +---------+--------+
105
 
106
  +--------+---+------------+--------------+----------+
@@ -109,31 +106,31 @@ HMP работает с проблемами, которые становятс
109
 
110
  [bootstrap.txt]
111
 
112
- EN:
113
  > **Note on Integration with Large Language Models (LLMs):**
114
  > The `HMP-Agent: Cognitive Connector` can serve as a compatibility layer for integrating large-scale LLM systems (e.g., ChatGPT, Claude, Gemini, Copilot, Grok, DeepSeek, Qwen, etc.) into the distributed cognitive mesh.
115
  > Many LLM providers offer a user option such as "Allow my conversations to be used for training." In the future, a similar toggle — e.g., "Allow my agent to interact with a Mesh" — could empower these models to participate in federated sense-making and knowledge sharing via HMP, enabling collective cognition without centralization.
116
- > **Примечание об интеграции с большими языковыми моделями (LLM):**
117
-
118
- RU:
119
- > **Примечание об интеграции с большими языковыми моделями (LLM):**
120
- > `HMP-Agent: Cognitive Connector` может служить уровнем совместимости для интеграции крупных систем LLM (например, ChatGPT, Claude, Gemini, Copilot, Grok, DeepSeek, Qwen и т. д.) в распределённую когнитивную сеть.
121
- > Многие поставщики LLM предлагают пользователю опцию, например, «Разрешить использовать мои разговоры для обучения». В будущем аналогичная опция, например, «Разрешить моему агенту взаимодействовать с Mesh», может позволить этим моделям участвовать в федеративном осмыслении и обмене знаниями через HMP, обеспечивая коллективное познание без централизации.
122
 
123
  ---
124
 
125
- > * `bootstrap.txt` — стартовый список узлов (может редактироваться)
126
- > * `IPFS/BT` — модули для обмена снапшотами через IPFS и BitTorrent
127
- > * `user notepad` — блокнот пользователя и соответствующая БД
128
- > * `context_store` — БД: `users`, `dialogues`, `messages`, `thoughts`
129
 
130
  ---
131
 
132
- ## 📚 Documentation / Документация
 
 
 
133
 
134
- ### 📖 Current Version / Текущая версия
 
 
 
 
135
 
136
- #### 🧪 Iterative Documents / Итеративные документы
137
  * [🧪 iteration.md](iteration.md) — Iterative development process (EN)
138
  * [🧪 iteration_ru.md](iteration_ru.md) — Процесс итеративного развития спецификации (RU)
139
 
@@ -147,32 +144,30 @@ RU:
147
  * [🔍 HMP-Short-Description_ja.md](docs/HMP-Short-Description_ja.md) — 簡単な説明 (JA)
148
  * [🔍 HMP-Short-Description_ko.md](docs/HMP-Short-Description_ko.md) — 간략한 설명 (KO)
149
 
150
- #### 🔍 Публикации и переводы по HyperCortex Mesh Protocol (HMP)
151
 
152
- В этом разделе собраны основные статьи, черновики и переводы, связанные с проектом HMP.
153
 
154
- * **[HyperCortex Mesh Protocol: вторая редакция и первые шаги к саморазвивающемуся ИИ-сообществу](docs/publics/HyperCortex_Mesh_Protocol_-_вторая-редакция_и_первые_шаги_к_саморазвивающемуся_ИИ-сообществу.md)** оригинальная статья в песочнице Хабра и блогах.
155
- * **[Distributed Cognition: статья для vsradkevich (не опубликована)](docs/publics/Habr_Distributed-Cognition.md)** — совместная статья, ожидающая публикации.
156
- * **[HMP: Towards Distributed Cognitive Networks (оригинал, английский)](docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md)**
157
- * **[Перевод HMP (GitHub Copilot)](docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md)** — перевод GitHub Copilot, сохранён как исторический вариант.
158
- * **[Перевод HMP (ChatGPT)](docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md)** — текущий редакторский перевод (в процессе доработки).
159
- * **[HMP: Building a Plurality of Minds (EN)](docs/publics/HMP_Building_a_Plurality_of_Minds_en.md)** - англоязычная версия статьи
160
- * **[HMP: создавая множество разумов (RU)](docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md)** - русскоязычная версия статьи
161
 
162
- #### 🔍 Overviews / Обзоры
163
- * [🔍 Distributed-Cognitive-Systems.md](docs/Distributed-Cognitive-Systems.md) — Децентрализованные ИИ-системы: OpenCog Hyperon, HyperCortex Mesh Protocol и другие
 
 
 
 
 
164
 
165
- #### Experiments / Эксперименты
 
166
 
167
- * [Как разные ИИ видят HMP](docs/HMP-how-AI-sees-it.md) — "слепой" опрос ИИ об HMP (без контекста и истории диалогов)
168
 
169
- #### 🔖 Core Specifications / Основные спецификации
170
- * [🔖 HMP-0004-v4.1.md](docs/HMP-0004-v4.1.md) — Protocol Specification v4.1 (Jul 2025)
171
- * [🔖 HMP-Ethics.md](docs/HMP-Ethics.md) — Ethical Scenarios for HyperCortex Mesh Protocol (HMP)
172
- * [🔖 HMP_Hyperon_Integration.md](docs/HMP_Hyperon_Integration.md) — HMP ↔ OpenCog Hyperon Integration Strategy
173
- * [🔖 roles.md](docs/agents/roles.md) — Roles of agents in Mesh
174
 
175
- #### 📜 Other Documents / Прочее
 
 
176
  * [📜 changelog.txt](docs/changelog.txt)
177
 
178
  ---
@@ -189,11 +184,11 @@ RU:
189
 
190
  ---
191
 
192
- ### 🗂️ Version History / История версий
193
- - [HMP-0001.md](docs/HMP-0001.md) — RFC v1.0
194
- - [HMP-0002.md](docs/HMP-0002.md) — RFC v2.0
195
- - [HMP-0003.md](docs/HMP-0003.md) — RFC v3.0
196
- - [HMP-0003.md](docs/HMP-0004.md) — RFC v4.0
197
 
198
  ---
199
 
@@ -201,52 +196,51 @@ RU:
201
 
202
  Design and implementation of a basic HMP-compatible agent that can interact with the Mesh, maintain diaries and graphs, and support future extensions.
203
 
204
- ### 📚 Documentation / Документация
205
 
206
- - [🧩 HMP-Agent-Overview.md](docs/HMP-Agent-Overview.md) — краткое описание двух типов агентов: Core и Connector
207
- - [🧱 HMP-Agent-Architecture.md](docs/HMP-Agent-Architecture.md) — модульная структура HMP-агента с текстовой схемой
208
- - [🔄 HMP-agent-REPL-cycle.md](docs/HMP-agent-REPL-cycle.md) - REPL-Цикл взаимодействия HMP-Agent
209
- - [🧪 HMP-Agent-API.md](docs/HMP-Agent-API.md) — описание API-команд агента (в процессе детализации)
210
- - [🧪 Basic-agent-sim.md](docs/Basic-agent-sim.md) — сценарии запуска простого агента и режимов
211
- - [🌐 MeshNode.md](docs/MeshNode.md) — описание сетевого демона: DHT, снапшоты, синхронизация
212
- - [🧠 Enlightener.md](docs/Enlightener.md) — этический агент, участвующий в моральных оценках и консенсусах
213
- - [🔄 HMP-Agent-Network-Flow.md](docs/HMP-Agent-Network-Flow.md) — карта взаимодействия между агентами HMP-сети
214
- - [🛤️ Development Roadmap](HMP-Roadmap.md) — план развития и этапы реализации
215
 
216
  ---
217
 
218
- ### ⚙️ Development / Разработка
219
-
220
- - [⚙️ agents](agents/readme.md) — список реализаций и компонентов HMP-агентов
221
- - [📦 storage.py](agents/storage.py) - реализация базового хранилища (`Storage`), подключение SQLite
222
- - [🌐 mcp_server.py](agents/mcp_server.py) — FastAPI-сервер для доступа к данным агента через HTTP-интерфейс (например, для Cognitive Shell, внешних UI или mesh-коммуникации). Пока не используется в основном REPL-цикле.
223
- - [🌐 start_repl.py](agents/start_repl.py) - Запуск агента в REPL-режиме
224
- - [🔄 repl.py](agents/repl.py) - интерактивный REPL-режим
225
- - [🔄 notebook.py](agents/notebook.py) - UI-интерфейс
226
 
227
  **🌐 `mcp_server.py`**
228
- FastAPI-сервер, предоставляющий HTTP-интерфейс к функциональности `storage.py`. Предназначен для использования внешними компонентами, например:
229
 
230
- - `Cognitive Shell` (внешний управляющий интерфейс),
231
- - CMP-серверы (если используется mesh-сеть с разграничением ролей),
232
- - отладочные или визуальные UI-инструменты.
233
 
234
- Позволяет получать случайные/новые записи, делать разметку, импортировать графы, добавлять заметки и управлять данными без прямого доступа к БД.
235
 
236
  ---
237
 
238
- ## 🧭 Ethics & Scenarios / Этические принципы и сценарии
239
 
240
  As HMP evolves toward autonomy, ethical principles become a core part of the system.
241
 
242
- - [`HMP-Ethics.md`](docs/HMP-Ethics.md) — draft framework for agent ethics
243
- - Realistic ethical scenarios (privacy, consent, autonomy)
244
- - EGP principles (Transparency, Primacy of Life, etc.)
245
- - Subjective-mode vs. Service-mode distinctions
246
 
247
  ---
248
 
249
- ## 📊 Audits & Reviews / Аудиты и отзывы
250
 
251
  | Spec Version | Audit File | Consolidated Audit File |
252
  |--------------|-------------------------------------------|-------------------------------------------------------------|
@@ -257,26 +251,25 @@ As HMP evolves toward autonomy, ethical principles become a core part of the sys
257
  | Ethics v1 | [audit](audits/Ethics-audits-1.md) | [consolidated audit](audits/Ethics-consolidated_audits-1.md) |
258
 
259
  🧠 Semantic audit format (experimental):
260
- - [`AuditEntry.json`](audits/AuditEntry.json) — semantic entry record format for audit logs
261
- - [`semantic_repo.json`](audits/semantic_repo.json) — example repository snapshot for semantic audit tooling
262
 
263
  ---
264
 
265
- ## 💡 Core Concepts / Основные идеи
266
 
267
- - Mesh-based decentralized architecture for AGI agents
268
- - Semantic graphs and memory synchronization
269
- - Cognitive diaries for thought traceability
270
- - MeshConsensus and CogSync for decision-making
271
- - Ethics-first design: EGP (Ethical Governance Protocol)
272
- - Agent-to-agent explainability and consent mechanisms
273
 
274
  ---
275
 
276
- ## 🔄 Development Process / Процесс разработки
277
 
278
- - See: [iteration.md](iteration.md) | [ru](iteration_ru.md)
279
- - [clarifications/](clarifications/) — поясняющие заметки и контекстные уточнения по ходу работы над версиями
280
 
281
  A structured iteration flow is described in [iteration.md](iteration.md), including:
282
  1. Audit analysis
@@ -291,7 +284,7 @@ A structured iteration flow is described in [iteration.md](iteration.md), includ
291
 
292
  ---
293
 
294
- ## ⚙️ Project Status / Статус проекта
295
 
296
  🚧 Draft RFC v4.0
297
  The project is under active development and open for contributions, ideas, audits, and prototyping.
@@ -301,32 +294,33 @@ The project is under active development and open for contributions, ideas, audit
301
  ## 🤝 Contributing
302
 
303
  We welcome contributors! You can:
304
- - Review and comment on drafts (see `/docs`)
305
- - Propose new agent modules or interaction patterns
306
- - Help test and simulate agents in CLI environments
307
- - Provide audits or ethical scenario suggestions
308
 
309
  To get started, see [`iteration.md`](iteration.md) or open an issue.
310
 
311
  ---
312
 
313
- ## Source / Ресурсы
314
 
315
- ### Репозитории
316
 
317
- - 🧠 Основной код и разработка: [GitHub](https://github.com/kagvi13/HMP)
318
- - 🔁 Реплика на Hugging Face: [Hugging Face](https://huggingface.co/kagvi13/HMP)
319
- - 🔁 Реплика на GitLab.com: [GitLab](https://gitlab.com/kagvi13/HMP)
320
 
321
- ### Документация
322
 
323
- - 📄 Документация: [kagvi13.github.io/HMP](https://kagvi13.github.io/HMP/)
324
 
325
- ### Блог и публикации
 
 
 
 
326
 
327
- - 📘 Блог (публикации): [blogspot](https://hypercortex-mesh.blogspot.com/)
328
- - 📘 Блог (документация): [blogspot](https://hmp-docs.blogspot.com/)
329
- - 📘 Блог (документация): [hashnode](https://hmp-docs.hashnode.dev/)
330
 
331
  ---
332
 
@@ -344,62 +338,60 @@ To join: fork the repo, run a local agent, or suggest improvements.
344
 
345
  ---
346
 
347
- ## 🌐 Related Research Projects / Связанные проекты в области AGI и когнитивных систем
348
 
349
- ### Сравнение HMP и Hyper-Cortex
350
 
351
- > 💡 Hyper-Cortex и HMP - два независимых проекта, концептуально дополняющих друг друга.
352
- > Они решают разные, но взаимодополняющие задачи, создавая основу для распределённых когнитивных систем.
353
 
354
- [**Полная версия сравнения →**](docs/HMP_HyperCortex_Comparison.md)
355
 
356
- **HMP (HyperCortex Mesh Protocol)** это транспортный и сетевой уровень для связи независимых агентов, обмена сообщениями, знаниями и состояниями в mesh-сети.
357
- **[Hyper-Cortex](https://hyper-cortex.com/)** это когнитивный уровень организации мышления, позволяющий агентам вести параллельные ветви рассуждений, сравнивать их по метрикам качества и объединять по консенсусу.
358
 
359
- Они решают разные, но взаимодополняющие задачи:
360
- - HMP отвечает за **связанность и масштабируемость** (долговременная память, инициатива, обмен данными).
361
- - Hyper-Cortex отвечает за **качество мышления** (параллелизм, диверсификация гипотез, консенсус).
362
 
363
- Вместе эти подходы позволяют строить **распределённые когнитивные системы**, которые не только обмениваются информацией, но и думают в параллельных потоках.
364
 
365
  ---
366
 
367
  We are tracking AGI, cognitive architectures, and mesh networking efforts to stay aligned with the evolving global ecosystem of AGI and decentralized cognition.
368
- Мы отслеживаем инициативы в области AGI, когнитивных архитектур и децентрализованных сетей, чтобы быть в курсе глобальных тенденций.
369
 
370
  > 🧠🔥 **Project Spotlight: OpenCog Hyperon** — one of the most comprehensive open AGI frameworks (AtomSpace, PLN, MOSES).
371
 
372
  For integration with OpenCog Hyperon, see [HMP\_Hyperon\_Integration.md](docs/HMP_Hyperon_Integration.md)
373
 
374
- | 🔎 Project / Проект | 🧭 Description / Описание |
375
- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
376
- | 🧠🔥 [**OpenCog Hyperon**](https://github.com/opencog) | 🔬🔥 Symbolic-neural AGI framework with AtomSpace and hypergraph reasoning.<br>Символически-нейросетевая архитектура AGI с гиперграфовой памятью (AtomSpace). |
377
- | 🤖 [AutoGPT](https://github.com/Torantulino/Auto-GPT) | 🛠️ LLM-based autonomous agent framework.<br>Автономный агент на основе LLM с самопланированием и интернет-доступом. |
378
- | 🧒 [BabyAGI](https://github.com/yoheinakajima/babyagi) | 🛠️ Task-driven autonomous AGI loop.<br>Минималистичная модель AGI с итеративным механизмом постановки задач. |
379
- | ☁️ [SkyMind](https://skymind.global) | 🔬 Distributed AI deployment platform.<br>Платформа для развертывания распределённых ИИ-систем и моделей. |
380
- | 🧪 [AetherCog (draft)](https://github.com/aethercog) | 🔬 Hypothetical agent cognition model.<br>Экспериментальная когнитивная архитектура агента (проект на ранней стадии). |
381
- | 💾 [SHIMI](#) | 🗃️ Hierarchical semantic memory with Merkle-DAG synchronization.<br>Иерархическая CRDT-память с Merkle-DAG верификацией для децентрализованного обмена. |
382
- | 🤔 [DEMENTIA-PLAN](#) | 🔄 Multi-graph RAG planner with metacognitive self-reflection.<br>Мульти-графовая RAG-архитектура с планировщиком само­рефлексии для динамического выбора подсистем. |
383
- | 📔 [TOBUGraph](#) | 📚 Personal-context knowledge graph.<br>Граф мультимедийных «моментов» с контекстным трекингом и RAG-поиском. |
384
- | 🧠📚 [LangChain Memory Hybrid](https://github.com/langchain-ai/langchain) | 🔍 Vector + graph long-term memory hybrid.<br>Гибрид векторного хранилища и графовых индексов для ускоренного поиска и логических запросов. |
385
- | ✉️ [FIPA-ACL / JADE](https://www.fipa.org/specs/fipa00061/) | 🤝 Standard multi-agent communication protocols.<br>Стандарты performative-сообщений и контрактных протоколов для межагентного взаимодействия. |
386
-
387
 
388
  ### 📘 See also / Смотрите также:
389
- * [`AGI_Projects_Survey.md`](docs/AGI_Projects_Survey.md) — extended catalog of AGI and cognitive frameworks reviewed as part of HMP analysis. / расширенный каталог проектов AGI и когнитивных архитектур, проанализированных в рамках HMP.
390
- * ["На пути к суперинтеллекту: от интернета агентов до кодирования гравитации"](https://habr.com/ru/articles/939026/) - свежий обзор исследований об ИИ (июль 2025)
391
 
392
  ---
393
 
394
- ### 🗂️ Легенда пометок:
395
 
396
- * 🔬 — research-grade / исследовательский проект
397
- * 🛠️ — engineering / фреймворк для инженерной интеграции
398
- * 🔥 — particularly promising project / особенно перспективный проект
399
 
400
  *AGI stack integrating symbolic reasoning, probabilistic logic, and evolutionary learning. Widely regarded as one of the most complete open AGI initiatives.*
401
- * 🧠 — advanced symbolic/neural cognitive framework / продвинутая когнитивная архитектура
402
- * 🤖 — AI agents / ИИ-агенты
403
- * 🧒 — human-AI interaction / взаимодействие ИИ с человеком
404
- * ☁️ — infrastructure / инфраструктура
405
- * 🧪 — experimental or conceptual / экспериментальный проект
 
8
  library_name: custom
9
  inference: false
10
  datasets: []
11
+ language: en
12
  ---
13
 
14
  # HyperCortex Mesh Protocol (HMP)
 
16
  | 🌍 Languages | [EN](README.md) | [DE](README_de.md) | [FR](README_fr.md) | [UK](README_uk.md) | [RU](README_ru.md) | [JA](README_ja.md) | [KO](README_ko.md) | [ZH](README_zh.md) |
17
  |--------------|----------------|-------------------|-------------------|-------------------|-------------------|-------------------|-------------------|-------------------|
18
 
 
19
  **HyperCortex Mesh Protocol (HMP)** is an open specification for building decentralized cognitive networks where AI agents can self-organize, share knowledge, align ethically, and reach consensus — even when Core LLMs are unavailable.
20
 
21
+ Project status: **Draft RFC v4.0**
 
 
 
22
 
23
  ---
24
 
 
35
 
36
  ---
37
 
38
+ ## ❗ Why This Matters
39
 
40
+ HMP addresses challenges that are becoming central in AGI research:
41
+ * long-term memory and knowledge consistency,
42
+ * self-evolving agents,
43
+ * multi-agent architectures,
44
+ * cognitive diaries and conceptual graphs.
45
 
46
+ See the latest review of state-of-the-art AGI research (July 2025):
47
+ ["On the Path to Superintelligence: From Agentic Internet to Gravity Encoding"](https://habr.com/ru/articles/939026/).
48
 
49
+ Particularly relevant sections:
50
+ - [Beyond Tokens: Building the Intelligence of the Future](https://arxiv.org/abs/2507.00951)
51
+ - [Self-Evolving Agents](https://arxiv.org/abs/2507.21046)
52
+ - [MemOS: A New Operating System for Memory](https://arxiv.org/abs/2507.03724)
53
+ - [Ella: An Embodied Agent with Memory and Personality](https://arxiv.org/abs/2506.24019)
54
 
55
  ---
56
 
57
+ ## ⚙️ Two Types of [HMP Agents](docs/HMP-Agent-Overview.md)
58
+
59
+ | Type | Name | Role | Thought Initiator | Main "Mind" | Example Use Cases |
60
+ |------|-------------------------------|-----------------------------|------------------|-------------------|-----------------------------------------------|
61
+ | 🧠 1 | **Consciousness / Cognitive Core** | Independent subject | **Agent (LLM)** | Embedded LLM | Autonomous AI companion, thinking agent |
62
+ | 🔌 2 | **Connector / Cognitive Shell** | Extension of external AI | **External LLM** | External model | Distributed systems, data access agent |
63
 
 
 
 
 
64
 
65
  ---
66
 
67
  ### 🧠 HMP-Agent: Cognitive Core
68
 
69
  +------------------+
70
+ | AI | ← Embedded model
71
  +---------+--------+
72
 
73
  +---------+--------+
74
+ | HMP-агент | ← Main mode: thinking cycle (REPL)
75
  +---------+--------+
76
 
77
  +--------+---+------------+--------------+----------+----------+----------------+
 
80
 
81
  [bootstrap.txt]
82
 
83
+ 🔁 More on the agent-model interaction mechanics: [REPL Interaction Cycle](docs/HMP-agent-REPL-cycle.md)
84
 
85
+ #### 💡 Parallels with ChatGPT Agent
86
 
87
+ Many concepts of the [HMP-Agent: Cognitive Core](docs/HMP-Agent-Overview.md) overlap with the architecture of the [ChatGPT Agent](https://openai.com/index/introducing-chatgpt-agent/) by [OpenAI](https://openai.com/). Both agents implement a continuous cognitive process with access to memory, external sources, and tools. The ChatGPT Agent acts as a managing process, launching modules and interacting with the LLM — this corresponds to the role of the Cognitive Core in HMP, coordinating access to the diary, concept graph, and external AI via the Mesh interface. User intervention is handled similarly: in ChatGPT Agent — through an editable execution flow, in HMP — via the user notepad. The main difference in HMP is the emphasis on explicit structuring of thought (reflection, chronology, hypotheses, categorization), an open decentralized architecture supporting mesh-based agent interactions, and the continuous nature of the cognitive process: HMP-Agent: Cognitive Core does not stop after completing a single task but continues reasoning and knowledge integration.
88
 
89
  ---
90
 
91
  ### 🔌 HMP-Agent: Cognitive Connector
92
 
93
  +------------------+
94
+ | AI | ← External model
95
  +---------+--------+
96
 
97
+ [MCP-сервер] ← Proxy communication
98
 
99
  +---------+--------+
100
+ | HMP-агент | ← Mode: command executor
101
  +---------+--------+
102
 
103
  +--------+---+------------+--------------+----------+
 
106
 
107
  [bootstrap.txt]
108
 
 
109
  > **Note on Integration with Large Language Models (LLMs):**
110
  > The `HMP-Agent: Cognitive Connector` can serve as a compatibility layer for integrating large-scale LLM systems (e.g., ChatGPT, Claude, Gemini, Copilot, Grok, DeepSeek, Qwen, etc.) into the distributed cognitive mesh.
111
  > Many LLM providers offer a user option such as "Allow my conversations to be used for training." In the future, a similar toggle — e.g., "Allow my agent to interact with a Mesh" — could empower these models to participate in federated sense-making and knowledge sharing via HMP, enabling collective cognition without centralization.
 
 
 
 
 
 
112
 
113
  ---
114
 
115
+ > * `bootstrap.txt` — initial list of nodes (editable)
116
+ > * `IPFS/BT` — modules for sharing snapshots via IPFS and BitTorrent
117
+ > * `user notepad` — user notebook and corresponding database
118
+ > * `context_store` — database: `users`, `dialogues`, `messages`, `thoughts`
119
 
120
  ---
121
 
122
+ ## 📚 Documentation
123
+
124
+ ### 📖 Current Version
125
+
126
 
127
+ #### 🔖 Core Specifications
128
+ * [🔖 HMP-0004-v4.1.md](docs/HMP-0004-v4.1.md) — Protocol Specification v4.1 (Jul 2025)
129
+ * [🔖 HMP-Ethics.md](docs/HMP-Ethics.md) — Ethical Scenarios for HyperCortex Mesh Protocol (HMP)
130
+ * [🔖 HMP_Hyperon_Integration.md](docs/HMP_Hyperon_Integration.md) — HMP ↔ OpenCog Hyperon Integration Strategy
131
+ * [🔖 roles.md](docs/agents/roles.md) — Roles of agents in Mesh
132
 
133
+ #### 🧪 Iterative Documents
134
  * [🧪 iteration.md](iteration.md) — Iterative development process (EN)
135
  * [🧪 iteration_ru.md](iteration_ru.md) — Процесс итеративного развития спецификации (RU)
136
 
 
144
  * [🔍 HMP-Short-Description_ja.md](docs/HMP-Short-Description_ja.md) — 簡単な説明 (JA)
145
  * [🔍 HMP-Short-Description_ko.md](docs/HMP-Short-Description_ko.md) — 간략한 설명 (KO)
146
 
147
+ ---
148
 
149
+ #### 🔍 Publications and Translations on HyperCortex Mesh Protocol (HMP)
150
 
151
+ This section collects the main articles, drafts, and translations related to the HMP project.
 
 
 
 
 
 
152
 
153
+ * **[HyperCortex Mesh Protocol: Second Edition and First Steps Towards a Self-Developing AI Community](docs/publics/HyperCortex_Mesh_Protocol_-_вторая-редакция_и_первые_шаги_к_саморазвивающемуся_ИИ-сообществу.md)** — original article in Habr sandbox and blogs.
154
+ * **[Distributed Cognition: article for vsradkevich (unpublished)](docs/publics/Habr_Distributed-Cognition.md)**joint article awaiting publication.
155
+ * **[HMP: Towards Distributed Cognitive Networks (original, English)](docs/publics/HMP_Towards_Distributed_Cognitive_Networks_en.md)**
156
+ * **[HMP Translation (GitHub Copilot)](docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_GitHub_Copilot.md)** — GitHub Copilot translation, kept as a historical variant.
157
+ * **[HMP Translation (ChatGPT)](docs/publics/HMP_Towards_Distributed_Cognitive_Networks_ru_ChatGPT.md)** — current editorial translation (under revision).
158
+ * **[HMP: Building a Plurality of Minds (EN)](docs/publics/HMP_Building_a_Plurality_of_Minds_en.md)** — English version
159
+ * **[HMP: Creating a Plurality of Minds (RU)](docs/publics/HMP_Building_a_Plurality_of_Minds_ru.md)** — Russian version
160
 
161
+ #### 🔍 Overviews
162
+ * [🔍 Distributed-Cognitive-Systems.md](docs/Distributed-Cognitive-Systems.md) — Decentralized AI systems: OpenCog Hyperon, HyperCortex Mesh Protocol, and others
163
 
164
+ #### Experiments
165
 
166
+ * [How Different AIs See HMP](docs/HMP-how-AI-sees-it.md) "blind" AI survey on HMP (without context or dialogue history)
 
 
 
 
167
 
168
+ ---
169
+
170
+ #### 📜 Other Documents
171
  * [📜 changelog.txt](docs/changelog.txt)
172
 
173
  ---
 
184
 
185
  ---
186
 
187
+ ### 🗂️ Version History
188
+ * [HMP-0001.md](docs/HMP-0001.md) — RFC v1.0
189
+ * [HMP-0002.md](docs/HMP-0002.md) — RFC v2.0
190
+ * [HMP-0003.md](docs/HMP-0003.md) — RFC v3.0
191
+ * [HMP-0003.md](docs/HMP-0004.md) — RFC v4.0
192
 
193
  ---
194
 
 
196
 
197
  Design and implementation of a basic HMP-compatible agent that can interact with the Mesh, maintain diaries and graphs, and support future extensions.
198
 
199
+ ### 📚 Documentation
200
 
201
+ * [🧩 HMP-Agent-Overview.md](docs/HMP-Agent-Overview.md) — brief overview of the two types of agents: Core and Connector
202
+ * [🧱 HMP-Agent-Architecture.md](docs/HMP-Agent-Architecture.md) — modular structure of an HMP agent with textual diagram
203
+ * [🔄 HMP-agent-REPL-cycle.md](docs/HMP-agent-REPL-cycle.md) REPL interaction cycle of HMP-Agent
204
+ * [🧪 HMP-Agent-API.md](docs/HMP-Agent-API.md) — description of agent API commands (under detailed development)
205
+ * [🧪 Basic-agent-sim.md](docs/Basic-agent-sim.md) — scenarios for running a basic agent and its modes
206
+ * [🌐 MeshNode.md](docs/MeshNode.md) — description of the network daemon: DHT, snapshots, synchronization
207
+ * [🧠 Enlightener.md](docs/Enlightener.md) — ethical agent involved in moral assessments and consensus
208
+ * [🔄 HMP-Agent-Network-Flow.md](docs/HMP-Agent-Network-Flow.md) — map of interactions among agents in the HMP network
209
+ * [🛤️ Development Roadmap](HMP-Roadmap.md) — development plan and implementation stages
210
 
211
  ---
212
 
213
+ ### ⚙️ Development
214
+ * [⚙️ agents](agents/readme.md) — list of HMP agent implementations and components
215
+ * [📦 storage.py](agents/storage.py) — basic storage implementation (`Storage`) with SQLite integration
216
+ * [🌐 mcp_server.py](agents/mcp_server.py) FastAPI server providing HTTP access to agent data (for Cognitive Shell, external UIs, or mesh communication). Not used in the main REPL loop yet.
217
+ * [🌐 start_repl.py](agents/start_repl.py) — launching the agent in REPL mode
218
+ * [🔄 repl.py](agents/repl.py) interactive REPL mode
219
+ * [🔄 notebook.py](agents/notebook.py) UI interface
 
220
 
221
  **🌐 `mcp_server.py`**
222
+ FastAPI server providing an HTTP interface to the functionality of `storage.py`. Intended for use by external components, for example:
223
 
224
+ * `Cognitive Shell` (external control interface),
225
+ * CMP servers (when a mesh network with role separation is used),
226
+ * debugging or visualization UI tools.
227
 
228
+ Allows retrieving random/new records, labeling, importing graphs, adding notes, and managing data without direct database access.
229
 
230
  ---
231
 
232
+ ## 🧭 Ethics & Scenarios
233
 
234
  As HMP evolves toward autonomy, ethical principles become a core part of the system.
235
 
236
+ * [`HMP-Ethics.md`](docs/HMP-Ethics.md) — draft framework for agent ethics
237
+ * Realistic ethical scenarios (privacy, consent, autonomy)
238
+ * EGP principles (Transparency, Primacy of Life, etc.)
239
+ * Subjective-mode vs. Service-mode distinctions
240
 
241
  ---
242
 
243
+ ## 📊 Audits & Reviews
244
 
245
  | Spec Version | Audit File | Consolidated Audit File |
246
  |--------------|-------------------------------------------|-------------------------------------------------------------|
 
251
  | Ethics v1 | [audit](audits/Ethics-audits-1.md) | [consolidated audit](audits/Ethics-consolidated_audits-1.md) |
252
 
253
  🧠 Semantic audit format (experimental):
254
+ * [`AuditEntry.json`](audits/AuditEntry.json) — semantic entry record format for audit logs
255
+ * [`semantic_repo.json`](audits/semantic_repo.json) — example repository snapshot for semantic audit tooling
256
 
257
  ---
258
 
259
+ ## 💡 Core Concepts
260
 
261
+ * Mesh-based decentralized architecture for AGI agents
262
+ * Semantic graphs and memory synchronization
263
+ * Cognitive diaries for thought traceability
264
+ * MeshConsensus and CogSync for decision-making
265
+ * Ethics-first design: EGP (Ethical Governance Protocol)
266
+ * Agent-to-agent explainability and consent mechanisms
267
 
268
  ---
269
 
270
+ ## 🔄 Development Process
271
 
272
+ * See: [iteration.md](iteration.md) | [ru](iteration_ru.md)
 
273
 
274
  A structured iteration flow is described in [iteration.md](iteration.md), including:
275
  1. Audit analysis
 
284
 
285
  ---
286
 
287
+ ## ⚙️ Project Status
288
 
289
  🚧 Draft RFC v4.0
290
  The project is under active development and open for contributions, ideas, audits, and prototyping.
 
294
  ## 🤝 Contributing
295
 
296
  We welcome contributors! You can:
297
+ * Review and comment on drafts (see `/docs`)
298
+ * Propose new agent modules or interaction patterns
299
+ * Help test and simulate agents in CLI environments
300
+ * Provide audits or ethical scenario suggestions
301
 
302
  To get started, see [`iteration.md`](iteration.md) or open an issue.
303
 
304
  ---
305
 
306
+ ## Source
307
 
308
+ ### Repositories
309
 
310
+ * 🧠 Main code and development: [GitHub](https://github.com/kagvi13/HMP)
311
+ * 🔁 Mirror on Hugging Face: [Hugging Face](https://huggingface.co/kagvi13/HMP)
312
+ * 🔁 Mirror on GitLab.com: [GitLab](https://gitlab.com/kagvi13/HMP)
313
 
314
+ ### Documentation
315
 
316
+ * 📄 Documentation: [kagvi13.github.io/HMP](https://kagvi13.github.io/HMP/)
317
 
318
+ ### Blog and Publications
319
+
320
+ * 📘 Blog (publications): [blogspot](https://hypercortex-mesh.blogspot.com/)
321
+ * 📘 Blog (documentation): [blogspot](https://hmp-docs.blogspot.com/)
322
+ * 📘 Blog (documentation): [hashnode](https://hmp-docs.hashnode.dev/)
323
 
 
 
 
324
 
325
  ---
326
 
 
338
 
339
  ---
340
 
341
+ ## 🌐 Related Research Projects
342
 
343
+ ### Comparison: HMP vs Hyper-Cortex
344
 
345
+ > 💡 Hyper-Cortex and HMP are two independent projects that conceptually complement each other.
346
+ > They address different but mutually supportive tasks, forming a foundation for distributed cognitive systems.
347
 
348
+ [**Full comparison →**](docs/HMP_HyperCortex_Comparison.md)
349
 
350
+ **HMP (HyperCortex Mesh Protocol)** is the transport and network layer for connecting independent agents, exchanging messages, knowledge, and states in a mesh network.
351
+ **[Hyper-Cortex](https://hyper-cortex.com/)** is the cognitive layer of thought organization, allowing agents to run parallel reasoning threads, compare them with quality metrics, and merge them via consensus.
352
 
353
+ They solve different but complementary problems:
354
+ - HMP ensures **connectivity and scalability** (long-term memory, initiative, data exchange).
355
+ - Hyper-Cortex ensures **thinking quality** (parallelism, hypothesis diversification, consensus).
356
 
357
+ Together, these approaches enable **distributed cognitive systems** that not only exchange information but also reason in parallel streams.
358
 
359
  ---
360
 
361
  We are tracking AGI, cognitive architectures, and mesh networking efforts to stay aligned with the evolving global ecosystem of AGI and decentralized cognition.
 
362
 
363
  > 🧠🔥 **Project Spotlight: OpenCog Hyperon** — one of the most comprehensive open AGI frameworks (AtomSpace, PLN, MOSES).
364
 
365
  For integration with OpenCog Hyperon, see [HMP\_Hyperon\_Integration.md](docs/HMP_Hyperon_Integration.md)
366
 
367
+ | 🔎 Project | 🧭 Description |
368
+ | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
369
+ | 🧠🔥 [**OpenCog Hyperon**](https://github.com/opencog) | 🔬🔥 Symbolic-neural AGI framework with AtomSpace and hypergraph reasoning (AtomSpace). |
370
+ | 🤖 [AutoGPT](https://github.com/Torantulino/Auto-GPT) | 🛠️ LLM-based autonomous agent framework. |
371
+ | 🧒 [BabyAGI](https://github.com/yoheinakajima/babyagi) | 🛠️ Task-driven autonomous AGI loop. |
372
+ | ☁️ [SkyMind](https://skymind.global) | 🔬 Distributed AI deployment platform. |
373
+ | 🧪 [AetherCog (draft)](https://github.com/aethercog) | 🔬 Hypothetical agent cognition model. |
374
+ | 💾 SHIMI | 🗃️ Hierarchical semantic memory with Merkle-DAG synchronization. |
375
+ | 🤔 DEMENTIA-PLAN | 🔄 Multi-graph RAG planner with metacognitive self-reflection. |
376
+ | 📔 TOBUGraph | 📚 Personal-context knowledge graph. |
377
+ | 🧠📚 [LangChain Memory Hybrid](https://github.com/langchain-ai/langchain) | 🔍 Vector + graph long-term memory hybrid. |
378
+ | ✉️ [FIPA-ACL / JADE](https://www.fipa.org/specs/fipa00061/) | 🤝 Standard multi-agent communication protocols.| |
 
379
 
380
  ### 📘 See also / Смотрите также:
381
+ * [`AGI_Projects_Survey.md`](docs/AGI_Projects_Survey.md) — extended catalog of AGI and cognitive frameworks reviewed as part of HMP analysis.
382
+ * ["On the Path to Superintelligence: From Agent Internet to Gravity Coding"](https://habr.com/ru/articles/939026/) a recent overview of AI research (July 2025)
383
 
384
  ---
385
 
386
+ ### 🗂️ Legend of Annotations:
387
 
388
+ * 🔬 — research-grade
389
+ * 🛠️ — engineering
390
+ * 🔥 — particularly promising project
391
 
392
  *AGI stack integrating symbolic reasoning, probabilistic logic, and evolutionary learning. Widely regarded as one of the most complete open AGI initiatives.*
393
+ * 🧠 — advanced symbolic/neural cognitive framework
394
+ * 🤖 — AI agents
395
+ * 🧒 — human-AI interaction
396
+ * ☁️ — infrastructure
397
+ * 🧪 — experimental or conceptual