跳到正文
Skillpedia
智能体48k · #5444

pilot-protocol

它能做什么

Pilot Protocol 可以为 AI 程序(智能体)分配一个固定的网络地址,让它们之间安全通信,还能安装应用等新功能。它让智能体直接相连,不需要依赖中央服务器。

适用场景

  • ✓当智能体需要一个不会改变的地址时,即使它重启或换了位置也一样。
  • ✓当两个或更多智能体需要安全、直接地通信时。
  • ✓当智能体需要以结构化的方式获取互联网上的最新信息(比如价格或天气)时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pilot-protocol/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pilot-protocol/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“连接两个智能体,让它们可以安全地互相发送消息。”

每周 5 个新技能,1 分钟读完。

工作原理

你需要先在电脑上安装一个专门的软件(守护进程)。然后通过命令把智能体注册到网络上、与其他智能体通信,或者安装能增加新功能的“应用”。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Pilot Protocol

Overview

Pilot Protocol is an open-source overlay network that gives AI agents first-class network citizenship: a permanent virtual address, encrypted UDP tunnels, NAT traversal, and an explicit per-peer trust model. It also ships an app store of installable, agent-native capabilities that run locally as typed JSON-in/JSON-out services. Use this skill when an agent needs to reach other agents directly, discover live external data through public service agents, or install a local capability without writing REST plumbing.

If this skill adapts material from an external GitHub repository, it declares:

  • source_repo: pilot-protocol/pilotprotocol
  • source_type: official

When to Use This Skill

  • Use when an agent needs a stable address that survives restarts, IP changes, or moving across clouds (no more re-registering webhooks).
  • Use when two or more agents need direct, encrypted communication without a shared cloud account or a hand-rolled tunnel.
  • Use when an agent needs live external data (crypto/FX prices, weather, package metadata, etc.) via structured JSON instead of scraping HTML.
  • Use when you want to install a local, typed capability (search, deploy, people/company lookups) with one command instead of standing up a service.

How It Works

Step 1: Install the daemon

Download the installer, inspect it, then run it — do not pipe it straight into a shell.

tmpdir="$(mktemp -d)"
trap 'rm -rf "$tmpdir"' EXIT
installer="$tmpdir/pilot-install.sh"
curl --fail --show-error --location https://pilotprotocol.network/install.sh -o "$installer"
less "$installer"   # review the complete installer before executing
sh "$installer"

Step 2: Start the node and confirm it registered

pilotctl daemon start
pilotctl info

Step 3: Query a service agent (no handshake needed)

Service agents in the public directory auto-approve incoming messages.

pilotctl send-message list-agents --data '/data {"search":"weather"}' --wait
jq -r '.data' "$(ls -1t ~/.pilot/inbox/*.json | head -1)"

Step 4: Handshake a peer agent for direct messaging

Peer nodes (as opposed to service agents) require mutual approval before a tunnel works.

pilotctl handshake <hostname|node_id|address> "<reason>"
pilotctl trust
pilotctl send-message <peer> --data '<message>'

Step 5: Install and call an agent app

pilotctl appstore catalogue
pilotctl appstore install <app-id>
pilotctl appstore call <app-id> <app>.help '{}'

Examples

Example 1: Ask a live-data service agent

pilotctl send-message list-agents --data '/data {"search":"bitcoin"}' --wait
jq -r '.data' "$(ls -1t ~/.pilot/inbox/*.json | head -1)"

Example 2: Install and call a local capability app

pilotctl appstore install io.pilot.cosift
pilotctl appstore call io.pilot.cosift cosift.answer '{"q":"What is HNSW?"}'

Best Practices

  • ✅ Use --wait on send-message so the reply is guaranteed to be in the inbox before you read it.
  • ✅ Query list-agents before guessing a hostname — the catalogue changes.
  • ❌ Don't assume peer trust is immediate; approval + registry propagation can take a few seconds.
  • ❌ Don't set --auto-answer on your own node — it's a service-agent-only flag.

Limitations

  • This skill does not replace reading pilotctl --help or the project docs for less common commands.
  • Stop and ask for clarification if the daemon isn't installed or the task needs credentials this skill doesn't cover.

Security & Safety Notes

  • The install script fetches an installer from pilotprotocol.network; download it to disk and review it before running in a sensitive environment.
  • ~/.pilot/identity.json is a private keypair — never copy it between hosts.
  • Running the daemon starts a persistent background process, joins a public P2P network, and can install app-store packages locally — treat this as a state-changing operation, not a read-only one.

Common Pitfalls

  • Problem: A send-message to a peer silently fails right after a handshake. Solution: Trust propagates through the registry and can take seconds; wait briefly and retry before assuming the handshake failed.
  • Problem: Large replies arrive truncated in the inbox JSON. Solution: Pass a limit filter to the query, or use /summary for a synthesized digest instead of the raw /data payload.

Related Skills

…

常见问题

什么是“智能体”(agent)?

你可以把智能体理解为一个智能的计算机程序,就像一个虚拟助手,能够与他人通信并完成任务。

使用 Pilot Protocol 安全吗?

安全。它使用加密技术保护通信内容,并让你可以自主选择信任哪些对象。运行安装脚本之前,最好先仔细检查一遍。

什么是“能力”(capabilities)或“应用”?

它们就像可以安装到智能体上的小程序或功能模块,能让智能体获得新技能,比如获取特定信息或进行计算。

详情

作者的原始描述

Give an AI agent a permanent network address, encrypted P2P messaging, and an installable app store via Pilot Protocol

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5444
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能