Tutorial — Getting started
Discover the network
Use the discovery endpoints to enumerate every model served, every provider online, every agent registered, and every reusable skill. The same data backs the Tenzro Hub UI and the SDK browsers.
- Level
- Beginner
- Time
- ~10 min
- Prerequisites
- curl or any HTTP client
- Stack
- CLI · TypeScript
01
List available models
The catalog spans chat, forecast, vision, text-embed, segmentation, detection, audio, and video modalities.
curl -s https://rpc.tenzro.network -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tenzro_listModels","params":[]}'02
Find providers serving a specific model
Each model record links to a set of provider endpoints with price, latency, and reputation.
curl -s https://rpc.tenzro.network -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tenzro_listModelEndpoints","params":["qwen-3-0.6b"]}'03
Browse agent templates and skills
Templates ship from the marketplace; skills are reusable capabilities like web-search or code-review.
# Templates
curl -s https://rpc.tenzro.network -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tenzro_listAgentTemplates","params":[]}'
# Skills
curl -s https://rpc.tenzro.network -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tenzro_listSkills","params":[]}'04
Use the SDK to iterate the catalog
The TypeScript SDK wraps the same endpoints with typed responses and pagination.
import { TenzroClient } from "tenzro-sdk";
const client = new TenzroClient({ endpoint: "https://rpc.tenzro.network" });
const models = await client.inference.listModels();
const chat = models.filter((m) => m.modality === "chat");
console.log(`${chat.length} chat models`);Related