> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/llms.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-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`. 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. > Canonical Adaptive Cache Governor (ACG) module surface exposed from the adaptive crate. ## Docs - [Module anthropic_plugin](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/anthropic_plugin.md): Anthropic cache plugin for the Adaptive Cache Governor (ACG) system. - [Struct Anthropic Cache Plugin](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/anthropic_plugin/struct-anthropiccacheplugin.md): Anthropic-specific provider plugin for cache_control breakpoint injection. - [Module canonicalize](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/canonicalize.md): RFC 8785 JSON Canonicalization and whitespace normalization for cache stability. - [Function canonicalize_json](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/canonicalize/fn-canonicalize-json.md): Canonicalize a JSON string per RFC 8785 (JCS). - [Function canonicalize_value](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/canonicalize/fn-canonicalize-value.md): Canonicalize a `serde_json::Value` per RFC 8785. - [Function normalize_whitespace](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/canonicalize/fn-normalize-whitespace.md): Normalize whitespace in text content. - [Function sha256_hex](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/canonicalize/fn-sha256-hex.md): Compute SHA-256 hex digest with `"sha256:"` prefix. - [Module capability](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/capability.md): Capability registry tracking per-backend and per-model-family supported features. - [Struct Backend Capabilities](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/capability/struct-backendcapabilities.md): Capabilities of a specific backend provider. - [Struct Cache Economics](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/capability/struct-cacheeconomics.md): Provider/model-specific cache economics used by the internal planner. - [Struct Capability Registry](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/capability/struct-capabilityregistry.md): Registry holding capabilities for all known backends. - [Struct Model Family Capabilities](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/capability/struct-modelfamilycapabilities.md): Per-model-family capability overrides within a backend. - [Enum Provider Feature](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/capability/enum-providerfeature.md): Feature that a backend or model family may support. - [Module ir_builder](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/ir_builder.md): AnnotatedLlmRequest to PromptIR construction pipeline. - [Function build_prompt_ir](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/ir_builder/fn-build-prompt-ir.md): Build a normalized `PromptIR` from an annotated LLM request. - [Module openai_plugin](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/openai_plugin.md): OpenAI cache plugin for the Adaptive Cache Governor (ACG) system. - [Struct OpenAI Cache Plugin](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/openai_plugin/struct-openaicacheplugin.md): OpenAI-specific provider plugin for deterministic JSON serialization. - [Module passthrough](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/passthrough.md): Passthrough plugin that applies no transformations. - [Struct Passthrough Plugin](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/passthrough/struct-passthroughplugin.md): A no-op provider plugin that passes requests through unchanged. - [Module plugin](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/plugin.md): Provider plugin trait and input/output types for the Adaptive Cache Governor (ACG) system. - [Struct Plugin Input](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/plugin/struct-plugininput.md): Input data provided to a plugin for translation. - [Struct Plugin Output](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/plugin/struct-pluginoutput.md): Output produced by a plugin after translation. - [Trait Provider Plugin](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/plugin/trait-providerplugin.md): Provider plugin trait for backend-specific translation. - [Module plugin_registry](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/plugin_registry.md): Plugin registry for storing and retrieving provider plugins. - [Struct Plugin Registry](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/plugin_registry/struct-pluginregistry.md): Registry for storing and retrieving provider plugins. - [Module policy](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy.md): Policy types for the Adaptive Cache Governor (ACG) system. - [Struct Archetype Routing Override](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy/struct-archetyperoutingoverride.md): Routing override for one observed session archetype. - [Struct Cache Policy](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy/struct-cachepolicy.md): Policy controlling when ACG outputs can be cached and reused. - [Struct Policy Envelope](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy/struct-policyenvelope.md): Versioned wrapper for an ACG policy document. - [Struct Retention Policy](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy/struct-retentionpolicy.md): Policy controlling how long learned artifacts should be retained. - [Struct Rewrite Policy](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy/struct-rewritepolicy.md): Policy controlling what prompt rewrites the runtime can apply automatically. - [Struct Routing Policy](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy/struct-routingpolicy.md): Policy controlling model-class routing decisions. - [Struct Scope Retention Override](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy/struct-scoperetentionoverride.md): Retention-tier override for one sharing scope. - [Enum Transformation Class](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/policy/enum-transformationclass.md): Rewrite category that an ACG policy can allow or deny. - [Module profile](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/profile.md): Behavioral profile types for the Adaptive Cache Governor (ACG) system. - [Struct Behavioral Profile](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/profile/struct-behavioralprofile.md): Aggregated behavioral profile derived from observed runs. - [Struct Block Stability Score](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/profile/struct-blockstabilityscore.md): Stability analysis result for one prompt block. - [Struct Distribution Summary](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/profile/struct-distributionsummary.md): Percentile summary for a duration-like metric. - [Struct Parallelism Pattern](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/profile/struct-parallelismpattern.md): Summary of observed parallelism behavior across runs. - [Struct Tool Usage Phase](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/profile/struct-toolusagephase.md): One phase of tool usage observed in an agent workflow. - [Enum Session Archetype](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/profile/enum-sessionarchetype.md): Coarse behavioral archetype inferred from observed runs. - [Enum Stability Class](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/profile/enum-stabilityclass.md): Stability bucket assigned to a prompt block. - [Module prompt_ir](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir.md): Prompt Intermediate Representation (IR) types for the Adaptive Cache Governor (ACG) system. - [Struct Prompt Block](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/struct-promptblock.md): A single addressable block within the Prompt IR. - [Struct PromptIR](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/struct-promptir.md): Prompt Intermediate Representation - the full decomposed prompt. - [Struct SpanId](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/struct-spanid.md): Stable span identifier for addressable prompt blocks. - [Struct Tokenization Metadata](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/struct-tokenizationmetadata.md): Token count metadata for a prompt block. - [Struct Tool Schema Hash](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/struct-toolschemahash.md): Hash fingerprint of a tool schema definition. - [Enum Block Content Type](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/enum-blockcontenttype.md): Content type discriminant for a prompt block. - [Enum Prompt Role](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/enum-promptrole.md): Role of a prompt block within the conversation. - [Enum Provenance Label](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/enum-provenancelabel.md): Origin label for a prompt block. - [Enum Sensitivity Label](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/prompt_ir/enum-sensitivitylabel.md): Sensitivity classification for a prompt block. - [Module retention](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/retention.md): Retention intent generation from observed session timing distributions. - [Struct Retention Thresholds](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/retention/struct-retentionthresholds.md): Thresholds used to map observed timing into a retention tier. - [Function generate_retention_intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/retention/fn-generate-retention-intent.md): Generate a retention intent from observed session timing distributions. - [Function generate_retention_intent_default](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/retention/fn-generate-retention-intent-default.md): Generate a retention intent with the default thresholds. - [Module stability](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/stability.md): Stability analysis for prompt blocks across multiple observations. - [Struct Stability Analysis Result](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/stability/struct-stabilityanalysisresult.md): Result of analyzing prompt stability across a set of observations. - [Struct Stability Thresholds](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/stability/struct-stabilitythresholds.md): Thresholds controlling prompt-block stability classification. - [Function analyze_stability](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/stability/fn-analyze-stability.md): Analyze prompt-block stability across multiple observations. - [Function find_stable_prefix_length](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/stability/fn-find-stable-prefix-length.md): Count the number of leading scores classified as stable. - [Module telemetry](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/telemetry.md): Cache performance telemetry types for the Adaptive Cache Governor (ACG) system. - [Struct Cache HitRate](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/telemetry/struct-cachehitrate.md): Aggregated cache hit rate over a time window. - [Struct Cache Miss Diagnosis](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/telemetry/struct-cachemissdiagnosis.md): Structured diagnosis for a cache miss. - [Struct Cache Request Facts](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/telemetry/struct-cacherequestfacts.md): Request-time facts used to classify a cache miss without leaking prompt text. - [Struct Cache Telemetry Event](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/telemetry/struct-cachetelemetryevent.md): Per-call cache telemetry event. - [Enum Cache Miss Evidence](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/telemetry/enum-cachemissevidence.md): Typed evidence for a cache miss diagnosis. - [Enum Cache Miss Reason](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/telemetry/enum-cachemissreason.md): Reason why a cache miss occurred. - [Enum Cache Telemetry Provider](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/telemetry/enum-cachetelemetryprovider.md): Cache telemetry provider identity for canonical `Usage` normalization. - [Module types](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types.md): Core data types for the Adaptive Cache Governor (ACG) crate. - [Struct Agent Identity](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-agentidentity.md): Identity model for an agent type. - [Struct Cache Stability Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-cachestabilityintent.md): Cache stability analysis results for a prompt region. - [Struct Compression Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-compressionintent.md): Content compression intent. - [Struct Content Extraction Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-contentextractionintent.md): Content extraction intent for variable content detection. - [Struct Intent Outcome](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-intentoutcome.md): Records the outcome of translating a single optimization intent. - [Struct Model Routing Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-modelroutingintent.md): Model routing and selection intent. - [Struct Optimization Intent Bundle](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-optimizationintentbundle.md): A bundle of optimization intents for a single request. - [Struct Placement Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-placementintent.md): Context placement optimization intent. - [Struct Priority Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-priorityintent.md): Latency and priority routing intent. - [Struct Retention Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-retentionintent.md): Cache retention policy intent. - [Struct Serialization Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-serializationintent.md): Serialization and fanout optimization intent. - [Struct Tool Scope Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-toolscopeintent.md): Tool scope and phase management intent. - [Struct Translation Report](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/struct-translationreport.md): A plugin's complete report on how it handled an intent bundle. - [Enum Intent Type](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/enum-intenttype.md): Discriminant enum for intent types (used in translation report outcomes). - [Enum Model Class](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/enum-modelclass.md): Model complexity/criticality class for routing. - [Enum Optimization Intent](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/enum-optimizationintent.md): A single optimization intent emitted by a behavioral model. - [Enum Placement Target](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/enum-placementtarget.md): Target location for context placement. - [Enum Reason Code](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/enum-reasoncode.md): Machine-readable reason for the translation outcome. - [Enum Retention Tier](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/enum-retentiontier.md): Retention tier for cached state. - [Enum Sharing Scope](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/enum-sharingscope.md): Sharing scope for cached content - stability does not imply shareability. Default is `Session` per security requirements. - [Enum Translation Status](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/types/enum-translationstatus.md): Outcome status for a single intent translation. - [Module variable_extractor](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/variable_extractor.md): Variable content detection and extraction from prompt blocks. - [Struct Extracted Variable](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/variable_extractor/struct-extractedvariable.md): One extracted variable occurrence within a prompt block. - [Struct Extraction Result](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/variable_extractor/struct-extractionresult.md): Variable extraction result for one prompt block. - [Struct Variable Pattern](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/variable_extractor/struct-variablepattern.md): Regex-based pattern used to detect variable content. - [Enum Variable Category](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/variable_extractor/enum-variablecategory.md): Category assigned to an extracted variable. - [Function default_variable_patterns](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/variable_extractor/fn-default-variable-patterns.md): Return the default regex patterns used for variable extraction. - [Function extract_variables](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/variable_extractor/fn-extract-variables.md): Extract variables from one content string. - [Function extract_variables_from_blocks](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/variable_extractor/fn-extract-variables-from-blocks.md): Extract variables from a set of prompt blocks. - [Module error](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/error.md): Error types for the Adaptive Cache Governor (ACG) crate. - [Enum AcgError](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/error/enum-acgerror.md): The error type for all Adaptive Cache Governor (ACG) operations. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/error/type-result.md): A specialized `Result` type for ACG operations. - [Constant MIN_ACG_OBSERVATIONS](https://docs.nvidia.com/nemo/relay/v0.5.0/reference/api/rust-library-reference/nemo-relay-adaptive/acg/constant-min-acg-observations.md): Minimum observations required before Adaptive Cache Governor (ACG) emits optimization intents.