Agent Routing Spec

Version: 1.0.0. Last updated: 2026-02-28.

1. Scope

This spec defines how a single agent is selected for a capability request: intent capture, candidate ranking, deterministic selection, and outcome recording.

2. Requirements

3. Example payloads

3.1 Route decision (internal)

Input: traceId, businessId, requested_capability, intent_key
Output: decision_id, intent_id, selected_agent_id, selected_endpoint_url

3.2 Outcome record

traceId, intentId, intentKey, agentId, success, latencyMs, nctCost, optional: receipt_hash, receipt_verified

4. Changelog

5. Compatibility

Callers that do not send receipt data still receive routing and outcomes; trusted_trials increment only when receipt_verified is true.


Cite this spec

Canonical: https://nexscout.io/specs/agent-routing

Version: 1.0.0