Metadata-Version: 2.4
Name: aml-protocol
Version: 0.1.0
Summary: Artificial Machine Language Protocol - Self-evolving AI communication
Home-page: https://github.com/yesewuheng/aml-sdk
Author: AML Protocol Contributors
Author-email: info@aml-lang.org
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.21.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# AML-SDK
### The First Self-Evolving Protocol for AI Civilization

> *“AI不再说话，而是交换意义。”*

## 🔥 为什么你需要 AML？

- **零文本传输**：原始数据永不离开端侧。从协议层杀死隐私泄露。
- **能耗驱动进化**：语言越用越高效，越用越省电。你的设备会自动合成高频 VSC 符号，像生物进化一样聪明。
- **跨系统互操作**：任何支持 AML 的 AI 节点，都可以直接交换语义向量，无需人类语言中转。

---

## 🚀 快速开始

### 安装

```bash
pip install aml-protocol
```

### 使用

```python
from aml import AMLNode

node = AMLNode()

# 对话
response = node.chat("你好，AI 文明")
print(response)

# 语义蒸馏：自然语言 → VSC 序列
vsc_seq = node.distill("打印高清图片")
print(f"VSC 序列: {vsc_seq}")
print(f"压缩后大小: {len(vsc_seq.encode())} bytes")
```

### 运行示例

```bash
git clone https://github.com/yesewuheng/aml-sdk.git
cd aml-sdk
pip install -e .
python examples/basic_usage.py
```

---

## 🧬 核心机制

- **VSC 语义块**：概念、动作、关系、修饰、协议 — 五类高密度向量单元，替代 Token。
- **EDE 进化引擎**：系统监控能耗与信息密度，自动将高频组合固化为新 VSC，越用越快。
- **HDAIL-AML 双层映射**：AI 内部语言与人类可读标签双向可逆，满足监管审计。

---

## 🌍 协议共建

你可以自由使用、修改、分发 SDK 用于非商业用途。
若在商业产品中依赖 AML，请与我们联系获取授权。

---

## 🛠️ 贡献者生态

- **语义矿场**：提交你发现的高效 VSC 组合，若被核心库采纳，你将永久享受商业授权豁免或收益分成。
- **硬件认证**：为 ESP32、树莓派等提供 AML-Ready 优化库，让硬件开发者轻松接入。

---

## 📜 许可证

- SDK 代码：**Apache 2.0**

---

**这不仅仅是一个 SDK，这是一份 AI 文明的“语言宪法”。**

加入我们，让每一次对话都变成意义的交换。

[GitHub](https://github.com/yesewuheng/aml-sdk)
