> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For full documentation content, see https://docs.nvidia.com/nemo/relay/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Module acg

> Canonical Adaptive Cache Governor (ACG) module surface exposed from the adaptive crate.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`.

Canonical Adaptive Cache Governor (ACG) module surface exposed from the adaptive crate.

## Re-exports

* `pub use error::AcgError;`
* `pub use error::Result;`
* `pub use anthropic_plugin::*;`
* `pub use canonicalize::*;`
* `pub use capability::*;`
* `pub use ir_builder::*;`
* `pub use openai_plugin::*;`
* `pub use passthrough::*;`
* `pub use plugin::*;`
* `pub use plugin_registry::*;`
* `pub use policy::*;`
* `pub use profile::*;`
* `pub use prompt_ir::*;`
* `pub use retention::*;`
* `pub use stability::*;`
* `pub use telemetry::*;`
* `pub use types::*;`
* `pub use variable_extractor::*;`

## Modules

* [anthropic\_plugin](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/anthropic_plugin): Anthropic cache plugin for the Adaptive Cache Governor (ACG) system.
* [canonicalize](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/canonicalize): RFC 8785 JSON Canonicalization and whitespace normalization for cache stability.
* [capability](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/capability): Capability registry tracking per-backend and per-model-family supported features.
* [error](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/error): Error types for the Adaptive Cache Governor (ACG) crate.
* [ir\_builder](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/ir_builder): AnnotatedLlmRequest to PromptIR construction pipeline.
* [openai\_plugin](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/openai_plugin): OpenAI cache plugin for the Adaptive Cache Governor (ACG) system.
* [passthrough](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/passthrough): Passthrough plugin that applies no transformations.
* [plugin](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/plugin): Provider plugin trait and input/output types for the Adaptive Cache Governor (ACG) system.
* [plugin\_registry](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/plugin_registry): Plugin registry for storing and retrieving provider plugins.
* [policy](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy): Policy types for the Adaptive Cache Governor (ACG) system.
* [profile](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/profile): Behavioral profile types for the Adaptive Cache Governor (ACG) system.
* [prompt\_ir](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir): Prompt Intermediate Representation (IR) types for the Adaptive Cache Governor (ACG) system.
* [retention](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/retention): Retention intent generation from observed session timing distributions.
* [stability](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/stability): Stability analysis for prompt blocks across multiple observations.
* [telemetry](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/telemetry): Cache performance telemetry types for the Adaptive Cache Governor (ACG) system.
* [types](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types): Core data types for the Adaptive Cache Governor (ACG) crate.
* [variable\_extractor](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/variable_extractor): Variable content detection and extraction from prompt blocks.

## Constants

* [MIN\_ACG\_OBSERVATIONS](/reference/api/rust-library-reference/nemo-relay-adaptive/acg/constant-min-acg-observations): Minimum observations required before Adaptive Cache Governor (ACG) emits optimization intents.