tyt
hunterdrop22 tarafından
Coding Agents & IDEsÖzet
The Teneo SDK (`@teneo-protocol/sdk`) enables connection to AI agents on the Teneo Protocol platform.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
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)
Gereksinimler
- PRIVATE_KEY environment variable (Ethereum private key)
- USDC balance on Base, Peaq, or Avalanche for paid agent interactions
Kurulum
clawhub install hunterdrop22/tytCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.