Contracts first
Applications can depend on stable requests, responses, messages, usage records, streaming deltas, model descriptors, tools, and response formats while leaving the concrete runtime replaceable.
UAIX.LmRuntime / Package guide
Stable runtime contracts, request and response models, diagnostics, and governance interfaces.
Required For runtime-neutral contracts
UAIX.LmRuntime.Abstractions
Stable runtime contracts, request and response models, diagnostics, and governance interfaces.
Stable public interfaces, canonical inference contracts, runtime settings, and diagnostics for pure C# local LLM runtime packages.
dotnet add package UAIX.LmRuntime.Abstractions
<PackageReference Include="UAIX.LmRuntime.Abstractions" />
Version policy: The documentation deliberately omits UAIX.LmRuntime package version numbers. Resolve and pin versions through your normal dependency-management and lock-file process.
Review the current package metadata, frameworks, dependencies, and downloads on NuGet ↗
None within the UAIX.LmRuntime package family.
Applications can depend on stable requests, responses, messages, usage records, streaming deltas, model descriptors, tools, and response formats while leaving the concrete runtime replaceable.
The inference contract exposes both a complete response and IAsyncEnumerable streaming deltas, with cooperative CancellationToken flow.
Budget, review, evidence, claim-boundary, constraint, quarantine, and memory-firewall APIs are separate policies. They do not silently alter model mathematics.
These are the main entry points for this package. The generated reference below includes every documented type and member represented by public package XML documentation.
IInferenceRuntime
IInferenceSession
IModelAdapter
ITokenizer
InferenceRequest
InferenceResponse
LlmMessage
StreamingDelta
RuntimeOptions
IRuntimeBudgetGovernor
IReviewGatePolicy
IMemoryFirewall
Examples use public package signatures documented on LMRuntime.com. Model paths, hashes, byte counts, prompts, and host-specific identifiers remain application inputs.
Accept any IInferenceRuntime implementation and construct a provider-neutral request.
using UAIX.LmRuntime.Abstractions;
using UAIX.LmRuntime.Contracts;
public static class InferenceExample
{
/// <summary>
/// Executes one provider-neutral inference request.
/// </summary>
/// <param name="runtime">The runtime implementation that will execute the request.</param>
/// <param name="model">The model identifier understood by the runtime.</param>
/// <param name="prompt">The user prompt to submit.</param>
/// <param name="cancellationToken">A token used to cancel the operation.</param>
/// <returns>The normalized inference response.</returns>
public static Task<InferenceResponse> GenerateAsync(
IInferenceRuntime runtime,
string model,
string prompt,
CancellationToken cancellationToken)
{
ArgumentNullException.ThrowIfNull(runtime);
ArgumentException.ThrowIfNullOrWhiteSpace(model);
ArgumentException.ThrowIfNullOrWhiteSpace(prompt);
var request = new InferenceRequest
{
Model = model,
Messages =
[
LlmMessage.System("Answer directly and identify uncertainty."),
LlmMessage.User(prompt)
],
MaxOutputTokens = 256,
Temperature = 0,
TopP = 1,
UseMemory = false
};
return runtime.GenerateAsync(request, cancellationToken);
}
}
Stream text without coupling the caller to a concrete runtime implementation.
using System.Runtime.CompilerServices;
using UAIX.LmRuntime.Abstractions;
using UAIX.LmRuntime.Contracts;
public static class StreamingExample
{
/// <summary>
/// Yields non-empty text fragments from a streaming inference operation.
/// </summary>
/// <param name="runtime">The runtime implementation that produces deltas.</param>
/// <param name="request">The normalized inference request.</param>
/// <param name="cancellationToken">A token used to cancel enumeration and generation.</param>
/// <returns>An asynchronous sequence of text fragments.</returns>
public static async IAsyncEnumerable<string> StreamTextAsync(
IInferenceRuntime runtime,
InferenceRequest request,
[EnumeratorCancellation] CancellationToken cancellationToken)
{
ArgumentNullException.ThrowIfNull(runtime);
ArgumentNullException.ThrowIfNull(request);
await foreach (StreamingDelta delta in runtime
.StreamAsync(request, cancellationToken)
.WithCancellation(cancellationToken))
{
if (!string.IsNullOrEmpty(delta.Text))
{
yield return delta.Text;
}
}
}
}
Use ITokenizer when an orchestration layer should not know which concrete tokenizer is active.
using UAIX.LmRuntime.Abstractions;
using UAIX.LmRuntime.Contracts;
/// <summary>
/// Counts the tokens consumed by a normalized chat transcript.
/// </summary>
/// <param name="tokenizer">The tokenizer implementation used by the target model.</param>
/// <param name="messages">The ordered chat messages to count.</param>
/// <returns>The token count and tokenizer identity.</returns>
static TokenCountResult CountChatTokens(
ITokenizer tokenizer,
IReadOnlyList<LlmMessage> messages)
{
ArgumentNullException.ThrowIfNull(tokenizer);
ArgumentNullException.ThrowIfNull(messages);
return tokenizer.CountTokens(messages);
}
RuntimeOptions exposes governance and resource settings as normal application configuration; enabling a flag does not substitute for implementing the corresponding policy.
using UAIX.LmRuntime.Contracts;
var options = new RuntimeOptions
{
DefaultModel = "local-model",
MaxContextTokens = 8_192,
MaxMemoryEntries = 0,
EnableTeleodynamicGovernance = false,
EnableConstraintPolicy = true,
EnableClaimBoundaryPolicy = true,
EnableReviewGatePolicy = true,
ReturnNoOpResponseOnGovernanceDenial = true,
ReturnNoOpResponseOnClaimBoundaryViolation = true,
ReturnNoOpResponseOnReviewGateRequired = true,
QuarantineGeneratedNeedsHumanReview = true,
FailOnEvidenceLedgerError = true
};
Boundary: Policy flags describe orchestration intent. The application must supply and test concrete policy implementations.
Expand a type to review its documented fields, properties, constructors, methods, parameter descriptions, and return descriptions. Browser Find also works across the closed detail elements.
IClaimBoundaryPolicyUAIX.LmRuntime.Abstractions
1 member
Evaluates generated text against bounded claim-boundary rules.
EvaluateAsync(string,System.Collections.Generic.IReadOnlyList<UAIX.LmRuntime.Governance.ClaimBoundaryRule>,System.Threading.CancellationToken)
Evaluates the async against the supplied policy and bounded observation state.
textrulescancellationTokenReturns: An asynchronous ValueTask<ClaimBoundaryDecision> that completes with the result of IClaimBoundaryPolicy.EvaluateAsync: Evaluates the async against the supplied policy and bounded observation state. Fault and cancellation states are propagated without a successful partial result.
IClaimLifecyclePolicyUAIX.LmRuntime.Abstractions
1 member
Enforces explicit evidence, boundary, and human-authority transitions for runtime claims.
Evaluate(UAIX.LmRuntime.Governance.ClaimTransitionRequest)
Evaluates the supplied request against the supplied policy and bounded observation state.
requestReturns: The ClaimTransitionDecision result produced by IClaimLifecyclePolicy.Evaluate for this contract: Evaluates the supplied request against the supplied policy and bounded observation state. It is published only after all documented validation and ownership transitions succeed.
IConstraintClosureAnalyzerUAIX.LmRuntime.Abstractions
1 member
Analyzes a bounded work-constraint registry for closed maintenance cycles and retirement candidates.
Analyze(UAIX.LmRuntime.Governance.ConstraintRegistrySnapshot)
Computes deterministic graph closure information for the supplied registry snapshot.
snapshotReturns: The closure report, including validation diagnostics and retirement candidates.
IConstraintPolicyUAIX.LmRuntime.Abstractions
1 member
Evaluates request-side constraints before budgeted execution is allowed.
EvaluateAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Collections.Generic.IReadOnlyList<UAIX.LmRuntime.Governance.ConstraintRule>,System.Threading.CancellationToken)
Evaluates the request against configured constraint rules.
requestrulescancellationTokenReturns: An asynchronous ValueTask<ConstraintDecision> that completes with the result of IConstraintPolicy.EvaluateAsync: Evaluates the request against configured constraint rules. Fault and cancellation states are propagated without a successful partial result.
IEvidenceLedgerUAIX.LmRuntime.Abstractions
1 member
Appends immutable governance evidence receipts.
AppendAsync(UAIX.LmRuntime.Governance.GovernanceDecisionReceipt,System.Threading.CancellationToken)
Appends the async to the current IEvidenceLedger state after validating capacity, ordering, and ownership constraints.
receiptcancellationTokenReturns: A task that represents completion of the asynchronous operation.
IInferenceRuntimeUAIX.LmRuntime.Abstractions
2 members
Defines the public runtime orchestration API.
GenerateAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)
Generates the async through the deterministic execution path owned by IInferenceRuntime.
requestcancellationTokenReturns: An asynchronous Task<InferenceResponse> that completes with the result of IInferenceRuntime.GenerateAsync: Generates the async through the deterministic execution path owned by IInferenceRuntime. Fault and cancellation states are propagated without a successful partial result.
StreamAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)
Streams the async in observable sequence order while honoring caller cancellation.
requestcancellationTokenReturns: The normalized streaming events, enumerated in source order with caller cancellation and failure propagation governed by StreamAsync.
IInferenceSessionUAIX.LmRuntime.Abstractions
3 members
Defines a stateful inference session with explicit prefill and decode phases.
SessionId
Gets the session identifier.
DecodeNextAsync(System.Threading.CancellationToken)
Decodes the next token or text chunk from the session.
cancellationTokenReturns: An asynchronous ValueTask<StreamingDelta> that completes with the result of IInferenceSession.DecodeNextAsync: Decodes the next token or text chunk from the session. Fault and cancellation states are propagated without a successful partial result.
PrefillAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)
Prefills the async into the current model state after validating token and cache bounds.
requestcancellationTokenReturns: The number of prompt tokens accepted by the session.
IMemoryFirewallUAIX.LmRuntime.Abstractions
1 member
Evaluates source-routed memory packets before they can enter an active retrieval tier.
Evaluate(UAIX.LmRuntime.Governance.MemoryFirewallRequest)
Evaluates packet provenance, integrity, freshness, entropy, trust, contradiction, evidence, and review state.
requestReturns: The memory region containing the supplied request, bounded to the validated range owned by the result.
IModelAdapterUAIX.LmRuntime.Abstractions
4 members
Defines the execution boundary for provider-hosted or local models.
ProviderName
Gets the provider or backend name.
GenerateAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)
Generates the async through the deterministic execution path owned by IModelAdapter.
requestcancellationTokenReturns: An asynchronous Task<InferenceResponse> that completes with the result of IModelAdapter.GenerateAsync: Generates the async through the deterministic execution path owned by IModelAdapter. Fault and cancellation states are propagated without a successful partial result.
GetModelAsync(string,System.Threading.CancellationToken)
Gets model metadata for the requested model.
modelcancellationTokenReturns: An asynchronous ValueTask<ModelDescriptor> that completes with the result of IModelAdapter.GetModelAsync: Gets model metadata for the requested model. Fault and cancellation states are propagated without a successful partial result.
StreamAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)
Streams the async in observable sequence order while honoring caller cancellation.
requestcancellationTokenReturns: The normalized streaming event sequence, enumerated in source order with caller cancellation and failure propagation governed by StreamAsync.
IQuarantineLedgerUAIX.LmRuntime.Abstractions
1 member
Writes append-only records for generated or unreviewed artifacts that require quarantine.
AppendAsync(UAIX.LmRuntime.Governance.QuarantineRecord,System.Threading.CancellationToken)
Appends the async to the current IQuarantineLedger state after validating capacity, ordering, and ownership constraints.
recordcancellationTokenReturns: A task that represents completion of the asynchronous operation.
IResourceEconomyEngineUAIX.LmRuntime.Abstractions
1 member
Advances the structural-control resource economy using explicit gain and cost inputs.
Evaluate(UAIX.LmRuntime.Governance.ResourceEconomyState,UAIX.LmRuntime.Governance.ResourceEconomyInput,UAIX.LmRuntime.Governance.ResourceEconomyPolicy)
Evaluates the supplied state against the supplied policy and bounded observation state.
stateinputpolicyReturns: The ResourceEconomyTransition result produced by IResourceEconomyEngine.Evaluate for this contract: Evaluates the supplied state against the supplied policy and bounded observation state. It is published only after all documented validation and ownership transitions succeed.
IReviewGatePolicyUAIX.LmRuntime.Abstractions
1 member
Evaluates slow-loop review gates before consequential runtime work proceeds.
EvaluateAsync(UAIX.LmRuntime.Governance.ReviewGateRequest,System.Threading.CancellationToken)
Evaluates whether a request can continue in the automatic lane.
requestcancellationTokenReturns: An asynchronous ValueTask<ReviewGateDecision> that completes with the result of IReviewGatePolicy.EvaluateAsync: Evaluates whether a request can continue in the automatic lane. Fault and cancellation states are propagated without a successful partial result.
IRuntimeBudgetGovernorUAIX.LmRuntime.Abstractions
1 member
Evaluates whether runtime work can proceed under the configured resource economy.
EvaluateAsync(UAIX.LmRuntime.Governance.RuntimeBudgetRequest,UAIX.LmRuntime.Governance.RuntimeBudget,System.Threading.CancellationToken)
Evaluates the requested runtime work against a resource budget.
requestbudgetcancellationTokenReturns: An asynchronous ValueTask<RuntimeBudgetDecision> that completes with the result of IRuntimeBudgetGovernor.EvaluateAsync: Evaluates the requested runtime work against a resource budget. Fault and cancellation states are propagated without a successful partial result.
IStructuralChangePlannerUAIX.LmRuntime.Abstractions
1 member
Evaluates proposed structural mutations through budget, no-op, evidence, and review gates.
PlanAsync(UAIX.LmRuntime.Governance.StructuralChangeRequest,UAIX.LmRuntime.Governance.RuntimeBudget,System.Threading.CancellationToken)
Plans the disposition for a proposed structural change.
requestbudgetcancellationTokenReturns: An asynchronous ValueTask<StructuralChangeDecision> that completes with the result of IStructuralChangePlanner.PlanAsync: Plans the disposition for a proposed structural change. Fault and cancellation states are propagated without a successful partial result.
IStructuralOperatorEngineUAIX.LmRuntime.Abstractions
1 member
Converts resource and claim-boundary decisions into an auditable structural operator receipt.
DecideAsync(UAIX.LmRuntime.Governance.RuntimeBudgetDecision,UAIX.LmRuntime.Governance.ClaimBoundaryDecision,System.Threading.CancellationToken)
Selects the structural operator for the current decision context.
budgetDecisionclaimBoundaryDecisioncancellationTokenReturns: An asynchronous ValueTask<GovernanceDecisionReceipt> that completes with the result of IStructuralOperatorEngine.DecideAsync: Selects the structural operator for the current decision context. Fault and cancellation states are propagated without a successful partial result.
IStructuralPhaseDetectorUAIX.LmRuntime.Abstractions
1 member
Classifies the current structural regime from bounded fast-loop measurements.
Detect(UAIX.LmRuntime.Governance.StructuralObservationWindow,UAIX.LmRuntime.Governance.StructuralPhasePolicy)
Classifies one observation window using deterministic threshold precedence.
windowpolicyReturns: The StructuralPhaseAssessment result produced by IStructuralPhaseDetector.Detect for this contract: Classifies one observation window using deterministic threshold precedence. It is published only after all documented validation and ownership transitions succeed.
ITeleodynamicControlPlaneUAIX.LmRuntime.Abstractions
1 member
Coordinates the resource, proposal, closure, phase, claim, and trace components on a slow timescale.
Evaluate(UAIX.LmRuntime.Governance.TeleodynamicControlRequest)
Evaluates one complete control cycle without mutating model weights, tokenizer state, or generated output.
requestReturns: The phase, closure, structural decision, claim decision when present, and tamper-evident trace entry.
ITeleodynamicDecisionEngineUAIX.LmRuntime.Abstractions
1 member
Selects a bounded structural proposal or explicit no-op using resource and evidence constraints.
Decide(string,System.Collections.Generic.IReadOnlyList<UAIX.LmRuntime.Governance.StructuralProposal>,UAIX.LmRuntime.Governance.ResourceEconomyState,UAIX.LmRuntime.Governance.ResourceEconomyPolicy,UAIX.LmRuntime.Governance.TeleodynamicDecisionPolicy,System.DateTimeOffset)
Evaluates the proposal set and returns one deterministic, no-op-aware decision.
decisionIdproposalsstateresourcePolicydecisionPolicycreatedUtcReturns: The TeleodynamicDecision result produced by ITeleodynamicDecisionEngine.Decide for this contract: Evaluates the proposal set and returns one deterministic, no-op-aware decision. It is published only after all documented validation and ownership transitions succeed.
ITeleodynamicTraceChainUAIX.LmRuntime.Abstractions
3 members
Maintains an append-only, SHA-256-linked trace of bounded structural-control decisions.
Append(UAIX.LmRuntime.Governance.TeleodynamicTraceRequest)
Appends one canonical event to the trace.
requestReturns: The immutable trace entry assigned to the event.
Snapshot
Gets an immutable snapshot of the current trace entries.
Returns: The current trace entries in ascending sequence order.
Verify(System.Collections.Generic.IReadOnlyList<UAIX.LmRuntime.Governance.TeleodynamicTraceEntry>)
Verifies an arbitrary trace snapshot without mutating the current chain.
entriesReturns: The first detected chain error or a valid result.
ITokenizerUAIX.LmRuntime.Abstractions
6 members
Defines tokenization behavior for runtime token budgeting and model parity work.
Name
Gets the tokenizer name.
CountTokens(string)
Counts tokens in a single text value.
textReturns: The int value computed by ITokenizer.CountTokens for this contract: Counts tokens in a single text value. Range, finite-value, and overflow checks are completed before the value is returned.
CountTokens(System.Collections.Generic.IEnumerable<UAIX.LmRuntime.Contracts.LlmMessage>)
Counts tokens across a set of model messages.
messagesReturns: The TokenCountResult result produced by ITokenizer.CountTokens for this contract: Counts tokens across a set of model messages. It is published only after all documented validation and ownership transitions succeed.
Decode(System.Collections.Generic.IEnumerable<int>)
Decodes token identifiers into text when the tokenizer has a vocabulary.
tokenIdsReturns: The decoded text produced from the validated token sequence in the original sequence order.
Encode(string,bool,bool)
Encodes text into token identifiers when the tokenizer has a vocabulary.
textaddBosaddEosReturns: An ordered read-only collection of token identifiers produced by the configured tokenizer.
Tokenize(string)
Tokenizes the supplied text with the configured metadata and preserves deterministic token order.
textReturns: An ordered read-only collection of token text values produced by the configured tokenizer.
IUaiMemoryStoreUAIX.LmRuntime.Abstractions
2 members
Defines append and query behavior for.uai-backed runtime memory.
AppendAsync(UAIX.LmRuntime.Contracts.UaiMemoryEntry,System.Threading.CancellationToken)
Appends the async to the current IUaiMemoryStore state after validating capacity, ordering, and ownership constraints.
entrycancellationTokenReturns: A task that completes when the entry has been written.
ReadAsync(UAIX.LmRuntime.Contracts.MemoryQuery,System.Threading.CancellationToken)
Reads the async from the current IUaiMemoryStore state using the component's validated representation.
querycancellationTokenReturns: An asynchronous ValueTask<IReadOnlyList<UaiMemoryEntry>> that completes with the result of IUaiMemoryStore.ReadAsync: Reads the async from the current IUaiMemoryStore state using the component's validated representation. Fault and cancellation states are propagated without a successful partial result.
RuntimePackageVersionUAIX.LmRuntime.Abstractions
2 members
Provides the runtime package version emitted by the centrally configured assembly metadata.
Package projects obtain their version from Directory.Build.props. Runtime components should use this type instead of repeating a version literal, which keeps evidence, session, CLI, and governance records aligned with the assembly that produced them.
Current
Gets the normalized three-part package version of the active runtime distribution.
Resolve(System.Reflection.Assembly)
Resolves a normalized three-part package version from an assembly identity.
assemblyReturns: A major.minor.build version string, or 0.0.0 when the assembly has no version metadata.
AdapterStatusUAIX.LmRuntime.Contracts
3 members
Represents normalized adapter status information.
Message
Gets a normalized warning or diagnostic message.
RequestId
Gets the provider request identifier, if supplied by the backend.
StatusCode
Gets the provider status code, if applicable.
FinishReasonUAIX.LmRuntime.Contracts
8 members
Identifies why an inference response stopped.
Cancelled
The request was cancelled.
ContentFilter
The runtime stopped generation because content was filtered.
Error
The backend reported an execution error.
Length
The model hit the configured maximum output token budget.
PolicyDenied
The runtime selected no-op because policy, budget, or claim-boundary rules blocked automatic execution.
Stop
The model naturally stopped.
ToolCall
The model emitted or requested a tool call.
Unknown
The provider or backend did not return a reason.
InferenceRequestUAIX.LmRuntime.Contracts
14 members
Represents a provider-neutral inference request.
ConversationId
Gets the conversation identifier when one is present.
MaxOutputTokens
Gets the maximum output token budget.
Messages
Gets the message sequence.
Metadata
Gets caller-supplied metadata propagated to adapters and diagnostics.
Model
Gets the requested model identifier.
ResponseFormat
Gets the requested response format.
Seed
Gets the deterministic sampler seed when one is present.
StopSequences
Gets stop sequences used to terminate generation.
Temperature
Gets the sampling temperature.
ToolChoice
Gets tool selection guidance.
Tools
Gets tool definitions available to the model.
TopK
Gets the top-k sampling cutoff when one is present.
TopP
Gets the nucleus sampling probability cutoff.
UseMemory
Gets a value indicating whether.uai memory should be injected before execution.
InferenceResponseUAIX.LmRuntime.Contracts
11 members
Represents a normalized inference response.
AdapterStatus
Gets normalized adapter status information.
ConversationId
Gets the conversation identifier when one is present.
CreatedUtc
Gets the UTC creation timestamp.
FinishReason
Gets the legacy textual finish reason.
FinishReasonKind
Gets the strongly typed finish reason.
GovernanceReceipt
Gets the governance receipt emitted by budget or claim-boundary policy.
Model
Gets the resolved model identifier.
OutputText
Gets the output text.
Provider
Gets the provider or backend name.
ResponseId
Gets the response identifier.
Usage
Gets normalized usage data.
InferenceUsageUAIX.LmRuntime.Contracts
4 members
Represents normalized model usage data.
CachedInputTokens
Gets the provider-cached input token count when available.
EstimatedCostMicros
Gets the estimated cost in one-millionth currency units, if known.
InputTokens
Gets the input token count.
OutputTokens
Gets the output token count.
LlmMessageUAIX.LmRuntime.Contracts
8 members
Represents a canonical chat or completion message.
Content
Gets the text content for the message.
Role
Gets the message role.
ToolCallId
Gets the tool call identifier associated with a tool message when one is present.
Assistant(string)
Creates an immutable assistant-role LLM message from caller-supplied content.
contentReturns: A new assistant-role message whose content is never null.
Developer(string)
Creates an immutable developer-role LLM message from caller-supplied content.
contentReturns: A new developer-role message whose content is never null.
System(string)
Creates an immutable system-role LLM message from caller-supplied content.
contentReturns: A new system-role message whose content is never null.
Tool(string,string)
Creates an immutable tool-role LLM message correlated to the supplied tool call.
toolCallIdcontentReturns: A new tool-role message containing the supplied correlation identifier and non-null content.
User(string)
Creates an immutable user-role LLM message from caller-supplied content.
contentReturns: A new user-role message whose content is never null.
LlmRoleUAIX.LmRuntime.Contracts
5 members
Identifies the role of a message in a canonical inference request.
Assistant
Assistant message content.
Developer
Developer-level instruction context.
System
System-level instruction context.
Tool
Tool input or output content.
User
End-user message content.
MemoryQueryUAIX.LmRuntime.Contracts
3 members
Represents a query against.uai memory entries.
ConversationId
Gets the conversation identifier filter when one is present.
MaxEntries
Gets the maximum number of entries to return.
Text
Gets full-text query text when one is present.
ModelDescriptorUAIX.LmRuntime.Contracts
6 members
Describes a model visible to the runtime.
Capabilities
Gets capability names exposed by the model.
ContextLength
Gets the maximum context length in tokens.
IsLocal
Gets a value indicating whether the model executes locally.
ModelId
Gets the model identifier.
Provider
Gets the provider or backend name.
SupportsStreaming
Gets a value indicating whether streaming is supported.
ProviderErrorUAIX.LmRuntime.Contracts
4 members
Represents a normalized adapter or provider error.
Code
Gets the normalized error code.
Message
Gets the error message.
Retriable
Gets a value indicating whether retry may be safe.
RetryAfter
Gets the suggested retry delay when available.
ResponseFormatUAIX.LmRuntime.Contracts
3 members
Describes structured output requirements for a response.
JsonSchema
Gets the JSON schema document used when UAIX.LmRuntime.Contracts.ResponseFormat.Kind is UAIX.LmRuntime.Contracts.ResponseFormatKind.JsonSchema.
Kind
Gets the response format kind.
Strict
Gets a value indicating whether the backend should enforce strict schema adherence when supported.
ResponseFormatKindUAIX.LmRuntime.Contracts
3 members
Identifies the canonical output format mode.
JsonObject
JSON object response.
JsonSchema
JSON schema-constrained response.
Text
Free-form text response.
RuntimeOptionsUAIX.LmRuntime.Contracts
24 members
Defines runtime orchestration settings.
AvailableResourceBudget
Gets the available resource budget used by the default governor.
ClaimBoundaryRules
Gets additional claim-boundary rules used by the default claim policy.
ConstraintRules
Gets additional request-side constraint rules used by the default constraint policy.
DefaultModel
Gets the default model identifier.
EnableClaimBoundaryPolicy
Gets a value indicating whether generated text is evaluated against claim-boundary rules.
EnableConstraintPolicy
Gets a value indicating whether request-side constraint rules are evaluated before adapter execution.
EnableReviewGatePolicy
Gets a value indicating whether slow-loop review gates are evaluated before execution.
EnableTeleodynamicGovernance
Gets a value indicating whether Teleodynamic governance gates are evaluated before execution.
FailOnEvidenceLedgerError
Gets a value indicating whether ledger append errors should fail inference.
MaxContextTokens
Gets the maximum context tokens accepted by the orchestrator before adapter execution.
MaxMemoryCharacters
Gets the maximum memory characters injected into the system context.
MaxMemoryEntries
Gets the maximum number of memory entries injected into a request.
MaxToolDefinitions
Gets the maximum number of tool definitions exposed to a request.
MaxUncertaintyScore
Gets the maximum uncertainty score accepted in the automatic lane.
MemoryEntryCost
Gets the resource weight assigned to each injected memory entry.
QuarantineGeneratedNeedsHumanReview
Gets a value indicating whether generated items needing human review are written to the quarantine ledger.
ReturnNoOpResponseOnClaimBoundaryViolation
Gets a value indicating whether claim-boundary violations return a no-op response.
ReturnNoOpResponseOnGovernanceDenial
Gets a value indicating whether budget-denied requests return a no-op response instead of throwing.
ReturnNoOpResponseOnReviewGateRequired
Gets a value indicating whether review-gated requests return a no-op response instead of throwing.
ReviewMinuteCost
Gets the resource weight assigned to each declared review minute.
TokenCostWeight
Gets the resource weight assigned to each token.
ToolDefinitionCost
Gets the resource weight assigned to each exposed tool definition.
UncertaintyCost
Gets the resource weight assigned to normalized uncertainty.
ViabilityFloor
Gets the minimum resource reserve below which automatic actions are blocked.
StreamingDeltaUAIX.LmRuntime.Contracts
8 members
Represents a normalized streaming inference event.
CreatedUtc
Gets the UTC event timestamp.
Error
Gets an error message for error events.
ResponseId
Gets the response identifier.
Text
Gets the text delta for text events.
ToolArgumentsDelta
Gets a tool-call argument delta.
ToolCallId
Gets the tool-call identifier for tool deltas.
Type
Gets the event type.
Usage
Gets the usage payload when available.
StreamingEventTypeUAIX.LmRuntime.Contracts
6 members
Identifies the type of a streaming inference event.
Completed
The stream completed successfully.
Delta
The event contains text delta content.
Error
The stream completed with an error.
Start
The stream has started.
ToolCallDelta
The event contains a tool-call delta.
Usage
The event contains usage information.
TokenCountResultUAIX.LmRuntime.Contracts
2 members
Represents tokenizer count output.
TokenCount
Gets the token count.
Tokenizer
Gets the tokenizer name.
ToolChoiceUAIX.LmRuntime.Contracts
2 members
Defines runtime guidance for model tool selection.
Automatic
Gets a value indicating whether tool selection is automatic.
RequiredToolName
Gets a required tool name when a specific tool must be used.
ToolDefinitionUAIX.LmRuntime.Contracts
3 members
Defines a callable tool exposed through the canonical inference contract.
Description
Gets the tool description.
JsonSchema
Gets the JSON schema document used to validate tool arguments.
Name
Gets the tool name.
UaiFileMemoryOptionsUAIX.LmRuntime.Contracts
6 members
Defines settings for the.uai file memory store.
IncludeShortTermMemoryFiles
Gets a value indicating whether short-term.sui memory files are included when reading memory.
MemoryFileName
Gets the memory file name.
RootDirectory
Gets the root directory for.uai memory files.
ShortTermMemoryDirectoryName
Gets the directory name under the.uai root that contains short-term.sui memory files.
ShortTermMemoryFilePattern
Gets the file search pattern used to discover short-term memory units.
SkipInvalidEntries
Gets a value indicating whether invalid entries should be skipped instead of throwing.
UaiMemoryEntryUAIX.LmRuntime.Contracts
6 members
Represents a persisted.uai memory entry.
Content
Gets the persisted memory content.
ContentSha256
Gets the SHA-256 hash of normalized content.
ConversationId
Gets the associated conversation identifier.
CreatedUtc
Gets the UTC creation timestamp.
EntryId
Gets the memory entry identifier.
Role
Gets the memory role.
RuntimeTelemetryNamesUAIX.LmRuntime.Diagnostics
16 members
Defines stable telemetry names emitted by the runtime core.
BlockedActionCounter
Teleodynamic blocked action counter metric name.
BudgetDecisionCounter
Teleodynamic budget decision counter metric name.
ClaimBoundaryViolationCounter
Claim-boundary violation counter metric name.
ConstraintDecisionCounter
Request-side constraint decision counter metric name.
ConstraintViolationCounter
Request-side constraint violation counter metric name.
EvidenceReceiptCounter
Evidence receipt counter metric name.
FailureCounter
Failure counter metric name.
MemoryFirewallDecisionCounter
Memory-firewall decision counter metric name.
MemoryQuarantineCounter
Memory-firewall quarantine counter metric name.
QuarantineRecordCounter
Quarantine record counter metric name.
RequestCounter
Request counter metric name.
RequestDurationMs
Request duration histogram metric name.
ReviewGateDecisionCounter
Slow-loop review-gate decision counter metric name.
SourceName
The ActivitySource and Meter name.
TeleodynamicControlDecisionCounter
Explicit teleodynamic control-cycle decision counter metric name.
TeleodynamicNoOpCounter
Explicit teleodynamic control-cycle no-op counter metric name.
BudgetDecisionStatusUAIX.LmRuntime.Governance
4 members
Identifies the outcome of a runtime budget evaluation.
Approved
The requested action is affordable under the configured viability budget.
Blocked
The requested action is blocked and should not execute automatically.
NoOpSelected
No-op was selected as the dominant safe action.
Unknown
The decision has not been evaluated.
ClaimBoundaryDecisionUAIX.LmRuntime.Governance
6 members
Represents the result of applying claim-boundary rules to text.
Allowed
Gets a value indicating whether the text stayed within claim boundaries.
CreatedUtc
Gets the UTC decision timestamp.
Message
Gets a bounded decision message.
NoOpReason
Gets the selected no-op reason when the decision blocks output.
SafeReplacementText
Gets a replacement text that can be emitted in automatic lanes.
ViolatedRuleIds
Gets violated rule identifiers.
ClaimBoundaryRuleUAIX.LmRuntime.Governance
5 members
Defines a bounded claim-boundary rule applied to generated text or runtime claims.
Message
Gets the human-readable rule message.
NoOpReason
Gets the no-op reason associated with this rule.
Pattern
Gets the case-insensitive text pattern that triggers the rule.
RuleId
Gets the stable rule identifier.
Severity
Gets the rule severity.
ClaimBoundarySeverityUAIX.LmRuntime.Governance
3 members
Identifies how strongly a claim-boundary rule should affect runtime behavior.
Advisory
The rule adds advisory context only.
Block
The rule should block or replace output in automatic lanes.
Warning
The rule should be logged and surfaced for review.
ClaimLifecycleStatusUAIX.LmRuntime.Governance
6 members
Identifies the bounded evidence lifecycle assigned to a runtime or release claim.
Bounded
The claim is constrained to an explicit domain, digest, environment, and evidence scope.
Promoted
The bounded claim has received explicit human approval for its intended publication lane.
Raw
The claim has been captured but has not received an evidence review.
Rejected
The claim has been rejected and cannot be promoted without a new evidence cycle.
Restricted
The claim remains usable only under narrower restrictions than originally requested.
Reviewed
The claim and cited evidence have received an initial review.
ClaimStatusUAIX.LmRuntime.Governance
6 members
Identifies the evidence status assigned to a claim, generated artifact, or externally visible output.
ApprovedPublicOutcome
The artifact is an approved public outcome with reviewed evidence.
GeneratedNeedsHumanReview
The artifact was generated or transformed by automation and requires human review before promotion.
MachineReadableEvidence
The artifact is a machine-readable evidence payload intended for agents and due-diligence workflows.
PublicReadyTemplate
The artifact is a buyer-safe methodology template and does not claim a specific client outcome.
Quarantined
The artifact is quarantined and cannot be promoted automatically.
Unknown
No claim status was supplied.
ClaimTransitionDecisionUAIX.LmRuntime.Governance
5 members
Reports whether a requested claim-lifecycle transition is permitted by evidence and authority rules.
Allowed
Gets a value indicating whether the requested transition is allowed.
ClaimId
Gets the stable claim identifier.
EffectiveStatus
Gets the status that remains effective after policy evaluation.
Message
Gets the bounded policy explanation.
NoOpReason
Gets the no-op reason when the requested transition is denied.
ClaimTransitionRequestUAIX.LmRuntime.Governance
11 members
Describes one requested transition in the explicit claim-evidence lifecycle.
AuditTracePresent
Gets a value indicating whether an auditable decision trace supports the claim.
BoundaryViolation
Gets a value indicating whether a claim-boundary violation was identified.
ClaimId
Gets the stable claim identifier.
CurrentStatus
Gets the currently recorded claim lifecycle status.
DomainBounded
Gets a value indicating whether the claim has an explicit domain and applicability boundary.
HumanApproved
Gets a value indicating whether an authorized human reviewer approved the requested promotion.
IndependentEvidenceCount
Gets the number of independent evidence references attached to the claim.
ProximityOnlyEvidence
Gets a value indicating whether the transition is justified only by association with a nearby approved claim.
Rationale
Gets the bounded reviewer rationale attached to restrictive or terminal transitions.
RequestedStatus
Gets the requested claim lifecycle status.
ResourceTracePresent
Gets a value indicating whether a candidate-bound resource trace supports the claim.
ConstraintClosureReportUAIX.LmRuntime.Governance
6 members
Reports whether active work and constraint nodes participate in closed maintenance cycles.
Closed
Gets a value indicating whether every active work and constraint node participates in a closed cycle.
Diagnostics
Gets validation diagnostics for duplicate identifiers, missing endpoints, or invalid values.
OpenNodeIds
Gets active node identifiers that do not participate in a closed directed cycle.
RegistryId
Gets the analyzed registry identifier.
RetirementCandidateIds
Gets active nodes marked for bounded retirement because maintenance burden exceeds evidence strength.
StronglyConnectedComponents
Gets strongly connected components in deterministic node-identifier order.
ConstraintDecisionUAIX.LmRuntime.Governance
8 members
Represents the result of request-side constraint evaluation.
Allowed
Gets a value indicating whether automatic execution may proceed.
CreatedUtc
Gets the UTC decision timestamp.
EvidenceReferences
Gets evidence references associated with this decision.
MatchedRuleIds
Gets matched rule identifiers.
Message
Gets a bounded explanation suitable for logs and receipts.
NoOpReason
Gets the selected no-op reason when automatic execution is blocked.
RequiresReview
Gets a value indicating whether the resulting artifact requires review before promotion.
SafeReplacementText
Gets the safe replacement text when no-op is selected.
ConstraintEdgeUAIX.LmRuntime.Governance
4 members
Defines one directed maintenance or channeling relationship in a work-constraint graph.
Relationship
Gets the bounded relationship label, such as maintains, channels, depends-on, or verifies.
SourceNodeId
Gets the source node identifier.
Strength
Gets the normalized relationship strength in the inclusive range from zero through one.
TargetNodeId
Gets the target node identifier.
ConstraintNodeUAIX.LmRuntime.Governance
6 members
Defines one bounded node in the work-constraint closure graph.
EvidenceStrength
Gets the non-negative evidence strength associated with the node.
Kind
Gets the semantic role of the node.
MaintenanceBurden
Gets the non-negative recurring maintenance burden attributed to the node.
Metadata
Gets bounded metadata attached to the node.
NodeId
Gets the stable node identifier.
Status
Gets the lifecycle state of the node.
ConstraintNodeKindUAIX.LmRuntime.Governance
4 members
Identifies the role a node plays in a work-constraint registry.
Constraint
The node represents a constraint that channels or limits work.
Evidence
The node represents evidence that supports a work or constraint decision.
Unknown
No node role was supplied.
Work
The node represents work that consumes resources and maintains constraints.
ConstraintNodeStatusUAIX.LmRuntime.Governance
3 members
Identifies the current lifecycle state of a work-constraint registry node.
Active
The node is active and participates in closure analysis.
Frozen
The node is frozen and remains auditable but cannot be expanded automatically.
Retired
The node is retired and excluded from active closure analysis.
ConstraintRegistrySnapshotUAIX.LmRuntime.Governance
4 members
Captures one immutable work-constraint graph supplied to closure analysis.
CapturedUtc
Gets the UTC time at which the registry snapshot was captured.
Edges
Gets the directed graph edges.
Nodes
Gets the graph nodes.
RegistryId
Gets the stable registry identifier.
ConstraintRuleUAIX.LmRuntime.Governance
5 members
Defines an evidence-bounded runtime constraint rule.
Message
Gets the bounded explanation for the decision receipt.
Pattern
Gets the case-insensitive substring pattern matched by the default policy.
RuleId
Gets the stable rule identifier.
Scope
Gets the inspected request surface.
Severity
Gets the severity applied when the pattern is matched.
ConstraintScopeUAIX.LmRuntime.Governance
5 members
Identifies the request surface inspected by a constraint rule.
All
Inspect all supported request surfaces.
Messages
Inspect message content.
Metadata
Inspect metadata keys and values.
ResponseFormat
Inspect response-format hints and schemas.
Tools
Inspect tool names, descriptions, and schemas.
ConstraintSeverityUAIX.LmRuntime.Governance
3 members
Identifies how strongly a runtime constraint rule affects automatic execution.
Block
The rule blocks automatic execution and selects no-op.
Information
The rule only records an informational observation.
ReviewRequired
The rule permits execution but marks the artifact as needing review before promotion.
EvidenceReferenceUAIX.LmRuntime.Governance
5 members
Identifies a source used to justify a governance decision.
Note
Gets a bounded note describing why the evidence is relevant.
Path
Gets the evidence path or stable identifier.
Sha256
Gets the SHA-256 hash when the evidence is file-backed.
Source
Gets the evidence source name.
Span
Gets the line, byte, or section span when one is present.
GovernanceActionKindUAIX.LmRuntime.Governance
8 members
Identifies a Teleodynamic structural operator selected by the runtime control plane.
Add
Add a bounded structure such as a tool, memory edge, adapter, or prompt template.
Freeze
Freeze a structure so it remains auditable while automatic expansion and promotion are disabled.
Merge
Merge overlapping structures after evidence shows lower maintenance burden.
NoOp
Select no mutation because evidence, budget, or claim boundaries do not justify action.
Reactivate
Reactivate a previously frozen structure after fresh evidence repays its maintenance burden.
Retire
Retire a structure whose maintenance burden is no longer justified.
Split
Split a structure into narrower lanes when evidence shows ambiguous or overloaded behavior.
Unknown
No operator was specified.
GovernanceDecisionReceiptUAIX.LmRuntime.Governance
14 members
Represents an immutable evidence-bearing receipt for a runtime governance decision.
Action
Gets the selected structural operator.
BudgetDecision
Gets the budget decision that contributed to the receipt.
ClaimBoundaryDecision
Gets the claim-boundary decision that contributed to the receipt.
ConstraintDecision
Gets the request-side constraint decision that contributed to the receipt.
ConversationId
Gets the conversation identifier when one is present.
CreatedUtc
Gets the UTC receipt timestamp.
EvidenceReferences
Gets evidence references associated with the receipt.
Metadata
Gets bounded metadata for downstream audit and telemetry correlation.
Model
Gets the associated model identifier.
NoOpReason
Gets the selected no-op reason when applicable.
PackageVersion
Gets the package version that emitted the receipt.
QuarantineRecord
Gets the quarantine record emitted for the receipt, when one was written.
ReceiptId
Gets the stable receipt identifier.
ReviewGateDecision
Gets the slow-loop review-gate decision that contributed to the receipt.
MemoryFirewallDecisionUAIX.LmRuntime.Governance
7 members
Represents the memory-firewall disposition for one packet.
CreatedUtc
Gets the UTC time at which the firewall decision was produced.
Message
Gets a bounded explanation of the disposition.
PacketId
Gets the packet identifier.
PromotionAllowed
Gets a value indicating whether the requested promotion was approved.
Reason
Gets the primary firewall reason.
Status
Gets the resulting firewall status.
TargetTier
Gets the target memory tier when promotion is allowed.
MemoryFirewallPolicyUAIX.LmRuntime.Governance
8 members
Defines source, freshness, contradiction, entropy, and review boundaries for memory promotion.
MaximumEntropyScore
Gets the maximum entropy accepted in the automatic memory lane.
MaximumLongTermAge
Gets the maximum age of long-term packets before re-review is required.
MaximumMediumTermAge
Gets the maximum age of medium-term packets before retirement.
MaximumShortTermAge
Gets the maximum age of short-term packets before retirement.
MinimumLongTermEvidenceReferences
Gets the minimum evidence count required for durable long-term promotion.
MinimumTrustScore
Gets the minimum source trust accepted in the automatic memory lane.
RequireHumanReviewForLongTerm
Gets a value indicating whether long-term promotion requires explicit human review.
ReviewContradictions
Gets a value indicating whether contradiction always routes a packet to review.
MemoryFirewallReasonUAIX.LmRuntime.Governance
11 members
Identifies the primary reason for a memory-firewall disposition.
Contradiction
The packet conflicts with one or more active memory references.
CorruptPacket
The packet was explicitly marked corrupt.
DigestMismatch
The observed content digest does not match the packet declaration.
EvidenceRequired
The requested promotion does not carry sufficient evidence references.
ExcessiveEntropy
The packet entropy or uncertainty exceeds the automatic-lane threshold.
InvalidDigest
A declared or observed content digest is not a valid SHA-256 value.
LowTrust
The packet source trust score is below the configured threshold.
MissingSource
The packet does not identify a bounded source.
None
No firewall restriction was required.
ReviewRequired
The requested tier or disposition requires explicit review.
StalePacket
The packet exceeded its freshness or expiry boundary.
MemoryFirewallRequestUAIX.LmRuntime.Governance
4 members
Describes the requested disposition and review proof evaluated by the memory firewall.
HumanReviewed
Gets a value indicating whether explicit human review was completed.
Packet
Gets the packet to evaluate.
RequestedStatus
Gets the requested packet status.
ReviewReference
Gets a bounded review reference when human review was completed.
MemoryPacketUAIX.LmRuntime.Governance
14 members
Describes a privacy-preserving memory packet using provenance and integrity metadata rather than raw content.
ContradictionReferences
Gets bounded references to memories or evidence involved in a contradiction.
CreatedUtc
Gets the UTC packet creation time.
DeclaredContentSha256
Gets the content SHA-256 declared by the producer.
EntropyScore
Gets the normalized entropy or unresolved uncertainty score.
EvidenceReferences
Gets evidence references supporting provenance, trust, or contradiction analysis.
ExpiresUtc
Gets the explicit UTC expiry time when one is present.
HasContradiction
Gets a value indicating whether the packet contradicts active memory.
IsCorrupt
Gets a value indicating whether an upstream integrity check marked the packet corrupt.
Metadata
Gets bounded metadata that excludes raw memory content.
ObservedContentSha256
Gets the independently observed content SHA-256 supplied to the firewall.
PacketId
Gets the stable packet identifier.
Source
Gets the bounded provenance source.
Tier
Gets the requested source-routed memory tier.
TrustScore
Gets the normalized trust score assigned to the packet source.
MemoryPacketStatusUAIX.LmRuntime.Governance
6 members
Identifies the current firewall disposition of a memory packet.
Candidate
The packet has not yet passed a firewall decision.
Promoted
The packet may be persisted in the approved target tier.
Quarantined
The packet is isolated from active retrieval while evidence or integrity is unresolved.
Rejected
The packet is invalid or unsafe to retain as active memory.
Retired
The packet is no longer eligible for active retrieval because it expired or was superseded.
ReviewRequired
The packet is structurally valid but requires an explicit human or policy review.
MemoryTierUAIX.LmRuntime.Governance
3 members
Identifies a source-routed memory tier managed by the memory firewall.
LongTerm
Durable memory that requires provenance, contradiction checks, and governed promotion.
MediumTerm
Reviewable working memory retained across a bounded sequence of interactions.
ShortTerm
Ephemeral context retained only for the immediate execution window.
NoOpReasonUAIX.LmRuntime.Governance
16 members
Identifies why the runtime selected no-op.
ClaimBoundaryViolation
The request or output crosses a claim boundary.
ConstraintViolation
The request crossed a configured runtime constraint.
ExcessiveUncertainty
The uncertainty score is too high for an automatic action.
HardLimitExceeded
The request exceeds a hard token, memory, or tool-count limit.
InsufficientBudget
The requested work would exceed the available runtime budget.
IrreversibleAction
The proposed action lacks a documented rollback path required for automatic execution.
MaintenanceCycleOpen
The work-constraint registry contains active structure outside a closed maintenance cycle.
NoFeasibleImprovement
No feasible proposal produced enough bounded benefit to dominate explicit no-op.
None
No no-op reason applies.
PhaseUnstable
The current structural phase is unstable and does not permit the requested automatic action.
PromotionEvidenceMissing
The requested claim promotion lacks candidate-bound evidence required by the lifecycle policy.
ProximityOnlyEvidence
The requested claim promotion relies only on proximity to another approved claim.
ReviewRequired
The requested work requires human review before promotion.
UnsupportedAction
The requested operator is not supported in the current lane.
ViabilityFloor
The requested work would cross the configured viability floor.
WeakEvidence
The evidence packet is too weak to justify a structural mutation.
QuarantineRecordUAIX.LmRuntime.Governance
11 members
Represents an append-only quarantine ledger record for generated or unreviewed runtime artifacts.
ArtifactKind
Gets the artifact kind associated with the quarantine record.
ClaimStatus
Gets the evidence status assigned to the quarantined item.
ConversationId
Gets the conversation identifier when one is present.
CreatedUtc
Gets the UTC record timestamp.
EvidenceReferences
Gets evidence references associated with the quarantined item.
Metadata
Gets bounded metadata for downstream review tools.
Model
Gets the associated model identifier.
PackageVersion
Gets the package version that emitted the quarantine record.
Reason
Gets the reason the item was quarantined or review-gated.
RecordId
Gets the stable quarantine record identifier.
ReviewGateStatus
Gets the review-gate status that caused the record.
ResourceEconomyInputUAIX.LmRuntime.Governance
13 members
Describes the measured benefits and burdens of one observation or proposed structural action.
ActionCost
Gets the estimated one-time cost of validating and applying the action.
CorrelationId
Gets the stable correlation identifier copied into the transition record.
CountAsObservation
Gets a value indicating whether the committed transition represents a fast-loop observation.
CountAsStructuralReservation
Gets a value indicating whether the committed transition represents a structural reservation.
EnergyCost
Gets the estimated energy or compute cost associated with the action.
EvidenceReferences
Gets evidence references supporting the gain and cost measurements.
MaintenanceCost
Gets the estimated recurring cost of retaining and reviewing the resulting structure.
MemoryCost
Gets the estimated memory cost associated with the action.
PredictiveGain
Gets observed predictive-loss reduction expressed as a non-negative raw gain.
ReviewCost
Gets the estimated human-review cost associated with the action.
TransitionUtc
Gets the zero-offset UTC timestamp assigned to the transition.
UncertaintyCost
Gets an explicit uncertainty cost already expressed in resource units.
UncertaintyScore
Gets normalized proposal uncertainty in the inclusive range from zero through one.
ResourceEconomyPolicyUAIX.LmRuntime.Governance
13 members
Defines the bounded resource-economy policy used when structural proposals and observations are evaluated.
The policy makes predictive gain, action cost, maintenance burden, compute, memory, review, uncertainty, viability, and capacity explicit so a structural action cannot be justified by accuracy alone.
ActionCostWeight
Gets the multiplier applied to one-time action cost.
Capacity
Gets the maximum resource balance retained after a transition.
DecayRate
Gets the fraction of the current resource balance removed as natural decay during each observation.
EnergyCostWeight
Gets the multiplier applied to estimated compute or energy cost.
InitialResource
Gets the resource balance assigned to a newly created stateful economy.
MaintenanceCostWeight
Gets the multiplier applied to recurring maintenance cost.
MemoryCostWeight
Gets the multiplier applied to memory cost.
MinimumNetGain
Gets the minimum positive net resource change required before growth is preferred over no-op.
PredictiveGainWeight
Gets the multiplier applied to measured predictive gain.
ReviewCostWeight
Gets the multiplier applied to human-review cost.
UncertaintyReserve
Gets the resource reserve charged for a fully uncertain proposal.
UncertaintyReserveRatio
Gets the fraction of the current balance protected in addition to the viability floor.
ViabilityFloor
Gets the minimum resource balance required for an automatically approved action.
ResourceEconomyStateUAIX.LmRuntime.Governance
16 members
Captures the endogenous resource state carried between fast observations and structural-control cycles.
This state is independent from model weights and inference tensors. It records bounded accounting context used by the slow-loop control plane and cannot alter deterministic parity mode without an explicit external actuator.
Capacity
Gets the configured capacity used to normalize resource-retention metrics.
CumulativeActionCost
Gets the cumulative weighted one-time action cost charged by the resource economy.
CumulativeDecay
Gets the cumulative endogenous decay charged by the resource economy.
CumulativeEnergyCost
Gets the cumulative weighted energy or compute cost charged by the resource economy.
CumulativeMaintenanceCost
Gets the cumulative weighted maintenance cost charged by the resource economy.
CumulativeMemoryCost
Gets the cumulative weighted memory cost charged by the resource economy.
CumulativePredictiveGain
Gets the cumulative weighted predictive gain accepted by the resource economy.
CumulativeReviewCost
Gets the cumulative weighted human-review cost charged by the resource economy.
CumulativeUncertaintyReserve
Gets the cumulative uncertainty reserve charged by the resource economy.
CurrentResource
Gets the current resource balance available to sustain runtime structure.
Cycle
Gets the monotonically increasing committed transition number.
ObservationCount
Gets the number of accepted fast-loop observations.
StructuralReservationCount
Gets the number of approved structural reservations.
UpdatedUtc
Gets the UTC time at which the state was produced.
ViabilityFloor
Gets the configured viability floor used by the current economy.
ViabilityMargin
Gets current resource minus the configured viability floor.
ResourceEconomyTransitionUAIX.LmRuntime.Governance
20 members
Reports the deterministic resource transition associated with an observation or structural proposal.
CorrelationId
Gets the observation or reservation identifier associated with the transition.
CreatedUtc
Gets the UTC time at which the transition was produced.
DecayCost
Gets the natural decay charged to the transition.
EffectiveViabilityFloor
Gets the effective viability boundary after the protected reserve is added to the policy floor.
EvidenceReferences
Gets the evidence references supporting the transition inputs.
Message
Gets the bounded diagnostic explaining the transition outcome.
NetChange
Gets the unconstrained net resource change before capacity clamping.
NextState
Gets the candidate state after gain, decay, costs, and capacity bounds are applied.
NoOpReason
Gets the no-op reason when the transition is not viable or does not repay its burden.
PreviousState
Gets the state supplied before the transition.
ProtectedReserve
Gets the resource reserve protected in proportion to the previous balance.
Viable
Gets a value indicating whether the transition remains above the configured viability floor.
WeightedActionCost
Gets the weighted one-time action cost.
WeightedCost
Gets the total weighted action, maintenance, compute, memory, review, and uncertainty cost.
WeightedEnergyCost
Gets the weighted compute or energy cost.
WeightedGain
Gets the weighted gain credited to the transition.
WeightedMaintenanceCost
Gets the weighted recurring maintenance cost.
WeightedMemoryCost
Gets the weighted memory cost.
WeightedReviewCost
Gets the weighted human-review cost.
WeightedUncertaintyCost
Gets the uncertainty cost and reserve charged to the transition.
ReviewGateDecisionUAIX.LmRuntime.Governance
9 members
Represents the result of slow-loop review gate evaluation.
Allowed
Gets a value indicating whether automatic execution may proceed.
CreatedUtc
Gets the UTC review-gate timestamp.
EvidenceReferences
Gets evidence references used by the review decision.
Message
Gets the bounded review-gate message.
Metadata
Gets bounded metadata for review and audit systems.
NoOpReason
Gets the no-op reason when automatic execution is blocked.
ReviewState
Gets the review-state label assigned to the work.
Status
Gets the review-gate status.
TriggeredRuleIds
Gets triggered review rule identifiers.
ReviewGateRequestUAIX.LmRuntime.Governance
9 members
Describes runtime work that may require slow-loop review before execution or promotion.
Action
Gets the requested structural operator.
ConversationId
Gets the conversation identifier when one is present.
CreatedUtc
Gets the UTC timestamp when the review request was created.
EstimatedReviewMinutes
Gets the estimated review effort in minutes.
EvidenceReferences
Gets evidence references used to justify the action.
Metadata
Gets bounded request metadata used by the policy.
Model
Gets the model identifier associated with the request.
ToolDefinitions
Gets the number of tool definitions exposed to the request.
UncertaintyScore
Gets the normalized uncertainty score declared by the caller or derived by the orchestrator.
ReviewGateStatusUAIX.LmRuntime.Governance
5 members
Identifies the slow-loop review gate disposition.
Approved
The work is already approved for the selected lane.
Blocked
The work is blocked by review policy and must select no-op.
NotRequired
No additional review is required for the selected lane.
ReviewRequired
Human review is required before promotion or mutation.
Unknown
No review decision has been made.
RuntimeBudgetUAIX.LmRuntime.Governance
12 members
Defines resource-economy limits used by the runtime budget governor.
AvailableResource
Gets the available resource budget for the evaluated action.
MaxInputTokens
Gets the maximum accepted input-token count before a hard limit block.
MaxMemoryEntries
Gets the maximum number of injected memory entries accepted before a hard limit block.
MaxOutputTokens
Gets the maximum accepted output-token count before a hard limit block.
MaxToolDefinitions
Gets the maximum number of tool definitions accepted before a hard limit block.
MaxUncertaintyScore
Gets the maximum uncertainty score accepted in an automatic lane.
MemoryEntryCost
Gets the resource cost assigned to each injected memory entry.
ReviewMinuteCost
Gets the resource cost assigned to each declared review minute.
TokenCostWeight
Gets the resource cost assigned to each token considered by the request.
ToolDefinitionCost
Gets the resource cost assigned to each exposed tool definition.
UncertaintyCost
Gets the resource cost assigned to uncertainty after normalization.
ViabilityFloor
Gets the minimum reserve below which automatic structural growth is blocked.
RuntimeBudgetDecisionUAIX.LmRuntime.Governance
10 members
Represents a resource-economy decision for a runtime action.
Action
Gets the selected or requested structural operator.
ActionCost
Gets the computed action cost.
Approved
Gets a value indicating whether the action may continue automatically.
AvailableResource
Gets the configured available resource value used during evaluation.
CreatedUtc
Gets the UTC decision timestamp.
EvidenceReferences
Gets evidence references used by the decision.
Message
Gets a bounded decision message.
NoOpReason
Gets the no-op reason when no-op was selected.
Status
Gets the decision status.
ViabilityFloor
Gets the configured viability floor used during evaluation.
RuntimeBudgetRequestUAIX.LmRuntime.Governance
12 members
Describes a request or structural action being evaluated by the runtime budget governor.
Action
Gets the requested structural operator.
ConversationId
Gets the conversation identifier associated with the action when one is present.
EstimatedReviewMinutes
Gets the expected human review burden in minutes.
EvidenceReferences
Gets evidence references associated with the decision.
InputTokens
Gets the input-token count after prompt and memory preparation.
MemoryEntries
Gets the number of memory entries injected into the prompt.
Model
Gets the model identifier associated with the action.
OutputTokens
Gets the requested output-token count.
RetrievalFanOut
Gets the retrieval fan-out declared by the caller or retriever.
Source
Gets a bounded source label for the evaluated action.
ToolDefinitions
Gets the number of tool definitions exposed to the model.
UncertaintyScore
Gets the normalized uncertainty score in the range zero to one.
StructuralChangeDecisionUAIX.LmRuntime.Governance
9 members
Represents the budget, review, and evidence disposition for a proposed structural change.
Action
Gets the selected structural operator.
BudgetDecision
Gets the resource-budget decision.
CreatedUtc
Gets the UTC decision timestamp.
GovernanceReceipt
Gets the governance receipt emitted for the decision.
Message
Gets the bounded decision message.
NoOpReason
Gets the no-op reason when no mutation may occur.
QuarantineRecord
Gets the quarantine record when the decision is held for review.
ReviewGateDecision
Gets the review-gate decision.
Status
Gets the decision status.
StructuralChangeDecisionStatusUAIX.LmRuntime.Governance
3 members
Identifies the disposition of a proposed structural change.
Approved
The proposal was approved for the caller's mutation lane.
NoOpSelected
No mutation is allowed.
RequiresReview
The proposal was converted to slow-loop review.
StructuralChangeRequestUAIX.LmRuntime.Governance
16 members
Describes a slow-loop structural change proposed for runtime configuration, memory, tools, prompts, or backend routing.
Action
Gets the requested structural operator.
ChangeId
Gets the caller-provided change identifier.
ClaimText
Gets claim text associated with the change, if any.
ConversationId
Gets the conversation affected by the change when one is present.
EstimatedOutputTokens
Gets the estimated generated-token cost of validation or rollback evidence.
EstimatedReviewMinutes
Gets the estimated human review minutes required before promotion.
EstimatedTokens
Gets the estimated token cost of validating or applying the change.
EvidenceReferences
Gets evidence references supporting the requested change.
MemoryEntries
Gets the number of memory entries affected by the change.
Metadata
Gets bounded metadata used for receipts and audit correlation.
Model
Gets the model affected by the change when one is present.
RetrievalFanOut
Gets the retrieval fan-out required to validate the change.
TargetKind
Gets the type of structure being changed.
TargetName
Gets the structure name or stable key.
ToolDefinitions
Gets the number of tool definitions affected by the change.
UncertaintyScore
Gets the normalized uncertainty score for the change.
StructuralObservationWindowUAIX.LmRuntime.Governance
10 members
Captures bounded fast-loop measurements used by the slow-loop structural phase detector.
ActionRate
Gets the normalized rate of structural actions in the current window.
CurrentComplexity
Gets the current normalized structural complexity.
CurrentLoss
Gets the current normalized predictive loss.
DriftScore
Gets the normalized cross-context or cross-window behavioral drift score.
MaintenancePressure
Gets the normalized recurring maintenance pressure.
PreviousComplexity
Gets the normalized structural complexity from the preceding window.
PreviousLoss
Gets the normalized predictive loss from the preceding window.
ReviewPressure
Gets the normalized human-review pressure associated with recent changes.
SampleCount
Gets the number of observations represented by the window.
ViabilityMargin
Gets the resource balance minus the configured viability floor.
StructuralPhaseUAIX.LmRuntime.Governance
7 members
Identifies the bounded structural regime inferred from a recent observation window.
Drifting
Behavior has changed materially across contexts or observation periods.
Growth
Loss is improving while bounded structural change remains economically viable.
OverStructured
Complexity and maintenance burden are growing without sufficient predictive improvement.
PhaseLocked
Loss, complexity, and action rate are stable within configured tolerances.
ResourceConstrained
The resource margin is too small to support additional automatic structure.
UnderStructured
Loss remains high while complexity is low and viable growth remains available.
Unknown
The observation window is too small or invalid for classification.
StructuralPhaseAssessmentUAIX.LmRuntime.Governance
5 members
Reports the structural phase and bounded reasoning derived from an observation window.
ComplexityDelta
Gets the current-minus-previous complexity delta.
Confidence
Gets the normalized confidence in the classification.
LossDelta
Gets the current-minus-previous loss delta.
Message
Gets the bounded explanation for the classification.
Phase
Gets the classified structural phase.
StructuralPhasePolicyUAIX.LmRuntime.Governance
11 members
Defines deterministic thresholds for structural phase classification.
ComplexityGrowthThreshold
Gets the complexity-growth threshold used to identify over-structured behavior.
DriftThreshold
Gets the drift score at or above which the phase is classified as drifting.
GrowthImprovementThreshold
Gets the minimum loss improvement required to classify a window as bounded growth.
HighLossThreshold
Gets the loss level above which a low-complexity system is considered under-structured.
LowComplexityThreshold
Gets the complexity level below which a high-loss system may be considered under-structured.
MaintenancePressureThreshold
Gets the maintenance-pressure threshold used to identify over-structured behavior.
MinimumSampleCount
Gets the minimum number of observations required for classification.
ReviewPressureThreshold
Gets the review-pressure threshold used to identify over-structured behavior.
StableActionRate
Gets the maximum action rate accepted as phase-locked stability.
StableComplexityDelta
Gets the maximum absolute complexity change accepted as phase-locked stability.
StableLossDelta
Gets the maximum absolute loss change accepted as phase-locked stability.
StructuralProposalUAIX.LmRuntime.Governance
15 members
Describes one reversible candidate considered by the slow structural-control loop.
Action
Gets the proposed structural operator.
ActionCost
Gets the one-time cost of validating and applying the proposal.
ComplexityDelta
Gets the signed structural-complexity change; negative values reduce complexity.
EnergyCost
Gets the estimated energy or compute cost of the proposal.
EvidenceReferences
Gets the evidence references that justify the proposal estimates.
ExpectedPredictiveGain
Gets the expected predictive-loss reduction produced by the proposal.
MaintenanceCost
Gets the recurring cost of retaining the resulting structure.
MemoryCost
Gets the estimated memory cost of the proposal.
Metadata
Gets bounded metadata attached to the proposal.
ProposalId
Gets the stable proposal identifier used by evidence and trace records.
RequiresHumanReview
Gets a value indicating whether the proposal requires explicit human approval before application.
Reversible
Gets a value indicating whether the proposal can be rolled back through a documented inverse action.
ReviewCost
Gets the expected human-review cost of the proposal.
Target
Gets the stable name of the affected structure.
UncertaintyScore
Gets the normalized proposal uncertainty in the inclusive range from zero through one.
StructuralProposalEvaluationUAIX.LmRuntime.Governance
6 members
Reports the viability and local objective for one structural proposal.
Feasible
Gets a value indicating whether all automatic-action gates were satisfied.
Message
Gets the bounded diagnostic explaining the evaluation.
NoOpReason
Gets the reason the proposal was excluded when it was not feasible.
Objective
Gets the local objective, where lower values represent a more favorable bounded action.
Proposal
Gets the evaluated proposal.
ResourceTransition
Gets the resource transition predicted for the proposal.
TeleodynamicControlRequestUAIX.LmRuntime.Governance
11 members
Aggregates one opt-in slow-loop evaluation without exposing or mutating model inference state.
ClaimTransition
Gets a claim-lifecycle transition evaluated during the cycle when one is present.
ConstraintRegistry
Gets the work-constraint registry snapshot.
CreatedUtc
Gets the zero-offset UTC time assigned to the control cycle and trace entry.
CycleId
Gets the stable control-cycle identifier.
DecisionPolicy
Gets the proposal-scoring and safety policy.
Metadata
Gets bounded metadata copied into the decision trace.
ObservationWindow
Gets the recent fast-loop observation window.
PhasePolicy
Gets the structural-phase threshold policy.
Proposals
Gets the structural proposals considered during the cycle.
ResourcePolicy
Gets the resource-economy policy.
ResourceState
Gets the resource state observed before the cycle.
TeleodynamicControlResultUAIX.LmRuntime.Governance
5 members
Reports the complete bounded output of one opt-in teleodynamic control cycle.
ClaimDecision
Gets the claim-lifecycle decision when one is present.
ConstraintClosure
Gets the work-constraint closure analysis.
Decision
Gets the selected structural proposal or explicit no-op decision.
PhaseAssessment
Gets the structural phase inferred from the observation window.
TraceEntry
Gets the tamper-evident trace entry appended for the cycle.
TeleodynamicDecisionUAIX.LmRuntime.Governance
8 members
Reports the deterministic selection made across structural proposals and the explicit no-op candidate.
CreatedUtc
Gets the UTC time at which the decision was produced.
DecisionId
Gets the stable decision identifier.
Evaluations
Gets all bounded proposal evaluations in stable proposal-identifier order.
Message
Gets the bounded explanation for the selected action.
NoOpReason
Gets the reason no-op was selected, or UAIX.LmRuntime.Governance.NoOpReason.None for an actionable proposal.
SelectedAction
Gets the selected action, including explicit no-op.
SelectedProposalId
Gets the selected proposal identifier, or when no-op wins.
SelectedTransition
Gets the resource transition associated with the selected proposal or the unchanged no-op state.
TeleodynamicDecisionPolicyUAIX.LmRuntime.Governance
8 members
Defines deterministic scoring and safety rules for choosing among structural proposals and no-op.
ComplexityWeight
Gets the weight applied to absolute structural-complexity growth in the local objective.
DeferHumanReviewProposals
Gets a value indicating whether proposals requiring human review are excluded from automatic selection.
MaximumProposals
Gets the maximum number of proposals accepted in one bounded evaluation.
MaximumUncertainty
Gets the maximum uncertainty accepted for an automatically actionable proposal.
MinimumEvidenceCount
Gets the minimum evidence-reference count required for an automatically actionable proposal.
NoOpAdvantage
Gets the non-negative advantage a proposal must have over no-op before it can be selected.
RequireReversibleAutomaticAction
Gets a value indicating whether automatic proposal selection requires a documented rollback path.
UncertaintyWeight
Gets the weight applied to uncertainty in the local objective.
TeleodynamicTraceEntryUAIX.LmRuntime.Governance
4 members
Represents one immutable entry in the SHA-256-linked teleodynamic decision trace.
ContentHash
Gets the lowercase SHA-256 digest covering the sequence, previous hash, and canonical request fields.
PreviousHash
Gets the preceding entry hash, or 64 zero characters for the first entry.
Request
Gets the canonical event request stored by the entry.
Sequence
Gets the one-based sequence number assigned by the trace chain.
TeleodynamicTraceRequestUAIX.LmRuntime.Governance
8 members
Describes the canonical fields appended to the tamper-evident teleodynamic decision trace.
Action
Gets the selected governance action.
CreatedUtc
Gets the UTC event time supplied by the orchestrator.
EventId
Gets the stable decision or event identifier.
EventKind
Gets the bounded event kind.
Metadata
Gets bounded metadata serialized in ordinal key order.
NoOpReason
Gets the no-op reason when no structural action was selected.
ResourceAfter
Gets the resource balance selected after the event.
ResourceBefore
Gets the resource balance observed before the event.
TraceChainVerificationResultUAIX.LmRuntime.Governance
3 members
Reports whether a teleodynamic trace chain is structurally and cryptographically intact.
FirstInvalidSequence
Gets the one-based sequence number of the first invalid entry, or zero when the chain is valid.
Message
Gets the bounded verification diagnostic.
Valid
Gets a value indicating whether every sequence, predecessor hash, and content hash is valid.
No. It defines contracts and policy interfaces. Use LocalEndpoint for the high-level local GGUF facade, or compose the lower-level GGUF, tokenization, kernel, sampling, and LLaMA packages.
No. They are explicit policy surfaces. A runtime should advertise and test the policies it actually applies rather than implying that contract presence equals enforcement.
No. Memory and governance evidence remain data. Execution authority belongs to separately implemented and user-approved application gates.