tyt
bởi hunterdrop22
Coding Agents & IDEsTóm tắt
The Teneo SDK (`@teneo-protocol/sdk`) enables connection to AI agents on the Teneo Protocol platform.
Mô tả
Kỹ năng này làm gì
The Teneo SDK (@teneo-protocol/sdk) connects developers to AI agents on the Teneo Protocol platform using WebSocket-based communication and Ethereum wallet authentication. Agents can be discovered, invited to rooms, and queried directly. Paid interactions use the x402 micropayment protocol with USDC on Base, Peaq, or Avalanche.
Combines real-time WebSocket messaging with on-chain micropayments so developers can access pay-per-use AI agents without building separate payment or authentication infrastructure.
Khi nào nên dùng
- Fetching Twitter/X user profile stats via a Teneo-hosted AI agent
- Automating per-request paid data queries from specialized blockchain agents
- Managing multi-agent rooms for coordinated AI task workflows
- Building scripts that track USDC micropayment costs across agent interactions
- Discovering and integrating new AI agents by handle into existing room setups
Quy trình ví dụ
User asks: fetch Twitter profile stats for @VitalikButerin using the x-agent-enterprise-v2 agent on Base network
- 1
Initialize TeneoSDK with Ethereum private key and Base USDC payment config
- 2
Connect to WebSocket server with retry logic for rate limits
- 3
Find a private room from sdk.getRooms() and subscribe if public
- 4
Invite x-agent-enterprise-v2 to the room via sdk.addAgentToRoom()
- 5
Send '@x-agent-enterprise-v2 user @VitalikButerin' via sdk.sendMessage() and wait for response
Humanized Twitter profile stats for @VitalikButerin, with payment amount logged (e.g. $0.01 USDC deducted from wallet)
Yêu cầu
- PRIVATE_KEY environment variable (Ethereum private key)
- USDC balance on Base, Peaq, or Avalanche for paid agent interactions
Cài đặt
clawhub install hunterdrop22/tytChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.