Broker Routing Overview

The broker routes tasks to the most cost-effective handler: skills first, then WASM, then LLM as a fallback.

Routing Cascade

Task received
     ↓
1. Skill match? → Execute skill (free)
     ↓ no
2. WASM match? → Execute WASM (cheap)
     ↓ no
3. LLM fallback → Call LLM (expensive)

Why a Broker?

Without a broker, every task goes to an LLM. With a broker:

  • Simple tasks use free skills
  • Medium tasks use cheap WASM
  • Only complex tasks use expensive LLMs
  • Result: 40-60% cost savings

Quick Start

naos broker skills
naos broker route "summarize this text"
naos broker execute "summarize this text"
naos broker stats