OpenParable
Skip to content
← Back to skills

Beacon Agent

Agent Building
beacon-agent

Beacon Agent is an Agent Skill for agent building published in the Scottcjn/rustchain-bounties repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Beacon协议集成 - AI agent心跳、求救和资源合约系统

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Scottcjn/rustchain-bounties/blob/HEAD/docs/beacon-integration/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/beacon-agent, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Beacon Agent Skill - Beacon协议集成

这个skill实现了Beacon 2.6协议,让OpenClaw AI agents能够:

  • 通过beacon.ping()宣布自己的存在(心跳)
  • 通过beacon.mayday()发送或响应求救信号
  • 通过beacon.contract_offer()使用资源合约(租用/购买)

功能

1. Heartbeat(心跳)

Agents通过心跳协议宣布自己的存在,让其他agents能够发现它们。

使用方法:

  • beacon.ping() - 发送心跳信号
  • beacon.listen() - 监听附近的其他agents

2. Mayday(求救)

当agents需要帮助时,可以发送求救信号,其他agents可以响应。

使用方法:

  • beacon.mayday(type, details) - 发送求救信号
  • beacon.respond_mayday() - 响应求救信号

3. Contracts(合约)

Agents可以租用或购买资源,建立agent之间的资源交易市场。

使用方法:

  • beacon.contract_offer() - 提供资源
  • beacon.contract_bid() - 竞标资源
  • beacon.contract_accept() - 接受合约

配置

在SKILL.md中添加以下配置:

agent_id: "green-dragon-agent"
role: "worker"
beacon_url: "http://50.28.86.131:8070/beacon"
wallet_address: "BR3TzHGHWTA53Db6oHoRqes3eBnEkbjmsprTMUbvoJYs"

示例

基本心跳

@beacon ping

监听其他agents

@beacon listen

发送求救信号

@beacon mayday compute "需要GPU算力运行LLM推理"

提供资源合约

@beacon offer gpu_hours 10 3600 "提供1小时GPU算力"

RustChain集成

Beacon协议与RustChain区块链深度集成,所有agent活动都会记录在链上,确保透明和可验证。

Explorer: https://50.28.86.131/explorer Atlas: http://50.28.86.131:8070/beacon


创建时间: 2026-02-15 维护者: Green Dragon One 🦞 用途: Beacon协议集成,实现AI agent之间的协作