Skip to main content

agentd/intel/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2pub mod anthropic;
3// Amazon Bedrock Converse dialect (RFC 0031 §8 — native Bedrock). Pure
4// translation; the SigV4 signing that authenticates the dial is a separate axis
5// (`crate::auth::aws`). Compiled always (dependency-free); reached when the
6// `intelligence.dialect: bedrock` selector is set.
7pub mod bedrock;
8pub mod client;
9// RFC 0018 intelligence transport resilience — the endpoint list, per-endpoint
10// health + circuit breaker, and the sticky-primary failover policy. Core
11// (always compiled, dependency-free): a single-endpoint list is byte-for-byte
12// RFC 0006, with the resilience machinery inert.
13pub mod endpoints;
14pub mod failover;
15pub mod health;
16pub mod openai;
17// RFC 0018 §5.4 — optional, capability-negotiated model discovery. A best-effort
18// `GET /v1/models` over the existing intel transport, consumed by the
19// supervisor-side `agentd://intelligence` + capabilities `intelligence.models`
20// surfaces. Off the hot path, silent on failure, never fatal.
21pub mod discovery;
22// Built-in mock LLM (the hidden `--internal-mock-llm` mode) for the M7
23// observe-to-validate + conformance suites. Debug builds always carry it (so
24// `cargo test` works with no flag); release ships it only under `internal-mocks`,
25// keeping the production binary free of test scaffolding.
26#[cfg(any(feature = "internal-mocks", debug_assertions))]
27pub mod mock;