Part IV · Organs · Plate 02

Thalamus

On this page

Model request routing

Rust · HTTP / SSE · :18000ivannovak/thalamus ↗ (repository access may be required)Wrapped by cns

Thalamus routes model requests through one configured endpoint. Point your agents and tools at the relay rather than at individual model servers. It sends chat, rubric checks, embeddings and reranking to the appropriate configured service; you supply and run those services.

Reviewed 2026-11-04.

Fig. 4.2.1   What Thalamus does

Route chat

The Intelligence plane carries OpenAI-compatible chat requests. Session affinity keeps related requests on the same server when possible.

Route checks

The Verification plane carries stateless rubric questions. cns gate uses it only after you opt into model-assisted review.

Route retrieval

The Knowledge plane carries embedding and reranking requests from tools such as Axon and Engram. Search stays with those tools; Thalamus routes their model requests.

Table 4.2.1   Channels

DirectionChannelPeerCarried byContract
readsChat, rubric and retrieval requestsCortex / Soma / Axon / EngramHTTP / SSERead contract ↗
writesDurable request telemetrythalamus replay / cns statustelemetry.dbRead contract ↗

CLI commands

Browse all Thalamus CLI commands → for syntax, options, examples and behavior. Each command has its own reference page.

Note 4.2.1   Running alone

Start with configured model servers, probe their capabilities, and point clients at the relay. CNS consumers can use THALAMUS_URL; they do not get a relay address by default. Check the capability you need, not just whether the router process is running.