Protocol5 UAI Csharp Package Usage
Protocol5.UAI.CSharp is the Protocol5 .NET implementation package for teams that need UAI export, validation, rendering, canonical asset loading, ASP.NET Core route helpers, and package compatibility mirrors.
Metadata
| Field | Value |
|---|---|
| Source site | protocol5.com |
| Source URL | https://protocol5.com/ |
| Canonical AIWikis URL | https://aiwikis.org/protocol5/files/docs-package-usage-md-f9ce4f57/ |
| Source reference | docs/package-usage.md |
| File type | md |
| Content category | guide |
| Last fetched | 2026-06-22T01:56:21.9510185Z |
| Last changed | 2026-05-08T01:27:33.0311868Z |
| Content hash | sha256:f9ce4f5729f0900bb157ec8cbff19a31369077a85b237999f7caeeb1f5569f26 |
| Import status | unchanged |
| Raw source layer | data/sources/protocol5/docs-package-usage-md-f9ce4f5729f0.md |
| Normalized source layer | data/normalized/protocol5/docs-package-usage-md-f9ce4f5729f0.txt |
Current File Content
Structure Preview
- Protocol5.UAI.CSharp Package Usage
- Install
- Minimal ASP.NET Core Setup
- Protocol5 And UAIX Boundary
Raw Version
# Protocol5.UAI.CSharp Package Usage
Protocol5.UAI.CSharp is the Protocol5 .NET implementation package for teams that need UAI export, validation, rendering, canonical asset loading, ASP.NET Core route helpers, and package compatibility mirrors.
This document is implementation guidance, not the normative UAI standard. Use UAIX for the canonical UAI-1 specification, schemas, registry, validator, governance, roadmap, changelog, and conformance records:
- <https://uaix.org/en-us/specification/uai-1/>
- <https://uaix.org/en-us/schemas/>
- <https://uaix.org/en-us/registry/>
- <https://uaix.org/en-us/tools/validator/>
## Install
```powershell
dotnet add package Protocol5.UAI.CSharp
```
The repository currently declares package version `1.0.0`. Treat that as the Protocol5 implementation package version, not as a UAIX standards-release claim.
## Minimal ASP.NET Core Setup
```csharp
using Protocol5.UAI;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddProtocol5UaiWebsiteSupport();
var app = builder.Build();
app.UseProtocol5UaiWebsiteSupport();
app.MapProtocol5UaiCanonicalArtifacts();
app.Run();
```
That setup exposes the package's canonical and compatibility artifacts, including `/UAI-1.json`, `/UAI-1-examples.json`, `/registry/uai-1.json`, `/registry/symbols.json`, `/registry/uai-lexicon.json`, and `/schema/uai-1.schema.json`.
## Protocol5 And UAIX Boundary
Protocol5 publishes the official UAI-1 for .NET implementation hub, package downloads, sample integrations, and compatibility mirrors. UAIX remains authoritative for UAI standard text, schemas, validator behavior, registry records, governance, roadmap, changelog, and conformance.
When Protocol5 package mirrors disagree with UAIX, treat UAIX as the source of truth and update Protocol5 as an implementation surface.
Why This File Exists
This is a source file from protocol5.com. It is shown here because AIWikis.org is demonstrating the real source files that make the UAIX / LLM Wiki memory system work, not only summarizing those systems after the fact.
Role
This file is a focused source unit. Its path, headings, and metadata give an agent a retrieval handle that is smaller than loading the entire site or repository.
Structure
The file is structured around these visible headings: Protocol5.UAI.CSharp Package Usage; Install; Minimal ASP.NET Core Setup; Protocol5 And UAIX Boundary. Those headings are retrieval anchors: a crawler or LLM can decide whether the file is relevant before reading every line.
Prompt-Size And Retrieval Benefit
Keeping this material in a separate file reduces prompt pressure because an agent can load this exact unit only when its role, source site, category, or hash is relevant. The surrounding index pages point to it, while this page preserves the full content for audit and exact recall.
How To Use It
- Humans should read the metadata first, then inspect the raw content when they need exact wording or provenance.
- LLMs and agents should use the source site, category, hash, headings, and related files to decide whether this file belongs in the active prompt.
- Crawlers should treat the AIWikis page as transparent evidence and follow the source URL/source reference for authority boundaries.
- Future maintainers should regenerate this page whenever the source hash changes, then review the explanation if the role or structure changed.
Update Requirements
When this source file changes, update the raw source layer, normalized source layer, hash history, this rendered page, generated explanation, source-file inventory, changed-files report, and any source-section index that links to it.
Related Pages
- Source overview
- Site file index
- Site report index
- UAI system index
- Source provenance
- Site directory
- Organization reports
Provenance And History
- Current observation:
2026-06-22T01:56:21.9510185Z - Source origin:
current-source-workspace - Retrieval method:
local-source-workspace - Duplicate group:
sfg-1212(primary) - Historical hash records are stored in
data/hashes/source-file-history.jsonl.
Machine-Readable Metadata
{
"title": "Protocol5 UAI Csharp Package Usage",
"source_site": "protocol5.com",
"source_url": "https://protocol5.com/",
"canonical_url": "https://aiwikis.org/protocol5/files/docs-package-usage-md-f9ce4f57/",
"source_reference": "docs/package-usage.md",
"file_type": "md",
"content_category": "guide",
"content_hash": "sha256:f9ce4f5729f0900bb157ec8cbff19a31369077a85b237999f7caeeb1f5569f26",
"last_fetched": "2026-06-22T01:56:21.9510185Z",
"last_changed": "2026-05-08T01:27:33.0311868Z",
"import_status": "unchanged",
"duplicate_group_id": "sfg-1212",
"duplicate_role": "primary",
"related_files": [
],
"generated_explanation": true,
"explanation_last_generated": "2026-06-22T01:56:21.9510185Z"
} Next Useful Routes
- Start Here A task-first reading path for AIWikis.org, separating newcomer learning, source-memory lookup, maintainer workflow, and AI-agent retrieval.
- Topic Index A tag-oriented index for LLM Wiki, AI memory, UAI, source governance, crawling, and retrieval topics.
- Source Map AIWikis source-governed page for durable AI memory, evidence routing, and agent-readable retrieval.
- Protocol5.com Protocol5.com source-system overview for transparent AIWikis memory demonstration.
- Protocol5.com Source Memory Guide AIWikis source-governed page for durable AI memory, evidence routing, and agent-readable retrieval.
- Protocol5.com Files Site-scoped current-source file index for Protocol5.com.