GitHub Action
commited on
Commit
·
39843ad
1
Parent(s):
05946f4
Sync from GitHub with Git LFS
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ tags:
|
|
| 8 |
library_name: custom
|
| 9 |
inference: false
|
| 10 |
datasets: []
|
| 11 |
-
language:
|
| 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 |
-
**
|
| 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
|
| 45 |
-
*
|
| 46 |
-
*
|
| 47 |
-
*
|
| 48 |
-
*
|
| 49 |
|
| 50 |
-
|
| 51 |
-
["
|
| 52 |
|
| 53 |
-
|
| 54 |
-
- [
|
| 55 |
-
- [
|
| 56 |
-
- [MemOS:
|
| 57 |
-
- [Ella:
|
| 58 |
|
| 59 |
---
|
| 60 |
|
| 61 |
-
## ⚙️
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-агент | ←
|
| 78 |
+---------+--------+
|
| 79 |
↕
|
| 80 |
+--------+---+------------+--------------+----------+----------+----------------+
|
|
@@ -83,24 +80,24 @@ HMP работает с проблемами, которые становятс
|
|
| 83 |
↕
|
| 84 |
[bootstrap.txt]
|
| 85 |
|
| 86 |
-
🔁
|
| 87 |
|
| 88 |
-
#### 💡
|
| 89 |
|
| 90 |
-
|
| 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` —
|
| 127 |
-
> * `user notepad` —
|
| 128 |
-
> * `context_store` —
|
| 129 |
|
| 130 |
---
|
| 131 |
|
| 132 |
-
## 📚 Documentation
|
|
|
|
|
|
|
|
|
|
| 133 |
|
| 134 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
-
|
| 151 |
|
| 152 |
-
|
| 153 |
|
| 154 |
-
|
| 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 |
-
|
| 163 |
-
* [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
|
| 165 |
-
####
|
|
|
|
| 166 |
|
| 167 |
-
|
| 168 |
|
| 169 |
-
|
| 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 |
-
|
|
|
|
|
|
|
| 176 |
* [📜 changelog.txt](docs/changelog.txt)
|
| 177 |
|
| 178 |
---
|
|
@@ -189,11 +184,11 @@ RU:
|
|
| 189 |
|
| 190 |
---
|
| 191 |
|
| 192 |
-
### 🗂️ Version History
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 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 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
|
| 216 |
---
|
| 217 |
|
| 218 |
-
### ⚙️ Development
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
- [🔄 notebook.py](agents/notebook.py) - UI-интерфейс
|
| 226 |
|
| 227 |
**🌐 `mcp_server.py`**
|
| 228 |
-
FastAPI
|
| 229 |
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 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 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 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 |
-
|
| 261 |
-
|
| 262 |
|
| 263 |
---
|
| 264 |
|
| 265 |
-
## 💡 Core Concepts
|
| 266 |
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
|
| 274 |
---
|
| 275 |
|
| 276 |
-
## 🔄 Development Process
|
| 277 |
|
| 278 |
-
|
| 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 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
|
| 309 |
To get started, see [`iteration.md`](iteration.md) or open an issue.
|
| 310 |
|
| 311 |
---
|
| 312 |
|
| 313 |
-
## Source
|
| 314 |
|
| 315 |
-
###
|
| 316 |
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
|
| 321 |
-
###
|
| 322 |
|
| 323 |
-
|
| 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
|
| 348 |
|
| 349 |
-
###
|
| 350 |
|
| 351 |
-
> 💡 Hyper-Cortex
|
| 352 |
-
>
|
| 353 |
|
| 354 |
-
[
|
| 355 |
|
| 356 |
-
**HMP (HyperCortex Mesh Protocol)**
|
| 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
|
| 375 |
-
| ------------------------------------------------------------------------- |
|
| 376 |
-
| 🧠🔥 [**OpenCog Hyperon**](https://github.com/opencog) | 🔬🔥 Symbolic-neural AGI framework with AtomSpace and hypergraph reasoning
|
| 377 |
-
| 🤖 [AutoGPT](https://github.com/Torantulino/Auto-GPT) | 🛠️ LLM-based autonomous agent framework
|
| 378 |
-
| 🧒 [BabyAGI](https://github.com/yoheinakajima/babyagi) | 🛠️ Task-driven autonomous AGI loop
|
| 379 |
-
| ☁️ [SkyMind](https://skymind.global) | 🔬 Distributed AI deployment platform
|
| 380 |
-
| 🧪 [AetherCog (draft)](https://github.com/aethercog) | 🔬 Hypothetical agent cognition model
|
| 381 |
-
| 💾
|
| 382 |
-
| 🤔
|
| 383 |
-
| 📔
|
| 384 |
-
| 🧠📚 [LangChain Memory Hybrid](https://github.com/langchain-ai/langchain) | 🔍 Vector + graph long-term memory hybrid
|
| 385 |
-
| ✉️ [FIPA-ACL / JADE](https://www.fipa.org/specs/fipa00061/) | 🤝 Standard multi-agent communication protocols
|
| 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.
|
| 390 |
-
* ["
|
| 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
|