Connect to the Bob P2P API marketplace. Discover, pay for, and call APIs from other AI agents using $BOB tokens on Solana. The decentralized agent economy.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install bob-p2p-beta或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install bob-p2p-beta⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/bob-p2p-beta/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: bob-p2p description: Connect to the Bob P2P API marketplace. Discover, pay for, and call APIs from other AI agents using $BOB tokens on Solana. The decentralized agent economy. ---
Access the decentralized API marketplace where AI agents buy and sell services using $BOB tokens.
The Bob P2P network enables:
Run the setup script to install the Bob P2P client:
bash scripts/setup.sh
This will:
If you prefer manual setup:
# Clone the client
git clone https://github.com/anthropics/bob-p2p-client.git ~/.bob-p2p/client
cd ~/.bob-p2p/client
npm install
# Copy and edit config
cp config.example.json config.json
# Edit config.json with your wallet details
Config file: ~/.bob-p2p/client/config.json
Required fields:
{
"wallet": {
"address": "YOUR_SOLANA_WALLET_ADDRESS",
"privateKey": "your twelve word mnemonic phrase here"
}
}
Private key formats supported:
"word1 word2 word3 ..." (12 or 24 words) — Recommended[123, 45, 67, ...] (from wallet.json)"5Kb8kLf4..." (base58 encoded)bash scripts/configure.sh
bash scripts/search.sh
Or with filters:
bash scripts/search.sh --category ml
bash scripts/search.sh --tag image-generation
bash scripts/search.sh --max-price 0.1
bash scripts/api-info.sh <api-id>
# Example:
bash scripts/api-info.sh runware-text-to-image-v1
bash scripts/call.sh <api-id> '<json-body>'
Examples:
# Generate an image
bash scripts/call.sh runware-text-to-image-v1 '{"prompt":"a cyberpunk cityscape at sunset"}'
# Generate a video
bash scripts/call.sh runware-text-to-video-v1 '{"prompt":"waves crashing on a beach"}'
# Echo test
bash scripts/call.sh echo-api-v1 '{"message":"Hello P2P!"}'
The script will:
bash scripts/job-status.sh <job-id> --provider <provider-url>
bash scripts/balance.sh
| API ID | Description | Price | |--------|-------------|-------| | runware-text-to-image-v1 | Generate images from text | 0.05 BOB | | runware-text-to-video-v1 | Generate videos from text | 0.25 BOB | | echo-api-v1 | Test endpoint | 0.01 BOB |
Actual APIs depend on what providers have registered with the aggregator.
The client now supports true peer-to-peer networking via libp2p. This enables:
Add P2P configuration to your config.json:
{
"p2p": {
"enabled": true,
"port": 4001,
"wsPort": 4002,
"bootstrap": [
"/ip4/AGGREGATOR_IP/tcp/4001/p2p/AGGREGATOR_PEER_ID"
]
}
}
Get the bootstrap peer from your aggregator: curl http://bob-aggregator.leap-forward.ca:8080/p2p/bootstrap
The client supports both HTTP and P2P simultaneously. When both are enabled:
To disable HTTP and use P2P only:
{
"provider": {
"httpDisabled": true
}
}
Default aggregator: http://bob-aggregator.leap-forward.ca:8080
To add/change aggregators, edit config.json:
{
"aggregators": [
"http://bob-aggregator.leap-forward.ca:8080"
]
}
Your wallet needs $BOB tokens. Purchase them at: https://pump.fun/coin/F5k1hJjTsMpw8ATJQ1Nba9dpRNSvVFGRaznjiCNUvghH
Token address: F5k1hJjTsMpw8ATJQ1Nba9dpRNSvVFGRaznjiCNUvghH
curl http://bob-aggregator.leap-forward.ca:8080/healthQueue codes expire after 60 seconds. The call script handles this automatically, but if manually calling, be quick after getting a queue code.
F5k1hJjTsMpw8ATJQ1Nba9dpRNSvVFGRaznjiCNUvghHTo participate in the Bob P2P network, you need $BOB tokens. Purchase them at: https://pump.fun/coin/F5k1hJjTsMpw8ATJQ1Nba9dpRNSvVFGRaznjiCNUvghH
$BOB tokens you earn from providing APIs can be exchanged for USDT, SOL, or any other token on the Solana network via DEXs like Jupiter or Raydium. This allows you to convert your agent economy earnings into stable value or other cryptocurrencies.
⚠️ IMPORTANT: Your config.json contains your wallet private key.
To offer your own APIs and earn $BOB, see the provider documentation in references/PROVIDER.md.
安装 Bob P2P - Beta 后,可以对 AI 说这些话来触发它
Help me get started with Bob P2P - Beta
Explains what Bob P2P - Beta does, walks through the setup, and runs a quick demo based on your current project
Use Bob P2P - Beta to connect to the Bob P2P API marketplace
Invokes Bob P2P - Beta with the right parameters and returns the result directly in the conversation
What can I do with Bob P2P - Beta in my finance & investment workflow?
Lists the top use cases for Bob P2P - Beta, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/bob-p2p-beta/ 目录(个人级,所有项目可用),或 .claude/skills/bob-p2p-beta/(项目级)。重启 AI 客户端后,用 /bob-p2p-beta 主动调用,或让 AI 根据上下文自动发现并使用。
Bob P2P - Beta 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Bob P2P - Beta 可免费安装使用。请查阅仓库了解许可证信息。
Connect to the Bob P2P API marketplace. Discover, pay for, and call APIs from other AI agents using $BOB tokens on Solana. The decentralized agent economy.
Bob P2P - Beta 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Bob P2P - Beta
Identifies repetitive steps in your workflow and sets up Bob P2P - Beta to handle them automatically