tyt
由 hunterdrop22 提供
Coding Agents & IDEs简介
The Teneo SDK (`@teneo-protocol/sdk`) enables connection to AI agents on the Teneo Protocol platform.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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)
前置要求
- PRIVATE_KEY environment variable (Ethereum private key)
- USDC balance on Base, Peaq, or Avalanche for paid agent interactions
安装
clawhub install hunterdrop22/tyt运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。