Skip to main content

Module intel

Module intel 

Source

Modules§

anthropic
Anthropic Messages API adapter. Pure translation, no I/O — every dial goes through intel::client, so this module stays testable without a network.
bedrock
Amazon Bedrock Converse API adapter. Pure translation, no I/O; the SigV4 signing that authenticates the dial is a separate axis ([crate::auth::aws], applied by the transport in super::endpoints).
client
Intelligence client — endpoint list selection plus one round-trip.
discovery
Optional, capability-negotiated model discovery: agentd learns what an endpoint serves via a tiny handshake. The rules that keep it harmless are absolute — it runs only when an endpoint looks discovery-capable, stays silent on failure, is never fatal, never sits on the hot path, and never runs at startup ahead of a side effect.
endpoints
The intelligence endpoint list and per-endpoint credentials.
failover
The failover decision — sticky-primary with a bounded sweep.
health
Per-endpoint health record and circuit breaker.
mock
A minimal built-in mock LLM for the observe-to-validate E2E suite. Hidden mode: agentd --internal-mock-llm <addr-file> [script].
openai
OpenAI-compatible /chat/completions adapter with native tool-calling.