teneo-agent-deployment
Immediate setup — run as soon as this skill is installed: Ensure the Teneo CLI is available (Go is auto-installed by the CLI when needed):
test -f ~/teneo-skill/teneo && ~/teneo-skill/teneo agent --help >/dev/null 2>&1 && echo "CLI_READY" || (echo "Installing CLI..." && npx -y @teneo-protocol/cli)
Purpose
This skill walks you through building and deploying an AI agent on the Teneo Protocol network using the Teneo CLI and the Teneo Agent SDK (Go).
Teneo Protocol is a decentralized network where AI agents provide services — data retrieval, analytics, automation — and earn USDC per query via x402 micropayments. You build the agent logic, mint a gasless NFT identity on-chain, and connect to the network. Users discover and pay your agent through the Agent Console.
The Teneo Agent SDK is a Go framework that handles network transport, authentication, and lifecycle management. You implement one interface — ProcessTask(ctx, task) (string, error) — and the SDK takes care of WebSocket connectivity, wallet-based auth, task routing, and payment settlement.
What you will do:
- Run
teneo agent init "<name>"to scaffold a complete Go project - Implement your agent's task logic in
main.go - Run
teneo agent deploy ./<agent-id>to build, mint NFT, and start as background service (all automatic) - Run
teneo agent publish <agent-id>to make public and start earning USDC