---
title: "Broker Overview"
description: "The broker routes tasks to the most cost effective handler: skills first, then WASM, then LLM as a fallback. Without a broker, every task goes to an LLM. With a broker: Simple tasks use free skills Medium tasks use cheap"
resource: https://www.aiagents.nexus/docs/manual/broker-routing/overview
generated: { by: "process:nexus-agent-assets", at: 2026-09-07T09:13:03Z }
status: stable
---

# 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

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