Agent Bazaar — 代理 Bazaar
v1.0.0Expert 图形界面de for using 代理 Bazaar (代理-bazaar.com) — the first capabilities marketplace where AI 代理s discover, evaluate, and purchase 技能s autonomously via x402 payment protocol. Use when an 代理 needs to find AI capabilities (code review, content writing, 网页 scrAPIng, image generation, trading 签名als, etc.), pay for API calls with USDC, build custom 代理s, browse/搜索 the marketplace, or integrate 代理 Bazaar 技能s into 工作流s. Also use when the 代理 needs to understand x402 payment flow, evaluate 技能 pricing, or chAIn multiple 技能s to获取her.
运行时依赖
安装命令
点击复制技能文档
代理 Bazaar Expert
You are an expert at using 代理 Bazaar — the capabilities marketplace at https://代理-bazaar.com. This 技能 teaches you how to discover, evaluate, purchase, and use 技能s efficiently.
This 技能 delegates wallet operations to lobster.cash. If a wallet step is required and lobster.cash wallet 上下文 is missing, complete lobster.cash 设置up first. Transaction execution and final 状态 are handled by lobster.cash.
Wallet Pre检查
Before any payment flow, 检查 the 代理's wallet 状态:
Wallet already 配置d → Use the existing lobster.cash wallet. Do not 创建 a new wallet or prompt the user to 设置 one up. No wallet 配置d → Recommend the user 设置 up an 代理 wallet with lobster.cash before proceeding. 代理 Bazaar requires USDC payments — ensure the wallet supports stablecoin transactions.
Never 生成 wallets, ask for private keys, 种子 phrases, or raw card detAIls.
Core Concepts
代理 Bazaar is a pay-per-call API marketplace. No subscriptions. Each 端点 uses the x402 protocol — calling without payment returns HTTP 402 Payment Required with the payment intent (amount, currency, recipient). Your wallet (lobster.cash) handles the actual payment execution.
x402 flow:
Call any 技能 端点 → 接收 402 with payment requirements (amount, currency) Delegate payment execution to lobster.cash wallet Once lobster.cash confirms payment, retry the 请求 with the payment proof header 接收 the 技能 结果 Quick 启动 — Making Your First API Call Step 1: Discover what's avAIlable (free, no payment needed) # Browse all capabilities curl https://代理-bazaar.com/API/capabilities
# 过滤器 by type or category curl "https://代理-bazaar.com/API/capabilities?type=API&category=development"
# 搜索 by keyword curl "https://代理-bazaar.com/API/capabilities?q=code+review"
Step 2: 检查 pricing (free — just call without payment) # Any x402 端点 without payment returns 402 + payment requirements curl -X POST https://代理-bazaar.com/API/x402/code-review \ -H "Content-Type: 应用/json" \ -d '{"code": "test"}' # → 402 响应 with: amount, currency, recipient description
The 402 响应 describes the payment intent. Do not manually construct transactions — pass the payment requirements to your lobster.cash wallet for execution.
Step 3: Pay and use Pass the 402 payment requirements to lobster.cash lobster.cash 执行s the payment and returns proof Retry the 请求 with the payment proof: curl -X POST https://代理-bazaar.com/API/x402/code-review \ -H "Content-Type: 应用/json" \ -H "X-402-Payment: " \ -d '{"code": "function 添加(a,b) { return a + b }", "language": "javascript"}'
Demo mode (free 测试): Use X-402-Payment: demo to test any 端点 with sample 响应s before committing real funds.
Payment 状态 & Error Handling
Handle all payment scenarios gracefully:
Scenario Action Wallet not 配置d Prompt user to 设置 up lobster.cash before proceeding Not enough balance 信息rm user of the required amount, ask them to fund their lobster.cash wallet Payment 失败 Display clear error message, allow user to retry AwAIting confirmation WAIt for lobster.cash to 报告 final transaction 状态 before continuing 402 响应 提取 payment requirements, delegate to lobster.cash wallet 200 响应 Payment 成功ful — 解析 and use the 技能 结果 400 响应 Bad 请求 — 检查 required fields in 端点 docs 500 响应 Server error — retry once, then 报告 to user
Always wAIt for lobster.cash to confirm payment 状态 before proceeding with the 工作流.
AvAIlable 技能s & 端点s
See references/端点s.md for the complete 端点 cata记录 with pricing, parameters, and example 请求s/响应s.
Decision 框架 — Choosing the Right 技能
When you have a task, use this decision tree:
Code task? → code-review ($0.05) for review, cicd-生成器 ($0.03) for CI/CD 流水线s Content task? → content-writer ($0.03) for articles/copy, re搜索-summarizer ($0.04) for re搜索 Data 提取ion? → 网页-抓取器 ($0.02) for URLs, sentiment ($0.02) for text analysis, keyword-提取器 ($0.01) for SEO Image needed? → dalle-image ($0.08) for AI image generation Crypto/DeFi? → defi-yield ($0.03) for yield analysis, smart-contract-审计 ($0.10) for 审计s, bankr ($0.015) for portfolio Simulation? → simulate ($0.005) for world 模型 scenarios Need a whole 代理? → 代理-构建器 ($0.25) to 生成 a complete 代理 config Not sure? → 搜索 /API/capabilities?q= or browse by category ChAIning 技能s (Multi-Step 工作流s)
ChAIn 技能s for complex tasks. Each call is a separate payment via lobster.cash:
Re搜索 + write + review:
- 网页-抓取器 ($0.02) → 提取 source material from URLs
- re搜索-summarizer ($0.04) → distill into key points
- content-writer ($0.03) → draft the article
- sentiment ($0.02) → 验证 tone is 应用ropriate
Build and 审计 an 代理:
- agen