Part IX · Providers

What leaves your machine

On this page

Every organ works with nothing configured and contacts nothing. A remote model service is an explicit addition: you name an endpoint, and only the capability bound to that endpoint sends anything. This page lists, per organ and capability, what runs locally by default, what leaves the machine once a service is configured, how that service is selected, and how the request is protected. Read it before setting THALAMUS_URL or an organ endpoint in a repository whose source or memory you are not authorized to send elsewhere.

The coding agent's own model is the harness's concern (Claude Code, Codex, Pi and the others in Harnesses); CNS does not route it. Nothing in the learning path, the use cases or the structural closeout gate needs a model service. The rows marked local below are the whole of that path.

Table 9.1 · What runs locally, and what a configured service receives

Organ Capability With nothing configured Once a remote service is configured, it receives
Axon index, search, trace, feature-path, deps-impact, delta, stdio MCP Local. The index is a SQLite file under .axon/; the MCP server is stdio, not an HTTP listener. Nothing. These commands have no remote option.
Axon anchors embed, anchor-search Local feature-hash vectors. --embed-provider local guarantees isolation; the default auto stays local until an endpoint variable is set. Anchor text derived from your source, and your queries, to /v1/embeddings. With --rerank, the query and candidate documents to /v1/rerank. A failed remote stage can fall back to local scoring; read the reported provider rather than assuming the neural stage ran.
Soma init, verify, concerns check, maps, exports Local. Reads Axon's SQLite index and delta; writes .soma/ and docs/soma/. Nothing. Soma has no MCP or HTTP server.
Soma System 1 rubric (--systemone; the cns gate opt-in) Not evaluated, with no request made. The gate reports rubric: not evaluated (disabled by default) and the structural oracle still decides. The Git diff, the changed file paths and the questions of gating fired concerns, posted to /v1/systemone through Thalamus. Concern prose is not sent.
Engram record, recall, probe, sleep, status, engram mcp Local SQLite. Default retrieval is deterministic 128-dimensional feature hashing plus lexical and graph search. Nothing. The MCP server is stdio.
Engram Remote embeddings and reranker (remote-openai, vllm-rerank) Off. cns init writes embedding_provider = "local-hash" and provider = "none" when THALAMUS_URL is unset. Query and corpus material to the embedding endpoint; query and candidate documents to the reranker. engram doctor --backfill-embeddings sends memory bodies that have no remote vector yet.
Engram Hub sync, hydration, URL conformance (engram sync, engram conformance URL) Off. Nothing is pushed or pulled without a hub URL. Memory facts as a JSONL CRDT stream, and knowledge-page reads. URL conformance replays the hub's own facts to it: use an authorized test hub.
Thalamus Relay Zero members. A router started without configuration serves nothing and /health says so. Everything a client sends to it, forwarded to the member it selects.
Cortex cortexd, seats, web switchboard Local daemon. With no model catalog the route is unrouted and no request is made. Conversation turns to the System 2 route, bounded classification questions to System 1, memory cues to the configured embedding and reranking models. Slack, Linear, SMS and voice channels each need their own explicit credentials and send what those channels carry.
Hippocampus collect, status, verify, inspect Local one-shot archive. No network daemon, no remote backend, no sender. Nothing. The HTTPS code is a default-off synthetic library feature for tests, not a collector mode.
cns init, curate, status, gate, hook Local. cns status prints [1] Thalamus : not configured (THALAMUS_URL not set) WARN; init and curate print embed: not configured and provision a local-only Engram seat. Only what the organ it invokes sends, under that organ's rules above. cns itself adds a /health and /admin/v1/status probe of the relay.

Table 9.2 · How a service is selected and how the request is protected

Endpoint precedence is organ-specific; it is reproduced here from the endpoint resolution contract. The transport column states what each organ's public reference says about its client, not a certification of your network.

Organ · capability Endpoint, highest priority first Credential Transport, as documented
Axon · embeddings --embed-url, AXON_EMBED_URL, then THALAMUS_URL. An explicit URL requires --embed-provider thalamus or http; it is refused with auto or local. AXON_EMBEDDING_TOKEN as a bearer token. Plain HTTP; the native client is not a general TLS client. Use a protected network.
Axon · reranking --rerank-url, the explicit embedding URL, AXON_EMBED_URL, then THALAMUS_URL. AXON_RERANK_URL is not read. Same as embeddings. Same as embeddings.
Soma · rubric THALAMUS_URL only, and only when the rubric is requested. Soma reads /admin/v1/status and selects the first healthy member advertising system1.decide. None. Soma has no token option. Plain HTTP; use a protected network.
Engram · embeddings ENGRAM_EMBEDDING_ENDPOINT, OTE retrieval.embedding_endpoint, then ${THALAMUS_URL}/v1/embeddings. Setting an endpoint does not switch the provider on; embedding_provider must name remote-openai and a model. None documented for retrieval. The reference documents certificate-validated HTTPS for hub sync, hydration and conformance. It does not state the retrieval client's transport; treat retrieval as protected-network until it does.
Engram · reranker ENGRAM_RERANKER_ENDPOINT, OTE retrieval.reranker.endpoint, then ${THALAMUS_URL}/v1/rerank, with enabled = true and provider = "vllm-rerank". None documented. As embeddings.
Engram · hub --hub-url, then ENGRAM_HUB_URL. --token, then ENGRAM_HUB_TOKEN, as a bearer token. engram conformance reads only its explicit --token. HTTP and HTTPS from 1.6.2. HTTPS validates the certificate chain and hostname against platform roots; SSL_CERT_FILE and SSL_CERT_DIR select a private CA store on Linux. Do not send the bearer token over public plaintext HTTP.
Cortex · models A $CORTEX_MODEL_CATALOG or .cortex/models.toml entry with base_url, Thalamus discovery through THALAMUS_URL, or an explicit CORTEX_FALLBACK_* URL. With none of these, unrouted. api_key_env names the environment variable per catalog entry; provider keys alone select nothing. Route classification is announced. A direct route outside the Thalamus base is counted as a direct call, and cns status reports hook-observed direct calls as BYPASS.
Thalamus · members Its configuration file or POST /admin/v1/members. There is no built-in member list. None. The router validates no API key and the CLI has no token option. It forwards the client's Authorization header to the member unchanged. Member endpoints are URLs you supply; the guide's examples use https://. The listener itself has no authentication boundary.

Table 9.3 · Pointing an organ at a hosted provider

The question this page is most often opened for: can an organ use a public, key-authenticated model API directly? The wire shapes are OpenAI-compatible, so the answer is about transport and credentials, not formats.

Path Wire shape Today
Axon to a hosted embeddings API OpenAI-compatible /v1/embeddings, bearer token Not reachable: the documented client is plain HTTP, and hosted APIs require TLS. Local vectors remain the supported path.
Engram to a hosted embeddings API remote-openai provider, /v1/embeddings Provider exists; the public reference does not state the retrieval client's TLS or bearer handling. Do not rely on it until the reference does.
Soma to a hosted rubric /v1/systemone task schema No hosted provider implements this schema, and the client is plain HTTP. The rubric is a Thalamus-fronted, self-hosted capability.
Thalamus in front of hosted providers Forwards OpenAI-compatible paths to a member Possible only if every client carries the provider key, because Thalamus injects no per-member credentials and protects its own listener with nothing. That is a network-boundary deployment, not a provider gateway.
Cortex to a hosted chat API Catalog entry with provider, base_url, api_key_env Configurable per seat. Direct routes are announced and counted so that bypassing a relay is visible, not silent.

Listing 9.1 · Check what a repository would send

Run these in the repository before enabling anything. Each line's expected result is the local-only one.

cns status # [1] Thalamus : not configured (THALAMUS_URL not set) WARN
cns gate # rubric: not evaluated (disabled by default)
axon anchor-search "retry policy" --embed-provider local --limit 5
env | grep -E '^(THALAMUS_URL|AXON_EMBED_URL|CNS_ORACLES)='
env | grep -E '^ENGRAM_(EMBEDDING|RERANKER)_ENDPOINT=|^ENGRAM_HUB_URL='

An empty result from the two env lines means no endpoint or oracle opt-in is set in this shell. Hooks and services run with their own environment; check theirs the same way. cns init names the retrieval endpoints it writes, refuses to write any URL it did not derive from THALAMUS_URL, and never rewrites an existing .engram/ote.toml; see cns init.

Note 9.1 · Thalamus routes requests; it is not a credential boundary

Thalamus has no API-key validation, no per-route authorization and no per-member credential injection, and it forwards the client's authorization header upstream. Its reference says so directly: arrange access through your network or an authenticated reverse proxy. Pointing it at a provider that bills by key means every client holds that key. Until that changes in the organ, the public documentation scopes Thalamus to inference endpoints you control.

Note 9.2 · "Not evaluated" and "not configured" are not passes

A capability that could not run says so: cns status reports an unset relay as WARN, the gate reports a requested rubric it could not reach as not evaluated with exit 3, and Axon and Engram name the missing setting instead of inventing a host. Treat each of those as a boundary you chose, not as a failure to fix by pasting an address from an example. The rubric and gate contract and the vitals record define the exact wording.