Axon · Configuration & integration
Prepare concept search safely
Inspect embedding coverage, then prepare persistent anchor embeddings when concept search needs them:
axon anchors status --json
axon anchors embed --embed-provider local --json
axon anchor-search "invoice retry policy" --embed-provider local --limit 10 --json
The embedding pass writes source-derived data; keep the index and cache within your source-access boundary. Local embeddings are feature-hash vectors. Without stored embeddings, local search can report a lexical-only semantic stage; exact identifiers can short-circuit semantic work. Inspect actual provider, provenance and fallback indicators. File granularity groups results rather than returning individual symbol anchors; tests require --include-tests.
Choose local explicitly for predictable isolation. auto stays local without endpoint environment configuration but can select remote embedding when AXON_EMBED_URL or THALAMUS_URL is set. Authorize sending source-derived material to the selected service before using a remote provider.
Passing --embed-url with auto or local is refused: select thalamus or http explicitly for that flag. Remote providers require an endpoint. Model selection uses --embed-model / AXON_EMBED_MODEL, with /v1/models discovery available for Thalamus/automatic selection. There is no built-in remote host or model promise.
--rerank enables the second stage. Remote reranking uses /v1/rerank, an explicit or inherited endpoint, and --rerank-model / AXON_RERANK_MODEL; local operation has a local scoring path. Do not assume every successful stage used a neural service.
Provider configuration and provider availability are different failures. Automatic model discovery can fall back locally; an embedding pass can fall back to local vectors after a remote batch failure (read actual provider/model and counts). Remote search stages can be omitted when unavailable, and a failed remote rerank request uses local token/phrase scoring; a missing required endpoint/model can instead refuse the query. A local embedding pass rejects a nonlocal model override. Do not treat --rerank, a requested model or an embedding count as proof that remote neural inference completed. Search does not itself persist an embedding pass.
The embedding client supports AXON_EMBEDDING_TOKEN (legacy LUX_EMBEDDING_TOKEN) for bearer authorization. Keep tokens out of examples and source configuration. The inspected native transport is plain HTTP, not a general TLS client: use a protected network and do not send credentials over an untrusted connection.