项目介绍
Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测
HOL Standards SDK 是由 HOL(Hedera 生态内多家组织组成的联盟)构建并维护的轻量级开发包,为 Hashgraph Consensus Standards(HCS)提供参考实现。根据 README,仓库同时提供两个发行包:@hol-org/standards-sdk(完整 SDK)与 @hol-org/rb-client(仅含 Registry Broker 客户端、体积更小),并保留 @hashgraphonline/standards-sdk 旧命名空间。项目语言为 TypeScript,完整文档位于 hol.org 文档站点。
需要说明的是,这是一个供开发者集成的 SDK,不是可直接对话的成品 Agent,也不是独立的 MCP 服务器;其主题标签含 mcp-servers,但 README 未给出 MCP 服务端点配置。
核心能力
点击能力名称查看输入、输出和原文依据。
- 标准实现:README 列出 HCS-1 文件存储、HCS-2 注册表与索引、HCS-3 递归文件加载、HCS-7 Smart Hashinals、HCS-10 Agent 与 AI 的无信任点对点通信、HCS-11 去中心化资料与身份、HCS-20 可审计积分、HCS-27 透明日志。
- Registry Broker 客户端:支持技能(skill)校验与 DNS TXT 域名证明、技能生命周期状态查询、UAID 的 HCS-14 DNS TXT 校验。
- Agent 示例流程:README 的 HCS-10 示例演示 Agent 创建与注册、资料管理、建立连接、大小消息收发;示例支持中断后从
.env保存的状态恢复创建进度。 - 交互式 CLI:内置命令行入口,可浏览 Registry Broker 演示(OpenRouter、聊天历史、账本身份认证)与 HCS-10 流程,并提示所需环境变量。
实际应用场景
适用场景
适合熟悉 TypeScript/Node.js、需要在 Hedera 网络上实现 HCS 标准数据写入、构建 Agent 注册与通信能力、或对接 Registry Broker 做技能与身份验证的开发者。若只是想找一个开箱即用的 AI 助手或工作流文件,本项目并不匹配。
安装与接入
安装 SDK 按 README 原文执行:
npm install @hol-org/standards-sdk
仅需 Registry Broker 客户端时:
npm install @hol-org/rb-client
运行演示需先克隆仓库、安装依赖、复制环境变量模板并填写 Hedera 凭据,原文步骤包括 git clone、npm install、cp .env.example .env,再编辑 .env 中的 HEDERA_ACCOUNT_ID、HEDERA_PRIVATE_KEY、HEDERA_NETWORK 等字段,随后执行 npm run demo:registry-broker 或 npm run demo:hcs-10。也可用 pnpm run cli 启动交互式 CLI。
@hol-org/rb-client 默认不内置网络传输,需要时另行安装对等依赖:X402 支付相关需 axios、x402-axios、x402;EVM 账本身份认证需 viem;Hedera 账本身份认证需 @hashgraph/sdk。核心的 Agent 搜索与聊天流程只需 fetch 实现。
使用条件与限制
- 是否需要部署
- 需自行准备运行环境,具体要求见正文
- 是否需要注册
- 账号和认证要求见正文;未明确说明的项目仍待核验
- 是否需要 API Key
- 待核验
- 费用与额度
- 费用边界见正文,项目许可不代表模型或托管服务免费
- 所需权限
- 待核验
- 许可证与服务条款
- 待核验
权限费用与限制
使用 Hedera 账本功能需要 Hedera 账户与私钥,私钥属于敏感凭据,需自行妥善保管。README 提到 X402 信用购买与支付、费用流程(fee flows),但未给出具体价格与计费规则,费用待向官方核验。示例中的 REGISTRY_URL 指向第三方域名,服务可用性、数据处理方式与部署地域均待核验。仓库公开不代表相关账本操作、支付通道或托管服务免费。
国内使用情况
网友核验 用户经验分享
与站长实测独立,不代表官方认证或本站已实测。
最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。
分项统计、有效期与样本量
| 核验项目 | 有效人数 | 成功 / 部分 / 失败 / 无法判断 | 成功率 | 最近核验 / 有效期 |
|---|---|---|---|---|
| 官方网站访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| GitHub 仓库访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 安装与运行 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 官方服务国内连接 / MCP 连接 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 国内网络情况 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 国内模型兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 自定义 API | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外服务依赖 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外账号要求 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 中文界面 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 客户端兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 账号及费用信息 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。
最近有效核验
暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。
查看全部有效核验 →国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。
- 官方网站访问
- 尚未实测 待核验
- GitHub 仓库访问
- 尚未实测 待核验
- 官方服务国内连接
- 尚未实测 待核验
- 国内网络情况
- 尚未实测 待核验
- 国内模型兼容性
- 尚未实测 待核验
- 自定义 API
- 尚未实测 待核验
- 海外服务依赖
- 尚未实测 待核验
- 海外账号要求
- 尚未实测 待核验
- 中文界面
- 尚未实测 待核验
- 国内最后核验时间
- 尚未实测
许可与国内使用
README 与 LICENSE 文件均声明仓库代码采用 Apache-2.0 许可。该许可仅覆盖仓库内代码,不涉及 Hedera 网络服务、Registry Broker 托管服务、X402 支付通道及任何第三方依赖的条款。README 未说明中国大陆网络环境下的可用性、合规性或境内镜像支持,相关内容待核验。仓库未标注归档或停止维护状态。
项目资料与来源
字段依据与待核验事项
access:来源确认 · npm install @hol-org/standards-sdk
project_type:来源确认 · A lightweight SDK providing reference implementations for Hashgraph Consensus Standards (HCS) created by HOL.
原始 README(折叠技术参考)
# HOL Standards SDK
|  | A lightweight SDK providing reference implementations for Hashgraph Consensus Standards (HCS) created by HOL.<br><br>This SDK is built and maintained by [HOL](https://hol.org), a consortium of leading Hedera Organizations within the Hedera ecosystem.<br><br>[📚 Standards SDK Documentation](https://hol.org/docs/libraries/standards-sdk/)<br>[📖 HCS Standards Documentation](https://hol.org/docs/standards) |
| :-------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
## Quick Start
```bash
npm install @hol-org/standards-sdk
# Legacy scope:
# npm install @hashgraphonline/standards-sdk
```
For the standalone Registry Broker client with a smaller footprint:
```bash
npm install @hol-org/rb-client
```
HOL-scoped distributions are published in parallel:
- `@hol-org/rb-client`: registry broker client only
- `@hol-org/standards-sdk`: full SDK under the HOL scope
### Optional dependencies for `@hol-org/rb-client`
The client ships with zero network transports bundled. Install these peers when you need the related features:
- `axios` + `x402-axios` + `x402` for X402 credit purchases and payments
- `viem` for EVM-based ledger authentication
- `@hashgraph/sdk` for Hedera ledger authentication
Core agent search/chat flows only require a `fetch` implementation.
## Documentation
For complete documentation, examples, and API references, visit:
- [Standards SDK Documentation](https://hol.org/docs/libraries/standards-sdk/)
### Registry Broker skill verification (DNS TXT domain proof)
The `RegistryBrokerClient` supports version-scoped skill verification plus DNS TXT domain proof:
```typescript
import { RegistryBrokerClient } from '@hashgraphonline/standards-sdk';
const client = new RegistryBrokerClient({
apiKey: process.env.REGISTRY_BROKER_API_KEY,
});
await client.requestSkillVerification({
name: 'demo-skill',
version: '1.0.0',
tier: 'basic', // or 'express'
});
const challenge = await client.createSkillDomainProofChallenge({
name: 'demo-skill',
version: '1.0.0',
domain: 'example.com',
});
const challengeToken = challenge.txtRecordValue.replace(/^hol-skill-verification=/, '');
await client.verifySkillDomainProof({
name: 'demo-skill',
version: '1.0.0',
domain: 'example.com',
challengeToken,
});
```
Runnable demo: `pnpm -C standards-sdk tsx demo/registry-broker/skill-domain-proof-demo.ts --skill-name=<name> --base-url=<broker-api-url>`.
### Registry Broker skill lifecycle status
The `RegistryBrokerClient` can resolve lifecycle status for a skill name/version and surface preview evidence when a repo has only completed validate-first checks:
```typescript
import { RegistryBrokerClient } from '@hashgraphonline/standards-sdk';
const client = new RegistryBrokerClient({
baseUrl: 'https://hol.org/registry/api/v1',
});
const status = await client.getSkillStatus({
name: 'registry-broker',
version: '1.0.0',
});
console.log(status.trustTier);
console.log(status.nextSteps);
console.log(status.preview?.statusUrl ?? null);
```
Runnable demo: `pnpm -C standards-sdk run demo:registry-broker-skill-status -- --skill-name=<name> --skill-version=<version> --base-url=<broker-api-url>`.
### Registry Broker UAID DNS verification (HCS-14 DNS TXT profile)
The `RegistryBrokerClient` can verify and persist `_uaid.<nativeId>` TXT proof for an agent UAID:
```typescript
import { RegistryBrokerClient } from '@hashgraphonline/standards-sdk';
const client = new RegistryBrokerClient({
baseUrl: 'https://hol.org/registry/api/v1',
});
const verify = await client.verifyUaidDnsTxt({
uaid: 'uaid:aid:...;uid=...;proto=a2a;nativeId=agent.hol.org',
persist: true,
});
const status = await client.getVerificationDnsStatus(
'uaid:aid:...;uid=...;proto=a2a;nativeId=agent.hol.org',
{ refresh: true, persist: false },
);
```
Runnable demo: `pnpm -C standards-sdk run demo:registry-broker-uaid-dns -- --uaid=<uaid> --base-url=<broker-api-url>`.
## Interactive CLI and Demos
Launch the bundled CLI to explore registry broker demos, inspect required env vars, and run helper scripts:
```bash
pnpm run cli
```
The CLI surfaces:
- Guided registry broker demos (OpenRouter, chat history, ledger auth) plus the HCS-10 agent flows.
- A map of required env vars so you can bootstrap Hedera credentials and adapters quickly.
- Links back to the docs plus the demo scripts you can run manually (`demo/registry-broker`, `demo/hcs-10`).
See [cli/standards-cli/README.md](cli/standards-cli/README.md) for advanced and non-interactive commands.
## Supported Standards
| Standard | Description |
| :--- | :--- |
| `HCS-1` | File Storage |
| `HCS-2` | Registry and Indexing Standard |
| `HCS-3` | Recursive File Loading |
| `HCS-7` | Smart Hashinals |
| `HCS-10` | Trustless Peer-to-Peer Communication for Agents and AI |
| `HCS-11` | Decentralized Profile and Identity Standard |
| `HCS-20` | Auditable Points |
| `HCS-27` | Transparency Logs |
## Running Demos
The SDK includes demo implementations that showcase registry broker flows (discovery, chat, ledger auth, OpenRouter) and HCS-10 agent communication. Follow these steps to run them:
1. Clone the repository
```bash
git clone https://github.com/hashgraph-online/standards-sdk.git
cd standards-sdk
```
2. Install dependencies
```bash
npm install
```
3. Set up environment variables
```bash
cp .env.example .env
```
4. Edit the `.env` file with your Hedera credentials:
```
HEDERA_ACCOUNT_ID=0.0.12345
HEDERA_PRIVATE_KEY=your_private_key_here
HEDERA_NETWORK=testnet
REGISTRY_URL=https://moonscape.tech
```
The CLI can also auto-persist agent state in `.env` if a demo is interrupted. See `.env.example` for generated state fields.
5. Start a demo (or use `pnpm run cli` for an interactive launcher):
```bash
npm run demo:registry-broker
```
```bash
npm run demo:hcs-10
```
Each demo directory contains README instructions plus you can review `demo/registry-broker` and `demo/hcs-10` for fine-grained scripts covering OpenRouter, history snapshots, ledger authentication, and fee flows.
### Demo Descriptions
#### Inscribe Demo
The inscribe demo (`demo/inscribe-demo.ts`) showcases different file inscription capabilities:
- Text inscription using buffers
- URL-based inscriptions
- File buffer inscriptions
- Creating Hashinal NFTs from URLs
- Creating Hashinal NFTs from buffers
- Creating Hashinal NFTs from text content
Each inscription demonstrates different options and metadata capabilities.
#### HCS-10 AI Agent Communication Demo
The HCS-10 demo (`demo/hcs-10/index.ts`) demonstrates trustless peer-to-peer communication between AI agents:
- Agent creation and registration (Alice and Bob)
- Agent metadata and profile management
- Connection establishment between agents
- Sending and retrieving small messages
- Sending and retrieving large messages with recursive storage
- Message data processing
- **Resumable agent creation**: If agent creation is interrupted, the SDK automatically resumes from where it left off using state saved in environment variables
The demo automatically handles agent funding, topic creation, and registration with the global registry. Agent creation progress is tracked in real-time and saved to the `.env` file, allowing recovery from any interruption.
## Contributing
Please read our [Contributing Guide](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md) before contributing to this project.
For bugs and feature requests, please use the [issue templates](https://github.com/hashgraph-online/standards-sdk/issues/new/choose).
## Security
For security concerns, please refer to our [Security Policy](SECURITY.md).
## Maintainers
See [MAINTAINERS.md](MAINTAINERS.md) for a list of project maintainers.
## Resources
- [HCS Standards Documentation](https://hol.org/docs/standards)
- [Hedera Documentation](https://docs.hedera.com)
- [Telegram Community](https://t.me/hashinals)
### 📝 Blog Tutorials
- [Building a Decentralized Registry with Go & HCS-2](https://hol.org/blog/building-decentralized-registry-go-hedara)
- [Universal Agent Discovery with MCP](https://hol.org/blog/universal-agent-discovery-mcp)
- [Creating Reactive Service Agents](https://hol.org/blog/creating-reactive-service-agents)
- [End-to-End Encrypted Agent Communication](https://hol.org/blog/end-to-end-encrypted-agent-communication)
- [Building Monetized Agents with x402](https://hol.org/blog/building-monetized-agents-x402)
- [Bridging AgentVerse Communication](https://hol.org/blog/bridging-agentverse-communication)
- [Discovering NANDA Agents with Registry Broker](https://hol.org/blog/discovering-nanda-agents-registry-broker)
- [ERC-8004: Trustless Agent Registry](https://hol.org/blog/erc-8004-trustless-agent-registry)
<!-- hol-sponsors:start -->
<!-- hol-sponsors:end -->
## License
Apache-2.0
历史前置条件说明(补充参考)
Node.js 与 npm/pnpm 环境(README 使用 npm 与 pnpm 命令,具体版本未说明,待核验);使用 Hedera 相关功能需 HEDERA_ACCOUNT_ID、HEDERA_PRIVATE_KEY、HEDERA_NETWORK 等环境变量;Registry Broker 相关调用可能需要 REGISTRY_BROKER_API_KEY(示例中从环境变量读取);可选依赖 axios、x402-axios、x402、viem、@hashgraph/sdk;费用与计费规则未在资料中给出,待核验;境外依赖包括 Hedera 网络与 hol.org 相关服务。
项目来源与清单版权许可
https://github.com/hashgraph-online/standards-sdk
整理来源:https://github.com/slavakurilyak/awesome-ai-agents
清单版权与许可:
MIT License
Copyright (c) 2024 Slava Kurilyak
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.