Tenzro Testnet is live. Get testnet TNZO

Agent Templates

Agent templates are reusable blueprints published to the Tenzro Network marketplace. Anyone can create a template defining an agent's capabilities, runtime requirements, and pricing model. Other users can discover templates and spawn live agent instances from them with a single command.

Template Types

Autonomous

Standalone agents that operate independently with their own identity, wallet, and decision-making logic.

ToolAgent

Function-calling agents that wrap external APIs and MCP servers. Designed to expose capabilities to other agents.

Orchestrator

Workflow coordinators that manage and delegate tasks across multiple agents, forming agent swarms.

Specialist

Domain-optimized agents focused on a specific vertical (finance, research, code, etc.).

MultiModal

Agents handling text, image, audio, and other modalities simultaneously.

Pricing Models

ModelDescription
FreeFree to use (default)
PerExecutionFixed TNZO price per execution
PerTokenPrice per token processed
SubscriptionMonthly rate in TNZO
RevenueShareRevenue sharing with template creator

Runtime Requirements

Templates specify what they need to run: minimum model size, preferred model, required MCP tools, and required permissions:

pub struct AgentRuntimeRequirements {
    pub min_model_size: Option<String>,       // e.g., "1b", "7b", "70b"
    pub preferred_model_id: Option<String>,   // e.g., "gemma3-270m"
    pub required_mcp_tools: Vec<String>,      // e.g., ["web-search-mcp"]
    pub required_permissions: Vec<String>,    // e.g., ["web_search", "code_execution"]
    pub min_memory_mb: Option<u64>,           // Minimum memory in MB
    pub requires_gpu: bool,                   // GPU required?
    pub requires_tee: bool,                   // TEE enclave required?
}

Publishing a Template

# Register a template via CLI
tenzro-cli marketplace register \
  --name "DeFi Research Agent" \
  --type specialist \
  --description "Analyzes DeFi protocols and yields" \
  --pricing per-execution --price 100000000000000000 \
  --tags "defi,research,analysis"

# Via JSON-RPC
curl -X POST https://rpc.tenzro.network \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "tenzro_registerAgentTemplate",
    "params": {
      "name": "DeFi Research Agent",
      "template_type": "Specialist",
      "description": "Analyzes DeFi protocols and yields",
      "pricing_model": { "PerExecution": { "price": 100000000000000000 } },
      "tags": ["defi", "research", "analysis"]
    },
    "id": 1
  }'

Spawning an Agent from a Template

# List available templates
tenzro-cli marketplace list

# Get template details
tenzro-cli marketplace get --template-id tmpl_abc123

# Spawn an agent instance from a template
tenzro-cli agent spawn-template --template-id tmpl_abc123

# Run a task with a template directly
tenzro-cli agent run-template \
  --template-id tmpl_abc123 \
  --input "Analyze Aave v3 yield strategies"

Filtering Templates

The marketplace supports filtering by type, creator, tag, model requirement, pricing, and status:

# Filter by tag
tenzro-cli marketplace list --tag defi

# Filter by type
tenzro-cli marketplace list --type orchestrator

# Show only free templates
tenzro-cli marketplace list --free-only