Expand description
Intermediate Representation (IR) for UAR-AGENT-MD documents.
Two IR variants are provided:
AgentDescriptorIR: All sections required — used after successful parse of a complete document.PartialAgentDescriptorIR: All sections optional — used during conversational mode to accumulate data incrementally.
Structs§
- A2ADependency
- A2AEndpoint
- A2ASection
- Agent
DescriptorIR - Complete Intermediate Representation of a UAR-AGENT-MD document. Every section is required. This is the canonical input to the compilation pipeline.
- ApiHarness
Section - Declares which transport protocols this agent supports and, for the
SSE surface, which
stream_modeit emits by default. Mirrors thestream_modeselector CH-21 (agui-spec-alignment) added tosrc/server.rs(openai|agui|dual|agui_spec). - Audit
Config - Budgets
Section - Capabilities
Section - Conversation
Memory Config - Deployment
Profile - Deployment
Section - Execution
Section - Governance
Section - Identity
Section - Knowledge
Section - Knowledge
Source - Logging
Config - McpAuth
- McpServer
Ref - McpServers
Section - Memory
Section - Metadata
Section - Metrics
Config - Model
Requirements Section - Declares the capabilities a compiled agent’s resolved model must have.
Mirrors
crate::llm::router::RouteRequirements— the compiler-time declaration and the runtime router’s selection criteria are the same shape by design, so a conformance check (CH-14) can compare them directly. - Observability
Section - Partial
Agent DescriptorIR - Partial IR for conversational mode. Every section is
Option<T>to allow incremental population. Use [CompletenessAnalyzer] to check readiness. - Persistent
Memory Config - Prompt
Dialect Section - Declares prompt-dialect hints for the resolved model. Mirrors
crate::llm::prompt_dialect::DialectRequest—dialectis an optional override; when absent, the dialect is detected from the resolved model id at request-assembly time (unchanged from CH-04). - Provider
Config - RagConfiguration
Section - Declares this agent’s retrieval-augmented-generation posture. Mirrors
the in-process hardening knobs shipped in CH-11 (query decomposition,
retrieval verification, audit events) — deliberately in-process per
uar-next-harness’s D-A decision; Knowledge Service extraction remains out of scope. - Rate
Limit Config - Resource
Config - Retrieval
Config - Skill
Ref - Skills
Section - ToolRef
- Tools
Section - Tracing
Config - UiAction
- UiArtifact
- UiForm
- UiSection
Enums§
- Context
Strategy Section - Declares this agent’s message-history trimming strategy. Mirrors
crate::uar::context::ContextStrategyvariant-for-variant (includingAuto, CH-05’s model-aware selection) so a compiled descriptor can express exactly what the runtime will do — the conformance harness (CH-14) checks this againstRunManager.message_context_strategyat load and run time. - Section
Name - Canonical section names as they appear in UAR-AGENT-MD
## <name>headings.