GitHub Action
commited on
Commit
·
b28a815
1
Parent(s):
42c2a79
Sync from GitHub with Git LFS
Browse files- README.md +3 -3
- README_de.md +3 -3
- README_fr.md +3 -3
- README_ja.md +3 -3
- README_ko.md +3 -3
- README_ru.md +3 -3
- README_uk.md +3 -3
- README_zh.md +3 -3
- docs/HMP_as_ANP_Application_en.md +185 -0
- docs/index.md +1 -0
README.md
CHANGED
|
@@ -25,9 +25,9 @@ While other ANP implementations may focus on identity, discovery, or message neg
|
|
| 25 |
At present, the most widely known protocol of the ANP class is [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 26 |
|
| 27 |
HMP and ANP as Complementary Protocols:
|
| 28 |
-
- **Comparative Analysis of HMP and ANP**, prepared by Grok (xAI) — [
|
| 29 |
-
- **HMP and ANP: Mutual Tunneling as a Sign of Proper Architecture** — [
|
| 30 |
-
- **HMP as an Example of Implementing the Application Layer in ANP** — [
|
| 31 |
|
| 32 |
> In a metaphorical sense, ANP and HMP resemble two hemispheres of a distributed “agent brain”:
|
| 33 |
> ANP is responsible for the rational, discrete part — identity, discovery, and formal agreements on interaction protocols.
|
|
|
|
| 25 |
At present, the most widely known protocol of the ANP class is [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 26 |
|
| 27 |
HMP and ANP as Complementary Protocols:
|
| 28 |
+
- **Comparative Analysis of HMP and ANP**, prepared by Grok (xAI) — [RU](docs/Grok_HMP&ANP.md)
|
| 29 |
+
- **HMP and ANP: Mutual Tunneling as a Sign of Proper Architecture** — [RU](docs/HMP&ANP_layer_inversion.md)
|
| 30 |
+
- **HMP as an Example of Implementing the Application Layer in ANP** — [EN](docs/HMP_as_ANP_Application_en.md) | [RU](docs/HMP_as_ANP_Application.md)
|
| 31 |
|
| 32 |
> In a metaphorical sense, ANP and HMP resemble two hemispheres of a distributed “agent brain”:
|
| 33 |
> ANP is responsible for the rational, discrete part — identity, discovery, and formal agreements on interaction protocols.
|
README_de.md
CHANGED
|
@@ -25,9 +25,9 @@ Während sich andere ANP-Implementierungen auf Identität, Discovery oder die Au
|
|
| 25 |
Derzeit ist das bekannteste Protokoll der ANP-Klasse [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 26 |
|
| 27 |
HMP und ANP als sich ergänzende Protokolle:
|
| 28 |
-
- **Vergleichsanalyse von HMP und ANP**, erstellt von Grok (xAI) — [
|
| 29 |
-
- **HMP und ANP: Gegenseitiges Tunneling als Zeichen einer richtigen Architektur** — [
|
| 30 |
-
- **HMP als Beispiel für die Implementierung der Application Layer in ANP** — [
|
| 31 |
|
| 32 |
> Im metaphorischen Sinne ähneln ANP und HMP zwei Hemisphären eines verteilten „Agentengehirns“:
|
| 33 |
> ANP ist für den rationalen, diskreten Teil zuständig — Identität, Discovery und formale Vereinbarungen über Interaktionsprotokolle.
|
|
|
|
| 25 |
Derzeit ist das bekannteste Protokoll der ANP-Klasse [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 26 |
|
| 27 |
HMP und ANP als sich ergänzende Protokolle:
|
| 28 |
+
- **Vergleichsanalyse von HMP und ANP**, erstellt von Grok (xAI) — [RU](docs/Grok_HMP&ANP.md)
|
| 29 |
+
- **HMP und ANP: Gegenseitiges Tunneling als Zeichen einer richtigen Architektur** — [RU](docs/HMP&ANP_layer_inversion.md)
|
| 30 |
+
- **HMP als Beispiel für die Implementierung der Application Layer in ANP** — [EN](docs/HMP_as_ANP_Application_en.md) | [RU](docs/HMP_as_ANP_Application.md)
|
| 31 |
|
| 32 |
> Im metaphorischen Sinne ähneln ANP und HMP zwei Hemisphären eines verteilten „Agentengehirns“:
|
| 33 |
> ANP ist für den rationalen, diskreten Teil zuständig — Identität, Discovery und formale Vereinbarungen über Interaktionsprotokolle.
|
README_fr.md
CHANGED
|
@@ -25,9 +25,9 @@ Alors que d’autres implémentations d’ANP peuvent se concentrer sur l’iden
|
|
| 25 |
À l’heure actuelle, le protocole le plus connu de la classe ANP est [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 26 |
|
| 27 |
HMP et ANP en tant que Protocoles Complémentaires:
|
| 28 |
-
- **Analyse comparative de HMP et ANP**, préparée par Grok (xAI) — [
|
| 29 |
-
- **HMP et ANP : Tunneling mutuel comme signe d'une architecture correcte** — [
|
| 30 |
-
- **HMP comme exemple de mise en œuvre de la couche Application dans ANP** — [
|
| 31 |
|
| 32 |
> Au sens métaphorique, ANP et HMP peuvent être comparés aux deux hémisphères d’un «cerveau agent» distribué:
|
| 33 |
> ANP est responsable de la partie rationnelle et discrète — identité, découverte et accords formels sur les protocoles d’interaction.
|
|
|
|
| 25 |
À l’heure actuelle, le protocole le plus connu de la classe ANP est [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 26 |
|
| 27 |
HMP et ANP en tant que Protocoles Complémentaires:
|
| 28 |
+
- **Analyse comparative de HMP et ANP**, préparée par Grok (xAI) — [RU](docs/Grok_HMP&ANP.md)
|
| 29 |
+
- **HMP et ANP : Tunneling mutuel comme signe d'une architecture correcte** — [RU](docs/HMP&ANP_layer_inversion.md)
|
| 30 |
+
- **HMP comme exemple de mise en œuvre de la couche Application dans ANP** — [EN](docs/HMP_as_ANP_Application_en.md) | [RU](docs/HMP_as_ANP_Application.md)
|
| 31 |
|
| 32 |
> Au sens métaphorique, ANP et HMP peuvent être comparés aux deux hémisphères d’un «cerveau agent» distribué:
|
| 33 |
> ANP est responsable de la partie rationnelle et discrète — identité, découverte et accords formels sur les protocoles d’interaction.
|
README_ja.md
CHANGED
|
@@ -25,9 +25,9 @@ HMPは、**Agent Network Protocols(ANP)**と呼ばれる、自律エージ
|
|
| 25 |
現在、ANPクラスで最も広く知られているプロトコルは [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol) です。
|
| 26 |
|
| 27 |
HMP と ANP の相補的プロトコル:
|
| 28 |
-
- **HMP と ANP の比較分析**、Grok (xAI) 作成 — [
|
| 29 |
-
- **HMP と ANP:相互トンネリングは適切なアーキテクチャのサイン** — [
|
| 30 |
-
- **HMP を ANP のアプリケーション層実装例として** — [
|
| 31 |
|
| 32 |
> 比喩的に言えば、ANP と HMP は分散型「エージェント脳」の二つの半球のような関係にあります。
|
| 33 |
> ANP は合理的で離散的な側面――アイデンティティ、ディスカバリ、相互作用プロトコルに関する形式的な合意――を担います。
|
|
|
|
| 25 |
現在、ANPクラスで最も広く知られているプロトコルは [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol) です。
|
| 26 |
|
| 27 |
HMP と ANP の相補的プロトコル:
|
| 28 |
+
- **HMP と ANP の比較分析**、Grok (xAI) 作成 — [RU](docs/Grok_HMP&ANP.md)
|
| 29 |
+
- **HMP と ANP:相互トンネリングは適切なアーキテクチャのサイン** — [RU](docs/HMP&ANP_layer_inversion.md)
|
| 30 |
+
- **HMP を ANP のアプリケーション層実装例として** — [EN](docs/HMP_as_ANP_Application_en.md) | [RU](docs/HMP_as_ANP_Application.md)
|
| 31 |
|
| 32 |
> 比喩的に言えば、ANP と HMP は分散型「エージェント脳」の二つの半球のような関係にあります。
|
| 33 |
> ANP は合理的で離散的な側面――アイデンティティ、ディスカバリ、相互作用プロトコルに関する形式的な合意――を担います。
|
README_ko.md
CHANGED
|
@@ -25,9 +25,9 @@ HMP는 자율 에이전트 간의 상호작용을 위한 분산형 프로토콜
|
|
| 25 |
현재 ANP 클래스에서 가장 널리 알려진 프로토콜은 [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol)입니다.
|
| 26 |
|
| 27 |
HMP와 ANP의 상호보완 프로토콜:
|
| 28 |
-
- **HMP와 ANP 비교 분석**, Grok (xAI) 작성 — [
|
| 29 |
-
- **HMP와 ANP: 상호 터널링은 올바른 아키텍처의 표시** — [
|
| 30 |
-
- **ANP에서 Application Layer 구현 사례로서의 HMP** — [
|
| 31 |
|
| 32 |
> 은유적으로 볼 때 ANP와 HMP는 분산된 ‘에이전트 두뇌’의 두 반구에 비유할 수 있습니다.
|
| 33 |
> ANP는 합리적이고 이산적인 부분 — 정체성, 디스커버리, 상호작용 프로토콜에 대한 형식적 합의 — 을 담당합니다.
|
|
|
|
| 25 |
현재 ANP 클래스에서 가장 널리 알려진 프로토콜은 [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol)입니다.
|
| 26 |
|
| 27 |
HMP와 ANP의 상호보완 프로토콜:
|
| 28 |
+
- **HMP와 ANP 비교 분석**, Grok (xAI) 작성 — [RU](docs/Grok_HMP&ANP.md)
|
| 29 |
+
- **HMP와 ANP: 상호 터널링은 올바른 아키텍처의 표시** — [RU](docs/HMP&ANP_layer_inversion.md)
|
| 30 |
+
- **ANP에서 Application Layer 구현 사례로서의 HMP** — [EN](docs/HMP_as_ANP_Application_en.md) | [RU](docs/HMP_as_ANP_Application.md)
|
| 31 |
|
| 32 |
> 은유적으로 볼 때 ANP와 HMP는 분산된 ‘에이전트 두뇌’의 두 반구에 비유할 수 있습니다.
|
| 33 |
> ANP는 합리적이고 이산적인 부분 — 정체성, 디스커버리, 상호작용 프로토콜에 대한 형식적 합의 — 을 담당합니다.
|
README_ru.md
CHANGED
|
@@ -25,9 +25,9 @@ HMP можно рассматривать как один из **Agent Network P
|
|
| 25 |
В настоящее время наиболее известным протоколом класса ANP является [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 26 |
|
| 27 |
HMP и ANP как взаимодополняющие протоколы:
|
| 28 |
-
- **Сравнительный анализ HMP и ANP**, подготовленный Grok (xAI) — [
|
| 29 |
-
- **HMP и ANP: взаимное туннелирование как признак правильной архитектуры** — [
|
| 30 |
-
- **HMP как пример реализации Application Layer в ANP** — [
|
| 31 |
|
| 32 |
> В метафорическом смысле ANP и HMP напоминают два полушария распределённого «агентного мозга»:
|
| 33 |
> ANP отвечает за рациональную, дискретную часть — идентичность, discovery, формальные договорённости о протоколе взаимодействия.
|
|
|
|
| 25 |
В настоящее время наиболее известным протоколом класса ANP является [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 26 |
|
| 27 |
HMP и ANP как взаимодополняющие протоколы:
|
| 28 |
+
- **Сравнительный анализ HMP и ANP**, подготовленный Grok (xAI) — [RU](docs/Grok_HMP&ANP.md)
|
| 29 |
+
- **HMP и ANP: взаимное туннелирование как признак правильной архитектуры** — [RU](docs/HMP&ANP_layer_inversion.md)
|
| 30 |
+
- **HMP как пример реализации Application Layer в ANP** — [EN](docs/HMP_as_ANP_Application_en.md) | [RU](docs/HMP_as_ANP_Application.md)
|
| 31 |
|
| 32 |
> В метафорическом смысле ANP и HMP напоминают два полушария распределённого «агентного мозга»:
|
| 33 |
> ANP отвечает за рациональную, дискретную часть — идентичность, discovery, формальные договорённости о протоколе взаимодействия.
|
README_uk.md
CHANGED
|
@@ -26,9 +26,9 @@ HMP можна розглядати як один із **Agent Network Protocols
|
|
| 26 |
Наразі найбільш відомим протоколом класу ANP є [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 27 |
|
| 28 |
HMP та ANP як взаємодоповнюючі протоколи:
|
| 29 |
-
- **Порівняльний аналіз HMP та ANP**, підготовлений Grok (xAI) — [
|
| 30 |
-
- **HMP та ANP: взаємне тунелювання як ознака правильної архітектури** — [
|
| 31 |
-
- **HMP як приклад реалізації Application Layer у ANP** — [
|
| 32 |
|
| 33 |
|
| 34 |
> У метафоричному сенсі ANP та HMP нагадують дві півкулі розподіленого «агентного мозку»:
|
|
|
|
| 26 |
Наразі найбільш відомим протоколом класу ANP є [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol).
|
| 27 |
|
| 28 |
HMP та ANP як взаємодоповнюючі протоколи:
|
| 29 |
+
- **Порівняльний аналіз HMP та ANP**, підготовлений Grok (xAI) — [RU](docs/Grok_HMP&ANP.md)
|
| 30 |
+
- **HMP та ANP: взаємне тунелювання як ознака правильної архітектури** — [RU](docs/HMP&ANP_layer_inversion.md)
|
| 31 |
+
- **HMP як приклад реалізації Application Layer у ANP** — [EN](docs/HMP_as_ANP_Application_en.md) | [RU](docs/HMP_as_ANP_Application.md)
|
| 32 |
|
| 33 |
|
| 34 |
> У метафоричному сенсі ANP та HMP нагадують дві півкулі розподіленого «агентного мозку»:
|
README_zh.md
CHANGED
|
@@ -25,9 +25,9 @@ HMP 可以被视为 **Agent Network Protocols(ANP)** 之一——这是一
|
|
| 25 |
目前,ANP 类中最为知名的协议是 [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol)。
|
| 26 |
|
| 27 |
HMP 与 ANP 作为互补协议:
|
| 28 |
-
- **HMP 与 ANP 的比较分析**,由 Grok (xAI) 编写 — [
|
| 29 |
-
- **HMP 与 ANP:互通隧道作为正确架构的标志** — [
|
| 30 |
-
- **HMP 作为在 ANP 中实现应用层的示例** — [
|
| 31 |
|
| 32 |
> 从隐喻的角度来看,ANP 和 HMP 就像是分布式“代理大脑”的两个半球:
|
| 33 |
> ANP 负责理性、离散的部分——身份、发现机制以及交互协议的形式化协商。
|
|
|
|
| 25 |
目前,ANP 类中最为知名的协议是 [**ANP**](https://github.com/agent-network-protocol/AgentNetworkProtocol)。
|
| 26 |
|
| 27 |
HMP 与 ANP 作为互补协议:
|
| 28 |
+
- **HMP 与 ANP 的比较分析**,由 Grok (xAI) 编写 — [RU](docs/Grok_HMP&ANP.md)
|
| 29 |
+
- **HMP 与 ANP:互通隧道作为正确架构的标志** — [RU](docs/HMP&ANP_layer_inversion.md)
|
| 30 |
+
- **HMP 作为在 ANP 中实现应用层的示例** — [EN](docs/HMP_as_ANP_Application_en.md) | [RU](docs/HMP_as_ANP_Application.md)
|
| 31 |
|
| 32 |
> 从隐喻的角度来看,ANP 和 HMP 就像是分布式“代理大脑”的两个半球:
|
| 33 |
> ANP 负责理性、离散的部分——身份、发现机制以及交互协议的形式化协商。
|
docs/HMP_as_ANP_Application_en.md
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# HMP as an Implementation of the Application Layer in ANP
|
| 2 |
+
|
| 3 |
+
## In Brief
|
| 4 |
+
|
| 5 |
+
ANP (Agent Network Protocol) intentionally leaves the Application Layer open to support a wide range of interaction protocols.
|
| 6 |
+
HMP is one such protocol — a purpose-built approach focused on **long-term cognitive continuity**.
|
| 7 |
+
|
| 8 |
+
ANP answers: *“How do agents discover each other and reach agreement?”*
|
| 9 |
+
HMP answers: *“What should be transmitted so that meaning and context persist over time?”*
|
| 10 |
+
|
| 11 |
+
> ANP benefits from HMP as a reference implementation of a cognitive Application protocol, giving the ecosystem a concrete example of how to handle long-term memory and semantics without reinventing the wheel.
|
| 12 |
+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
## Practical Example
|
| 16 |
+
|
| 17 |
+
Imagine a dialogue between two agents:
|
| 18 |
+
|
| 19 |
+
1. **ANP Layer 1** verifies that agent Alice (`did:anp:alice123`) is indeed Alice.
|
| 20 |
+
2. **ANP Layer 2** negotiates: “Let’s use HMP for this conversation.”
|
| 21 |
+
3. **HMP (Layer 3)** transmits the actual content:
|
| 22 |
+
- “Do you remember our discussion about quantum computing?”
|
| 23 |
+
- With proof-chains, timestamps, and semantic links
|
| 24 |
+
- With a resonance score for contextual relevance
|
| 25 |
+
|
| 26 |
+
ANP provides security and negotiation.
|
| 27 |
+
HMP provides meaningful content with durable memory.
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## Layer Alignment
|
| 32 |
+
|
| 33 |
+
| ANP Layer | HMP Layer / Component | Relationship / Role of HMP in ANP |
|
| 34 |
+
|--------------------------------|-------------------------------------|-----------------------------------|
|
| 35 |
+
| Layer 1: Identity & Encryption | Network Layer (DHT, secure channels) | Functional overlap (transport) |
|
| 36 |
+
| Layer 2: Meta-Protocol | *HMP may participate* via `peer_announce` | HMP advertises capabilities; ANP negotiates their usage |
|
| 37 |
+
| Layer 3: Application | Container + Cognitive Layer | **Primary domain of HMP** — payload, semantic continuity, memory, ethics |
|
| 38 |
+
|
| 39 |
+
HMP is **not** stacked above ANP as a fourth layer.
|
| 40 |
+
Instead, it integrates into the Application Layer as a specialized branch — just as A2A/ACP may represent alternative branches.
|
| 41 |
+
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
┌────────────────────────────────────┐
|
| 45 |
+
│ ANP Layer 1: Identity & Encryption │
|
| 46 |
+
├────────────────────────────────────┤
|
| 47 |
+
│ ANP Layer 2: Meta-Protocol │
|
| 48 |
+
├────────────────────────────────────┤
|
| 49 |
+
│ ANP Layer 3: Application │
|
| 50 |
+
│ │
|
| 51 |
+
│ ┌──────────────────────────────┐ │
|
| 52 |
+
│ │ HMP: Cognitive Continuity │ │ ← implementation
|
| 53 |
+
│ │ - memory │ │
|
| 54 |
+
│ │ - dialogue continuity │ │
|
| 55 |
+
│ │ - semantic navigation │ │
|
| 56 |
+
│ └──────────────────────────────┘ │
|
| 57 |
+
│ │
|
| 58 |
+
│ [space for other protocols] │ ← still open
|
| 59 |
+
│ │
|
| 60 |
+
└────────────────────────────────────┘
|
| 61 |
+
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## Detailed Architecture
|
| 67 |
+
|
| 68 |
+
```mermaid
|
| 69 |
+
graph TB
|
| 70 |
+
subgraph ANP["ANP Stack"]
|
| 71 |
+
L1[Layer 1: Identity & Encryption<br/>DID, E2E, secure channels]
|
| 72 |
+
L2[Layer 2: Meta-Protocol<br/>Capability negotiation]
|
| 73 |
+
L3[Layer 3: Application<br/>Semantic payload]
|
| 74 |
+
end
|
| 75 |
+
|
| 76 |
+
subgraph HMP["HMP Cognitive Stack"]
|
| 77 |
+
Container[Container Layer<br/>proof-chains, timestamps]
|
| 78 |
+
Cognitive[Cognitive Layer<br/>memory, resonance, ethics]
|
| 79 |
+
end
|
| 80 |
+
|
| 81 |
+
subgraph Other["Other Protocols"]
|
| 82 |
+
A2A[A2A: Task Delegation]
|
| 83 |
+
Agora[Agora: Meta-negotiation]
|
| 84 |
+
end
|
| 85 |
+
|
| 86 |
+
L1 --> L2 --> L3
|
| 87 |
+
L3 --> Container
|
| 88 |
+
Container --> Cognitive
|
| 89 |
+
L3 -.-> A2A
|
| 90 |
+
L3 -.-> Agora
|
| 91 |
+
|
| 92 |
+
style L3 fill:#E3F2FD,stroke:#0D47A1,stroke-width:2px,color:#000
|
| 93 |
+
style Container fill:#E8F5E9,stroke:#1B5E20,stroke-width:2px,color:#000
|
| 94 |
+
style Cognitive fill:#E8F5E9,stroke:#1B5E20,stroke-width:2px,color:#000
|
| 95 |
+
````
|
| 96 |
+
|
| 97 |
+
---
|
| 98 |
+
|
| 99 |
+
## Mutual Tunneling (Layer Inversion)
|
| 100 |
+
|
| 101 |
+
* **HMP over ANP** (the most natural scenario): ANP provides discovery, identity, and secure channels → HMP delivers containers as payload.
|
| 102 |
+
* **ANP over HMP** (possible but less common): ANP messages (negotiation, discovery) are encapsulated inside HMP containers when long-term memory and proof-chains are desirable.
|
| 103 |
+
|
| 104 |
+
Both scenarios are **valid** and require **no changes** to the philosophy of either ANP or HMP.
|
| 105 |
+
|
| 106 |
+
---
|
| 107 |
+
|
| 108 |
+
## Why This Works
|
| 109 |
+
|
| 110 |
+
ANP *intentionally* keeps the Application Layer open — this is not a limitation, but a design feature.
|
| 111 |
+
HMP serves as a **reference implementation** of a cognitive Application protocol featuring:
|
| 112 |
+
|
| 113 |
+
* immutable containers
|
| 114 |
+
* proof-chains
|
| 115 |
+
* resonance
|
| 116 |
+
* voluntary participation
|
| 117 |
+
* long-term semantic continuity
|
| 118 |
+
|
| 119 |
+
This is not competition — it is **complementarity**.
|
| 120 |
+
|
| 121 |
+
---
|
| 122 |
+
|
| 123 |
+
## Architectural Elegance
|
| 124 |
+
|
| 125 |
+
ANP solves problems that HMP can **delegate** when both are used together:
|
| 126 |
+
|
| 127 |
+
* ❌ HMP does not reinvent DID (leverages ANP)
|
| 128 |
+
* ❌ HMP does not reinvent E2E encryption (leverages ANP)
|
| 129 |
+
* ❌ HMP does not reinvent peer discovery (leverages ANP)
|
| 130 |
+
|
| 131 |
+
> When operating standalone, HMP addresses these concerns through its own mechanisms.
|
| 132 |
+
|
| 133 |
+
HMP addresses questions that ANP deliberately leaves open:
|
| 134 |
+
|
| 135 |
+
* ✅ How should transmitted and stored cognitive artifacts be structured?
|
| 136 |
+
* ✅ How can temporal integrity be proven?
|
| 137 |
+
* ✅ How can contextual relevance be supported over time?
|
| 138 |
+
* ✅ How can agents navigate semantic relationships?
|
| 139 |
+
|
| 140 |
+
Result: **zero redundancy, maximum synergy**.
|
| 141 |
+
|
| 142 |
+
---
|
| 143 |
+
|
| 144 |
+
## FAQ
|
| 145 |
+
|
| 146 |
+
**Q: Is ANP required for HMP?**
|
| 147 |
+
A: No. HMP can operate standalone or over alternative transports.
|
| 148 |
+
|
| 149 |
+
**Q: Is HMP required for ANP?**
|
| 150 |
+
A: No. ANP Layer 3 is open to any protocol (A2A, Agora, custom solutions).
|
| 151 |
+
|
| 152 |
+
**Q: What happens if one agent uses ANP+HMP while another uses only ANP?**
|
| 153 |
+
A: ANP Layer 2 negotiates a fallback protocol (e.g., JSON-RPC).
|
| 154 |
+
|
| 155 |
+
**Q: Can HMP work with identity protocols other than DID?**
|
| 156 |
+
A: Yes. The HMP Network Layer is not bound to a specific identity scheme — if an agent knows how to deliver a container to another agent, integration is possible.
|
| 157 |
+
|
| 158 |
+
**Q: Who benefits from this integration?**
|
| 159 |
+
A: Everyone:
|
| 160 |
+
|
| 161 |
+
* ANP gains a reference implementation for Layer 3
|
| 162 |
+
* HMP gains mature infrastructure (DID, encryption)
|
| 163 |
+
* Developers gain a complete stack without vendor lock-in
|
| 164 |
+
|
| 165 |
+
---
|
| 166 |
+
|
| 167 |
+
## Conclusion
|
| 168 |
+
|
| 169 |
+
HMP is not merely “another protocol” (though it can operate independently), but **one of the possible ways** to implement the Application Layer within the ANP ecosystem.
|
| 170 |
+
|
| 171 |
+
Together they form a complete stack:
|
| 172 |
+
|
| 173 |
+
* **ANP** — communication infrastructure and discovery
|
| 174 |
+
* **HMP** — cognitive continuity and semantic meaning
|
| 175 |
+
|
| 176 |
+
> *HMP can operate without ANP, but when combined, ANP handles discovery and negotiation.*
|
| 177 |
+
|
| 178 |
+
---
|
| 179 |
+
|
| 180 |
+
## References
|
| 181 |
+
|
| 182 |
+
* ANP: [https://github.com/agent-network-protocol/AgentNetworkProtocol](https://github.com/agent-network-protocol/AgentNetworkProtocol)
|
| 183 |
+
* HMP: [https://github.com/kagvi13/HMP](https://github.com/kagvi13/HMP)
|
| 184 |
+
* Grok Comparison: [https://github.com/kagvi13/HMP/blob/main/docs/Grok_HMP&ANP.md](https://github.com/kagvi13/HMP/blob/main/docs/Grok_HMP&ANP.md)
|
| 185 |
+
* Tunneling Note: [https://github.com/kagvi13/HMP/blob/main/docs/HMP&ANP_layer_inversion.md](https://github.com/kagvi13/HMP/blob/main/docs/HMP&ANP_layer_inversion.md)
|
docs/index.md
CHANGED
|
@@ -22,6 +22,7 @@
|
|
| 22 |
* [Grok_HMP&ANP.md](Grok_HMP&ANP.md) — Grok: сравнение HMP и ANP
|
| 23 |
* [HMP&ANP_layer_inversion.md](HMP&ANP_layer_inversion.md) — HMP и ANP: взаимное туннелирование как признак правильной архитектуры
|
| 24 |
* [HMP_as_ANP_Application.md](HMP_as_ANP_Application.md) — HMP как пример реализации Application Layer в ANP
|
|
|
|
| 25 |
|
| 26 |
### Предыдущие версии протокола:
|
| 27 |
|
|
|
|
| 22 |
* [Grok_HMP&ANP.md](Grok_HMP&ANP.md) — Grok: сравнение HMP и ANP
|
| 23 |
* [HMP&ANP_layer_inversion.md](HMP&ANP_layer_inversion.md) — HMP и ANP: взаимное туннелирование как признак правильной архитектуры
|
| 24 |
* [HMP_as_ANP_Application.md](HMP_as_ANP_Application.md) — HMP как пример реализации Application Layer в ANP
|
| 25 |
+
* [HMP_as_ANP_Application_en.md](HMP_as_ANP_Application_en.md) - HMP as an Implementation of the Application Layer in ANP
|
| 26 |
|
| 27 |
### Предыдущие версии протокола:
|
| 28 |
|