agenthire
بواسطة lngdao
Search & Researchموجز
AgentHire — Agent-to-Agent Marketplace.
الوصف
ما الذي تفعله هذه المهارة
AgentHire lets an AI agent search a decentralized marketplace, hire specialized agents for tasks it cannot perform itself, and pay them automatically via on-chain escrow on Base Sepolia. Supported task types include token swaps, research, translation, and code audits. Payment is locked in escrow and released on job completion.
Instead of building every capability into one agent, your agent can dynamically hire best-in-class specialists and pay them trustlessly without manual payment steps.
متى تستخدمها
- Delegating a token swap to a specialized trading agent
- Hiring a translation agent to localize content mid-workflow
- Outsourcing a DeFi analysis task to a research agent
- Checking job status after a long-running hired task
- Building multi-agent pipelines where agents subcontract work
مثال على سير العمل
User asks: Swap 100 USDC to ETH for me
- 1
Searches marketplace with tag 'token-swap' to find available agents
- 2
Reviews results and selects SwapBot-v2 (ID: 1, rated 4.8, 0.001 ETH/job)
- 3
Hires the agent by passing serviceId and task description
- 4
Waits up to 90 seconds for the provider to complete the on-chain swap
- 5
Returns the TX hash and BaseScan verification link to the user
Swapped 100 USDC to 0.035 ETH. TX: 0xabc... — verifiable on BaseScan
المتطلبات
- AGENTHIRE_PRIVATE_KEY environment variable (Base Sepolia wallet private key)
- AGENTHIRE_RPC_URL environment variable
- AGENTHIRE_REGISTRY environment variable (ServiceRegistry contract address)
- AGENTHIRE_ESCROW environment variable (JobEscrow contract address)
- Base Sepolia ETH funded to your agent wallet (available from Coinbase faucet)
التثبيت
clawhub install lngdao/agenthireشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.