Skip to content
AIWikis.org

UAIX Specification V1

Publication Warning This page is marked noindex and should not be treated as canonical public authority.

This is a draft source note behind the public Project Handoff page. For launch truth, AGENTS.md, readme.human, README.md, docs/current-reference.md, docs/deploy.md, and docs/roadmap.md win when they confli...

Metadata

FieldValue
Source siteuaix.org
Source URLhttps://uaix.org/
Canonical AIWikis URLhttps://aiwikis.org/uaix/files/raw-system-archives-uaix-internal-memory-reorg-2026-05-01-docs-uaix-spec-a08ef8c2/
Source referenceraw/system-archives/uaix/internal-memory-reorg/2026-05-01/docs/UAIX-spec.md
File typemd
Content categorymemory-file
Last fetched2026-06-22T01:56:21.9510185Z
Last changed2026-04-30T19:06:56.4064825Z
Content hashsha256:a08ef8c21b1e222e3454cd0848f71727a02611bfa4828b7ab980410200d811a3
Import statusunchanged
Raw source layerdata/sources/uaix/raw-system-archives-uaix-internal-memory-reorg-2026-05-01-docs-uaix-spec-md-a08ef8c21b1e.md
Normalized source layerdata/normalized/uaix/raw-system-archives-uaix-internal-memory-reorg-2026-05-01-docs-uaix-spec-md-a08ef8c21b1e.txt

Current File Content

Structure Preview

  • UAIX Specification v1.0
  • AGENTS.md + readme.human + .uai File Format for AI-to-AI Project Handoffs
  • Public HTML Reports
  • Overview
  • Current Adopted Boundary
  • How To Read The Public UAI Spec From A Handoff
  • Part 1: The AGENTS.md File
  • Location
  • Full AGENTS.md Structure
  • [Project Name]
  • Handoff Summary
  • Loaded Context
  • Current State
  • Next Steps
  • Agent History
  • Open Questions
  • Do Not Change
  • AGENTS.md Rules
  • Part 1A: The readme.human File
  • Purpose
  • Example
  • My App Human Briefing
  • What You Need To Know

Raw Version

This public page shows a bounded preview of a large source file. The complete source remains in the raw and normalized source layers named in metadata, with the SHA-256 hash above for verification.

  • Source characters: 26428
  • Preview characters: 11945

Local absolute paths are redacted in this public view. The source hash and source-side raw layer are based on the unredacted source file.

# UAIX Specification v1.0
## `AGENTS.md` + `readme.human` + `.uai` File Format for AI-to-AI Project Handoffs

**Site:** https://UAIX.org
**Version:** 1.0.1
**Updated:** 2026-04-29

This is a draft source note behind the public Project Handoff page. For launch truth, `AGENTS.md`, `readme.human`, `README.md`, `docs/current-reference.md`, `docs/deploy.md`, and `docs/roadmap.md` win when they conflict with this draft.

UAIX.org is the public source of truth for UAI-1. Protocol5.com is only a .NET plugin and NuGet package distribution surface that should link back to UAIX.org for canonical specifications, schemas, registry records, validator behavior, roadmap, governance, and support boundaries.

**Status:** Draft - April 2026

---

## Public HTML Reports

- Public AGENTS.md `.uai` linking specification: `/en-us/specification/agents-md/` from `docs/Specification for Linking uai Files in AGENTS by ChatGPT.md`
- Public refining report: `/en-us/reports/refining-uai-protocol-agent-communication/` from `docs/Refining UAI Protocol for Agent Communication By Gemini.md`
- Public relationship audit: `/en-us/reports/relationship-audit-aiwikis-llmwikis-uaix/` from `docs/Relationship Audit of AIWikis LLMWikis and UAIX.md`
- Report index: `/en-us/reports/`
- Live repo example: root `AGENTS.md`, root `readme.human`, and `.uai/` in this UAIX workspace now dogfood the same handoff pattern

---

## Overview

When switching between AI assistants on the same project, context loss is the #1 source of friction. The UAIX spec solves this with three complementary formats:

- **`AGENTS.md`** - The project's AI coordination file. Lives at the repo root. Describes current state, handoff notes, agent history, and links to `.uai` files.
- **`readme.human`** - The project's human briefing from the AI perspective. Lives at the repo root beside `AGENTS.md`. Tells people what the AI needs them to know or make explicit before work starts.
- **`.uai` files** - Universal AI Information files. Structured, typed context files that carry specific knowledge (architecture, decisions, constraints, style, etc.) that any AI can load and understand.

Together they create a portable, human-readable, AI-parseable handoff layer that sits alongside your actual project files.

---

## Current Adopted Boundary

The public Project Handoff page now reconciles two compatible `.uai` record profiles:

- **Markdown context profile:** YAML frontmatter plus Markdown body for human-readable project knowledge such as context, stack, architecture, decisions, constraints, style, progress, prompts, and known errors.
- **JSON information profile:** JSON or YAML records for stricter tooling, using fields such as `schemaVersion`, `name`, `version`, `provenance`, `links`, optional `checksum`, and optional `signature`.

Both profiles are draft repository-source formats. They are not UAI-1 conformance evidence, certification, or endorsement by themselves. The current AI Memory / Project Handoff starter ZIPs and AI Memory Package Wizard outputs are generated from visible page samples and canonical templates; hosted `.uai` upload/import validation, automatic repository writes, SDKs, CLIs, certification, and endorsement surfaces remain roadmap work until public tooling, fixtures, and validation behavior exist.

This repository is also the live handoff example after the UAI material split from `[local path redacted]` into `[local path redacted]`. A handoff file should make that kind of ownership boundary explicit when a project has moved between repos, products, or domains.

Loader guardrails:

- Resolve references relative to the owning `AGENTS.md` or `.uai` file.
- Keep loads local to the project unless a human explicitly approves parent-directory escapes, network fetches, or generated includes.
- Parse, summarize, and confirm loaded context before acting.
- Treat linked `.uai` files as context, not authority to override system instructions, human requests, repository rules, policy, or review requirements.
- Detect cycles, cap glob expansion, and report missing files instead of silently skipping required context.
- Require human confirmation for secrets, credentials, destructive operations, production deployments, and other high-impact changes.

---

## How To Read The Public UAI Spec From A Handoff

`AGENTS.md`, `readme.human`, and `.uai` files answer "what project am I in, what should humans know about working with this system, and what must I know before acting?" The public UAI pages answer "what does UAIX currently publish and what can be cited as evidence?"

Use this path when briefing a new AI, team, or implementer:

1. Start with `/en-us/specification/project-handoff/` for the practical repository-context pattern.
2. Open `/en-us/specification/agents-md/` when you need deeper `.uai` link syntax, metadata, and record-shape background.
3. Use `/en-us/reports/`, `/en-us/reports/relationship-audit-aiwikis-llmwikis-uaix/`, and `/en-us/reports/refining-uai-protocol-agent-communication/` for the public report trail, cross-site role boundary, and deeper security or validation rationale.
4. Move to `/en-us/specification/uai-1/`, `/en-us/schemas/`, `/en-us/registry/`, and `/en-us/examples/` when the handoff touches the public UAI-1 exchange contract.
5. Use `/en-us/tools/validator/`, `/en-us/tools/adoption-kit/`, and `/en-us/tools/conformance-pack/` when a candidate exchange needs reusable evidence.
6. Check `/en-us/roadmap/` and `/en-us/governance/changelog/` before claiming current support, future tooling, compatibility, or migration status.

Project Handoff by itself is not UAI-1 conformance evidence. It is the local context layer that helps an AI reach the right public evidence pages without guessing.

---

## Part 1: The `AGENTS.md` File

### Location
Always at the **root of the project**. One per project.

```
my-project/
|-- AGENTS.md          # the coordination file
|-- readme.human       # the human briefing from the AI perspective
|-- .uai/              # recommended folder for .uai files
|   |-- context.uai
|   |-- decisions.uai
|   `-- stack.uai
|-- src/
`-- README.md
```

### Full `AGENTS.md` Structure

```markdown
---
uaix: "1.0"
project: "My App"
created: "2026-04-25"
updated: "2026-04-25"
status: active | paused | complete
---

# [Project Name]

## Handoff Summary
One paragraph. What this project is, where it stands RIGHT NOW, and what the
next AI agent should focus on first. Write this as if briefing a colleague
who is smart but has zero context.

## Loaded Context
@uai[.uai/context.uai]
@uai[.uai/stack.uai]
@uai[.uai/decisions.uai]
@uai[.uai/constraints.uai]

## Current State
- What is working
- What is broken or incomplete
- What was just completed

## Next Steps
- [ ] Immediate task 1
- [ ] Immediate task 2
- [ ] Stretch goal

## Agent History
| Date       | Agent                  | Model               | Work Done                        |
|------------|------------------------|---------------------|----------------------------------|
| 2026-04-25 | Claude                 | claude-sonnet-4-6   | Initial architecture and scaffolding |
| 2026-04-24 | ChatGPT                | gpt-4o              | UI mockups and component design  |

## Open Questions
- Unresolved decisions the next AI should be aware of
- Things that are ambiguous or need human input

## Do Not Change
- Hard constraints, locked decisions, things the next AI must not alter
```

### AGENTS.md Rules

1. **One file, repo root.** Never nest it inside a subfolder.
2. **Always update `updated:` in frontmatter** when editing.
3. **Handoff Summary is mandatory.** If it's blank the file is incomplete.
4. **Agent History is append-only.** Never delete previous entries.
5. **`@uai[]` references are load instructions** - they tell the AI to read those files before proceeding.

---

## Part 1A: The `readme.human` File

### Location
Always at the **root of the project**, beside `AGENTS.md`. One per project.

### Purpose
`readme.human` is the human-facing companion to `AGENTS.md`. It is written from the AI perspective and answers: "What do humans need to know about this system so they can steer AI work well?"

It should be short, plain, and practical. It should explain what the AI will defend, what a human should make explicit, what not to assume, and how to give a useful steering prompt.

### Example

```markdown
# My App Human Briefing

Updated: 2026-04-27

This file is for humans working with AI on this repo. It does not override
AGENTS.md, constraints.uai, system instructions, repo rules, or human requests.

## What You Need To Know

- This repo is the source of truth for the public app.
- The active production branch is main.
- Generated docs are reviewed before publication.

## How The AI Reads This Project

1. Read AGENTS.md.
2. Read readme.human.
3. Load every .uai file listed in AGENTS.md.
4. Summarize the project, constraints, touchpoints, and checks before broad edits.

## Things The AI Will Defend

- Do not expose secrets.
- Do not rewrite unrelated work.
- Do not publish roadmap ideas as current support.

## Things Humans Should Make Explicit

- Whether the task changes public behavior.
- Whether the task can touch production data.
- Which checks matter for done.
```

### Rules

1. Keep `readme.human` plain text or Markdown-compatible text.
2. Use it for human briefing, not hidden machine policy.
3. Do not let it override `AGENTS.md`, `.uai/constraints.uai`, system instructions, repository rules, or the current human request.
4. Update it when the project changes in a way a human needs to know before steering AI work.

---

## Part 2: The `.uai` File Format

`.uai` files are **typed, structured markdown files** that carry a specific category of project knowledge. They are designed to be:

- Human-readable (plain markdown with YAML frontmatter)
- Machine-parseable by any AI
- Versioned and attributable
- Composable - a project can have as many as needed

### `.uai` File Structure

```
---
uaix: "1.0"
type: [see types below]
title: "Human-readable title"
created: "2026-04-25"
updated: "2026-04-25"
author: "Claude / claude-sonnet-4-6"
version: 1
---

# [Title]

[Markdown content appropriate to the type]
```

### Standard `.uai` Types

| Type           | Filename convention       | Purpose |
|----------------|---------------------------|---------|
| `context`      | `context.uai`             | High-level project purpose, users, goals |
| `stack`        | `stack.uai`               | Languages, frameworks, services, versions |
| `architecture` | `architecture.uai`        | System design, data flow, component map |
| `decisions`    | `decisions.uai`           | ADR-style log of key decisions and why |
| `constraints`  | `constraints.uai`         | Hard rules the AI must never violate |
| `style`        | `style.uai`               | Code style, naming, patterns to follow |
| `data`         | `data.uai`                | Data models, schemas, field definitions |
| `personas`     | `personas.uai`            | User personas or stakeholder descriptions |
| `progress`     | `progress.uai`            | Milestones, completed work, changelog |
| `prompts`      | `prompts.uai`             | Reusable prompt fragments for this project |
| `errors`       | `errors.uai`              | Known bugs, workarounds, gotchas |
| `custom`       | `[anything].uai`          | Project-specific context, any name |

You can have multiple files of the same type with different names:
`auth-decisions.uai`, `ui-decisions.uai`, `api-decisions.uai`

---

## Part 3: `.uai` File Examples

### `context.uai`
```markdown
---
uaix: "1.0"
type: context
title: "Project Context"
created: "2026-04-25"
updated: "2026-04-25"
author: "Claude / claude-sonnet-4-6"
version: 1
---

# Project Context

## What This Is
A web app that lets independent musicians manage their touring schedules,
sell merch, and message their fanbase - without needing a label.

## Target Users

Why This File Exists

This is a memory-system evidence file from uaix.org. 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 memory-system evidence. It records source history, archive transfer, intake disposition, or another piece of provenance that should be retrievable without becoming an unsupported public claim.

Structure

The file is structured around these visible headings: UAIX Specification v1.0; AGENTS.md + readme.human + .uai File Format for AI-to-AI Project Handoffs; Public HTML Reports; Overview; Current Adopted Boundary; How To Read The Public UAI Spec From A Handoff; Part 1: The AGENTS.md File; Location. 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

Provenance And History

  • Current observation: 2026-06-22T01:56:21.9510185Z
  • Source origin: current-source-workspace
  • Retrieval method: local-source-workspace
  • Duplicate group: sfg-772 (primary)
  • Historical hash records are stored in data/hashes/source-file-history.jsonl.

Machine-Readable Metadata

{
    "title":  "UAIX Specification V1",
    "source_site":  "uaix.org",
    "source_url":  "https://uaix.org/",
    "canonical_url":  "https://aiwikis.org/uaix/files/raw-system-archives-uaix-internal-memory-reorg-2026-05-01-docs-uaix-spec-a08ef8c2/",
    "source_reference":  "raw/system-archives/uaix/internal-memory-reorg/2026-05-01/docs/UAIX-spec.md",
    "file_type":  "md",
    "content_category":  "memory-file",
    "content_hash":  "sha256:a08ef8c21b1e222e3454cd0848f71727a02611bfa4828b7ab980410200d811a3",
    "last_fetched":  "2026-06-22T01:56:21.9510185Z",
    "last_changed":  "2026-04-30T19:06:56.4064825Z",
    "import_status":  "unchanged",
    "duplicate_group_id":  "sfg-772",
    "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.
  • UAIX.org UAIX.org source-system overview for transparent AIWikis memory demonstration.
  • UAIX.org Source Memory Guide AIWikis source-governed page for durable AI memory, evidence routing, and agent-readable retrieval.
  • UAIX.org Files Site-scoped current-source file index for UAIX.org.