agentd/intel/mod.rs
1// SPDX-License-Identifier: AGPL-3.0-only
2pub mod anthropic;
3// Amazon Bedrock Converse dialect: pure translation, with no signing of its
4// own. Authenticating the dial is a separate axis (`crate::auth::aws` supplies
5// SigV4), so the two can be configured independently. Always compiled because
6// it pulls in no dependencies; reached only when the `intelligence.dialect:
7// bedrock` selector is set.
8pub mod bedrock;
9pub mod client;
10// Intelligence transport resilience: the endpoint list, per-endpoint health +
11// circuit breaker, and the sticky-primary failover policy. Always compiled and
12// dependency-free. A single-endpoint list drives exactly the same code path as
13// a plain one-shot dial, with the resilience machinery inert — so configuring
14// one endpoint costs nothing at runtime.
15pub mod endpoints;
16pub mod failover;
17pub mod health;
18pub mod openai;
19// Optional, capability-negotiated model discovery: a best-effort
20// `GET /v1/models` over the existing intel transport, consumed by the
21// supervisor-side `agentd://intelligence` and capabilities `intelligence.models`
22// surfaces. Off the hot path, silent on failure, never fatal — a provider that
23// does not expose the endpoint simply reports no models.
24pub mod discovery;
25// Built-in mock LLM (the hidden `--internal-mock-llm` mode) that backs the
26// observe-to-validate and conformance suites. Debug builds always carry it so
27// `cargo test` works with no flag; release ships it only under `internal-mocks`,
28// keeping the production binary free of test scaffolding.
29#[cfg(any(feature = "internal-mocks", debug_assertions))]
30pub mod mock;