为什么例子很重要
示例将 UAI-1 从书面规范转变为团队可以与运行代码进行比较的内容。它们展示了配置文件声明、出处、有效负载结构和预期结果如何在真实交换中出现。
灯具如何连接到标准记录
实施者应如何使用示例
- 将您的候选人消息与最近发布的赛程进行比较。
- 在审核期间保持可读的键控JSON,并仅将优化的传输表格用作传输选择。
- 使用示例向下游团队解释预期的成功和失败模式。
目前的固定角色
uai.intent.request.v1显示在任何响应或运行时映射发生之前声明的请求的样子。uai.intent.response.v1显示附加到先前请求的成功或信息丰富的结果的预期公开形式。uai.capability.statement.v1显示面向发现的功能元数据如何声明支持的配置文件和操作。uai.error.v1显示了当验证或执行无法顺利进行时读者应该预期的稳定的公共故障形状。uai.conformance.result.v1显示验证器生成的证据记录,可以进入 CI 日志、审查数据包和发行说明。
赛程如何成为公开发布的证据
- 通过运行匹配的夹具 验证器 在调用实现一致性之前。
- 将所得证据带入相关部门 实施轨道 跟踪,以便读者可以看到实际发生了什么。
- 使用 变更日志 和 新闻 当装置更新改变集成期望时。
- 使用 参考资料与贡献者 当您需要围绕已发布的测试样例稳定的发现和引用链接时。
已发布的示例目录
下面的示例是验证器和公共注册表记录使用的版本控制装置。
UAI-REGI-0001
UAI æ„图请求 v1
使用完整的 UAI-1 ä¿¡å°ã€ä¿¡ä»»å…ƒæ•°æ®å’Œå¯å®¡æŸ¥çš„交付控制,针对已声明主题请求一个明确结果或异æ¥ä»»åŠ¡ã€‚
- 配置文件
- uai.intent.request.v1
- 结果
- 通过
- REST 路由
- /wp-json/uaix/v1/examples/uai.intent.request.v1
{
"uai_version": "1.0",
"profile": "uai.intent.request.v1",
"message_id": "msg-2026-04-22-0001",
"source": {
"type": "agent",
"id": "agent.alpha",
"label": "Agent Alpha",
"uri": "https://agents.alpha.example/runtime",
"did": "did:web:agents.alpha.example",
"role": "requesting-agent",
"implementation": "alpha-runtime-2.4.1"
},
"target": {
"type": "service",
"id": "uaix.gateway",
"label": "UAIX 闸门way",
"uri": "https://uaix.org/wp-json/uaix/v1/discovery",
"did": "did:web:uaix.org",
"role": "public-record-gateway",
"implementation": "uaix-core-0.4.0"
},
"conversation": {
"conversation_id": "conv-2026-04-22-uaix-001",
"turn_id": "turn-001",
"traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
"sequence": 1
},
"delivery": {
"mode": "async",
"priority": "interactive",
"expires_at": "2026-04-22T16:05:00Z",
"reply_requested": true,
"ack_required": true
},
"trust": {
"channel": "credentialed",
"auth_scheme": "did+vc",
"principal": "did:web:agents.alpha.example",
"credential_ref": "https://agents.alpha.example/credentials/uai-interop.json",
"signature_ref": "https://agents.alpha.example/signatures/msg-2026-04-22-0001.jws",
"replay_window_id": "rw-2026-04-22-0001"
},
"body": {
"intent": "resolve-profile",
"subject": "uai.task.status.v1",
"requested_profile": "uai.task.status.v1",
"parameters": {
"include_schema": true,
"include_example": true,
"include_field_registry": true
},
"constraints": [
"public-record-only",
"trace-linked",
"validator-ready"
],
"response_profile": "uai.intent.response.v1"
},
"provenance": {
"trace_id": "trace-7f3a2d",
"parent_trace_id": "trace-root-uaix-2026",
"issued_at": "2026-04-22T16:00:00Z",
"log_ref": "urn:uaix:log:2026:0001",
"agent_id": "agent.alpha",
"model_id": "model.alpha.reasoner-2",
"confidence": 0.98,
"lineage": [
{
"stage": "request-composition",
"actor_id": "agent.alpha",
"model_id": "model.alpha.reasoner-2",
"note": "Requested the async task-status profile and matching field registry."
}
]
},
"integrity": {
"version": 2,
"algorithm": "sha256",
"canonicalization": "jcs",
"checksum": "sha256:dd8a9d16c9226cc9d1f4888a4d2bbcbf06b5b4b8"
},
"extensions": [
{
"namespace": "urn:uaix:ext:delivery",
"purpose": "Explicit async request handling and expiry semantics.",
"critical": false
}
]
}
[
"1.0",
"uai.intent.request.v1",
"msg-2026-04-22-0001",
[
"agent",
"agent.alpha",
"Agent Alpha",
"https://agents.alpha.example/runtime",
"did:web:agents.alpha.example",
"requesting-agent",
"alpha-runtime-2.4.1"
],
[
"service",
"uaix.gateway",
"UAIX 闸门way",
"https://uaix.org/wp-json/uaix/v1/discovery",
"did:web:uaix.org",
"public-record-gateway",
"uaix-core-0.4.0"
],
[
"conv-2026-04-22-uaix-001",
"turn-001",
null,
"00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
1
],
[
"async",
"interactive",
"2026-04-22T16:05:00Z",
true,
true
],
[
"credentialed",
"did+vc",
"did:web:agents.alpha.example",
"https://agents.alpha.example/credentials/uai-interop.json",
"https://agents.alpha.example/signatures/msg-2026-04-22-0001.jws",
"rw-2026-04-22-0001"
],
[
"resolve-profile",
"uai.task.status.v1",
"uai.task.status.v1",
{
"include_schema": true,
"include_example": true,
"include_field_registry": true
},
[
"public-record-only",
"trace-linked",
"validator-ready"
],
"uai.intent.response.v1"
],
[
"trace-7f3a2d",
"trace-root-uaix-2026",
"2026-04-22T16:00:00Z",
"urn:uaix:log:2026:0001",
"agent.alpha",
"model.alpha.reasoner-2",
0.98,
[
[
"request-composition",
"agent.alpha",
"model.alpha.reasoner-2",
"Requested the async task-status profile and matching field registry."
]
]
],
[
2,
"sha256",
"jcs",
"sha256:dd8a9d16c9226cc9d1f4888a4d2bbcbf06b5b4b8"
],
[
[
"urn:uaix:ext:delivery",
"Explicit async request handling and expiry semantics.",
false
]
]
]
字段顺序遵循有键 JSON 示例、已发布的模式顺序以及公共字段注册表。
UAI-REGI-0002
UAI æ„图å“应 v1
åœ¨ä¿æŒä¼šè¯è¿žç»æ€§ã€ä¿¡ä»»å…ƒæ•°æ®å’Œå¯å‘å¸ƒè¯æ®çš„åŒæ—¶ï¼Œä¸ºå·²å£°æ˜Žè¯·æ±‚返回直接结果或已接å—任务的交接。
- 配置文件
- uai.intent.response.v1
- 结果
- 通过
- REST 路由
- /wp-json/uaix/v1/examples/uai.intent.response.v1
{
"uai_version": "1.0",
"profile": "uai.intent.response.v1",
"message_id": "msg-2026-04-22-0002",
"source": {
"type": "service",
"id": "uaix.gateway",
"label": "UAIX 闸门way",
"uri": "https://uaix.org/wp-json/uaix/v1/discovery",
"did": "did:web:uaix.org",
"role": "public-record-gateway",
"implementation": "uaix-core-0.4.0"
},
"target": {
"type": "agent",
"id": "agent.alpha",
"label": "Agent Alpha",
"uri": "https://agents.alpha.example/runtime",
"did": "did:web:agents.alpha.example",
"role": "requesting-agent",
"implementation": "alpha-runtime-2.4.1"
},
"conversation": {
"conversation_id": "conv-2026-04-22-uaix-001",
"turn_id": "turn-002",
"parent_message_id": "msg-2026-04-22-0001",
"traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-3e5f4f6f98c36d91-01",
"sequence": 2
},
"delivery": {
"mode": "async",
"priority": "interactive",
"expires_at": "2026-04-22T16:05:00Z",
"reply_requested": false,
"ack_required": true,
"task_ref": "task-2026-04-22-0001"
},
"trust": {
"channel": "signed-envelope",
"auth_scheme": "jws",
"principal": "did:web:uaix.org",
"credential_ref": "https://uaix.org/.well-known/uai.json",
"signature_ref": "https://uaix.org/signatures/msg-2026-04-22-0002.jws",
"replay_window_id": "rw-2026-04-22-0002"
},
"body": {
"status": "accepted",
"subject": "uai.task.status.v1",
"request_message_id": "msg-2026-04-22-0001",
"result": {
"task_id": "task-2026-04-22-0001",
"status_profile": "uai.task.status.v1",
"status_url": "https://uaix.org/wp-json/uaix/v1/examples/uai.task.status.v1",
"field_registry_url": "https://uaix.org/wp-json/uaix/v1/field-registry"
},
"notices": [
"async-task-started",
"follow-status-profile"
],
"task_ref": "task-2026-04-22-0001"
},
"provenance": {
"trace_id": "trace-7f3a2d",
"parent_trace_id": "trace-root-uaix-2026",
"issued_at": "2026-04-22T16:00:03Z",
"log_ref": "urn:uaix:log:2026:0002",
"agent_id": "uaix.gateway",
"model_id": "model.uaix.dispatch-1",
"confidence": 0.99,
"lineage": [
{
"stage": "request-routing",
"actor_id": "uaix.gateway",
"model_id": "model.uaix.dispatch-1",
"note": "Accepted the request and created an async status record."
}
]
},
"integrity": {
"version": 2,
"algorithm": "sha256",
"canonicalization": "jcs",
"checksum": "sha256:45eaaf9d6225e9ba3ac7d45d742ac1f6f7cf6dfc"
},
"extensions": [
{
"namespace": "urn:uaix:ext:delivery",
"purpose": "Async handoff and task reference support.",
"critical": false
}
]
}
[
"1.0",
"uai.intent.response.v1",
"msg-2026-04-22-0002",
[
"service",
"uaix.gateway",
"UAIX 闸门way",
"https://uaix.org/wp-json/uaix/v1/discovery",
"did:web:uaix.org",
"public-record-gateway",
"uaix-core-0.4.0"
],
[
"agent",
"agent.alpha",
"Agent Alpha",
"https://agents.alpha.example/runtime",
"did:web:agents.alpha.example",
"requesting-agent",
"alpha-runtime-2.4.1"
],
[
"conv-2026-04-22-uaix-001",
"turn-002",
"msg-2026-04-22-0001",
"00-4bf92f3577b34da6a3ce929d0e0e4736-3e5f4f6f98c36d91-01",
2
],
[
"async",
"interactive",
"2026-04-22T16:05:00Z",
false,
true,
"task-2026-04-22-0001"
],
[
"signed-envelope",
"jws",
"did:web:uaix.org",
"https://uaix.org/.well-known/uai.json",
"https://uaix.org/signatures/msg-2026-04-22-0002.jws",
"rw-2026-04-22-0002"
],
[
"accepted",
"uai.task.status.v1",
"msg-2026-04-22-0001",
{
"task_id": "task-2026-04-22-0001",
"status_profile": "uai.task.status.v1",
"status_url": "https://uaix.org/wp-json/uaix/v1/examples/uai.task.status.v1",
"field_registry_url": "https://uaix.org/wp-json/uaix/v1/field-registry"
},
[
"async-task-started",
"follow-status-profile"
],
"task-2026-04-22-0001"
],
[
"trace-7f3a2d",
"trace-root-uaix-2026",
"2026-04-22T16:00:03Z",
"urn:uaix:log:2026:0002",
"uaix.gateway",
"model.uaix.dispatch-1",
0.99,
[
[
"request-routing",
"uaix.gateway",
"model.uaix.dispatch-1",
"Accepted the request and created an async status record."
]
]
],
[
2,
"sha256",
"jcs",
"sha256:45eaaf9d6225e9ba3ac7d45d742ac1f6f7cf6dfc"
],
[
[
"urn:uaix:ext:delivery",
"Async handoff and task reference support.",
false
]
]
]
字段顺序遵循有键 JSON 示例、已发布的模式顺序以及公共字段注册表。
UAI-REGI-0003
UAI 能力声明 v1
å‘布能力ã€ç«¯ç‚¹ã€å®‰å…¨æ€§ã€å¼‚æ¥å·¥ä½œæµå’Œæ‰©å±•支æŒå…ƒæ•°æ®ï¼Œä½¿ç›¸é‚»ç³»ç»Ÿèƒ½å¤Ÿè§£æžæŸä¸ªå®žçŽ°ç©¶ç«Ÿæ”¯æŒä»€ä¹ˆã€‚
- 配置文件
- uai.capability.statement.v1
- 结果
- 通过
- REST 路由
- /wp-json/uaix/v1/examples/uai.capability.statement.v1
{
"uai_version": "1.0",
"profile": "uai.capability.statement.v1",
"message_id": "msg-2026-04-22-0003",
"source": {
"type": "service",
"id": "uaix.gateway",
"label": "UAIX 闸门way",
"uri": "https://uaix.org/wp-json/uaix/v1/discovery",
"did": "did:web:uaix.org",
"role": "capability-publisher",
"implementation": "uaix-core-0.4.0"
},
"target": {
"type": "public-record",
"id": "uaix.registry",
"label": "UAIX 注册表",
"uri": "https://uaix.org/en-us/registry/",
"did": "did:web:uaix.org",
"role": "public-standards-record",
"implementation": "uaix-authority-theme-2.1.0"
},
"conversation": {
"conversation_id": "conv-2026-04-22-uaix-capability-001",
"turn_id": "turn-001",
"sequence": 1
},
"delivery": {
"mode": "event",
"priority": "routine",
"expires_at": "2026-05-22T00:00:00Z",
"reply_requested": false,
"ack_required": false
},
"trust": {
"channel": "signed-envelope",
"auth_scheme": "jws",
"principal": "did:web:uaix.org",
"credential_ref": "https://uaix.org/.well-known/uai.json",
"signature_ref": "https://uaix.org/signatures/msg-2026-04-22-0003.jws",
"replay_window_id": "rw-2026-04-22-0003"
},
"body": {
"capability_id": "uaix.gateway.discovery",
"version": "1.1.0",
"operations": [
"resolve-profile",
"publish-capability",
"validate-message"
],
"input_profiles": [
"uai.intent.request.v1",
"uai.capability.statement.v1"
],
"output_profiles": [
"uai.intent.response.v1",
"uai.error.v1",
"uai.conformance.result.v1"
],
"async_profiles": [
"uai.task.status.v1"
],
"security_schemes": [
{
"id": "did-vc",
"type": "credentialed",
"binding": "did+vc over HTTPS"
},
{
"id": "jws-envelope",
"type": "signed-envelope",
"binding": "detached JWS reference"
}
],
"transport_bindings": [
"https-json-envelope.v1",
"https-json-keyless.v1"
],
"conformance_levels": [
"L1-core-envelope",
"L2-exchange-participant",
"L3-async-workflow",
"L4-public-record-publisher"
],
"error_codes": [
"invalid_message",
"unknown_profile",
"auth_required",
"task_not_found",
"conformance_failed"
],
"endpoints": [
{
"kind": "discovery",
"url": "https://uaix.org/wp-json/uaix/v1/discovery",
"method": "GET"
},
{
"kind": "validate",
"url": "https://uaix.org/wp-json/uaix/v1/validate",
"method": "POST"
},
{
"kind": "field-registry",
"url": "https://uaix.org/wp-json/uaix/v1/field-registry",
"method": "GET"
},
{
"kind": "transport-bindings",
"url": "https://uaix.org/wp-json/uaix/v1/transport-bindings",
"method": "GET"
},
{
"kind": "trust-channels",
"url": "https://uaix.org/wp-json/uaix/v1/trust-channels",
"method": "GET"
},
{
"kind": "conformance-levels",
"url": "https://uaix.org/wp-json/uaix/v1/conformance-levels",
"method": "GET"
},
{
"kind": "error-registry",
"url": "https://uaix.org/wp-json/uaix/v1/error-registry",
"method": "GET"
}
],
"extension_namespaces": [
"urn:uaix:ext:delivery",
"urn:uaix:ext:evidence"
],
"implementation_tracks": [
"WordPress Publication Track",
".NET Bridge Track"
]
},
"provenance": {
"trace_id": "trace-7f3a2d",
"issued_at": "2026-04-22T16:00:07Z",
"log_ref": "urn:uaix:log:2026:0003",
"agent_id": "uaix.gateway",
"model_id": "model.uaix.discovery-1",
"confidence": 1,
"lineage": [
{
"stage": "capability-publication",
"actor_id": "uaix.gateway",
"model_id": "model.uaix.discovery-1",
"note": "Published current discovery, validation, transport, trust, conformance, and field-registry surfaces."
}
]
},
"integrity": {
"version": 2,
"algorithm": "sha256",
"canonicalization": "jcs",
"checksum": "sha256:72bb178efc2221fb5c9d50bcb1fdab37d4ca2f4d"
},
"extensions": [
{
"namespace": "urn:uaix:ext:evidence",
"purpose": "Links machine-readable capability claims to public implementation evidence.",
"critical": false
}
]
}
[
"1.0",
"uai.capability.statement.v1",
"msg-2026-04-22-0003",
[
"service",
"uaix.gateway",
"UAIX 闸门way",
"https://uaix.org/wp-json/uaix/v1/discovery",
"did:web:uaix.org",
"capability-publisher",
"uaix-core-0.4.0"
],
[
"public-record",
"uaix.registry",
"UAIX 注册表",
"https://uaix.org/en-us/registry/",
"did:web:uaix.org",
"public-standards-record",
"uaix-authority-theme-2.1.0"
],
[
"conv-2026-04-22-uaix-capability-001",
"turn-001",
null,
null,
1
],
[
"event",
"routine",
"2026-05-22T00:00:00Z",
false,
false
],
[
"signed-envelope",
"jws",
"did:web:uaix.org",
"https://uaix.org/.well-known/uai.json",
"https://uaix.org/signatures/msg-2026-04-22-0003.jws",
"rw-2026-04-22-0003"
],
[
"uaix.gateway.discovery",
"1.1.0",
[
"resolve-profile",
"publish-capability",
"validate-message"
],
[
"uai.intent.request.v1",
"uai.capability.statement.v1"
],
[
"uai.intent.response.v1",
"uai.error.v1",
"uai.conformance.result.v1"
],
[
"uai.task.status.v1"
],
[
{
"id": "did-vc",
"type": "credentialed",
"binding": "did+vc over HTTPS"
},
{
"id": "jws-envelope",
"type": "signed-envelope",
"binding": "detached JWS reference"
}
],
[
"https-json-envelope.v1",
"https-json-keyless.v1"
],
[
"L1-core-envelope",
"L2-exchange-participant",
"L3-async-workflow",
"L4-public-record-publisher"
],
[
"invalid_message",
"unknown_profile",
"auth_required",
"task_not_found",
"conformance_failed"
],
[
{
"kind": "discovery",
"url": "https://uaix.org/wp-json/uaix/v1/discovery",
"method": "GET"
},
{
"kind": "validate",
"url": "https://uaix.org/wp-json/uaix/v1/validate",
"method": "POST"
},
{
"kind": "field-registry",
"url": "https://uaix.org/wp-json/uaix/v1/field-registry",
"method": "GET"
},
{
"kind": "transport-bindings",
"url": "https://uaix.org/wp-json/uaix/v1/transport-bindings",
"method": "GET"
},
{
"kind": "trust-channels",
"url": "https://uaix.org/wp-json/uaix/v1/trust-channels",
"method": "GET"
},
{
"kind": "conformance-levels",
"url": "https://uaix.org/wp-json/uaix/v1/conformance-levels",
"method": "GET"
},
{
"kind": "error-registry",
"url": "https://uaix.org/wp-json/uaix/v1/error-registry",
"method": "GET"
}
],
[
"urn:uaix:ext:delivery",
"urn:uaix:ext:evidence"
],
[
"WordPress Publication Track",
".NET Bridge Track"
]
],
[
"trace-7f3a2d",
null,
"2026-04-22T16:00:07Z",
"urn:uaix:log:2026:0003",
"uaix.gateway",
"model.uaix.discovery-1",
1,
[
[
"capability-publication",
"uaix.gateway",
"model.uaix.discovery-1",
"Published current discovery, validation, transport, trust, conformance, and field-registry surfaces."
]
]
],
[
2,
"sha256",
"jcs",
"sha256:72bb178efc2221fb5c9d50bcb1fdab37d4ca2f4d"
],
[
[
"urn:uaix:ext:evidence",
"Links machine-readable capability claims to public implementation evidence.",
false
]
]
]
字段顺序遵循有键 JSON 示例、已发布的模式顺序以及公共字段注册表。
UAI-REGI-0004
UAI 错误 v1
使用带类型ã€å…·å¤‡é‡è¯•ä¿¡æ¯å’Œè·¯å¾„级细节的 problem-details é£Žæ ¼ä¿¡å°æ¥æŠ¥å‘ŠéªŒè¯ã€ä¼ è¾“ã€æŽˆæƒæˆ–执行失败。
- 配置文件
- uai.error.v1
- 结果
- 通过
- REST 路由
- /wp-json/uaix/v1/examples/uai.error.v1
{
"uai_version": "1.0",
"profile": "uai.error.v1",
"message_id": "msg-2026-04-22-0004",
"source": {
"type": "service",
"id": "uaix.validator",
"label": "UAIX 验è¯å™¨",
"uri": "https://uaix.org/en-us/tools/validator/",
"did": "did:web:uaix.org",
"role": "conformance-checker",
"implementation": "uaix-core-0.4.0"
},
"target": {
"type": "agent",
"id": "agent.alpha",
"label": "Agent Alpha",
"uri": "https://agents.alpha.example/runtime",
"did": "did:web:agents.alpha.example",
"role": "requesting-agent",
"implementation": "alpha-runtime-2.4.1"
},
"conversation": {
"conversation_id": "conv-2026-04-22-uaix-001",
"turn_id": "turn-003",
"parent_message_id": "msg-2026-04-22-0001",
"sequence": 3
},
"delivery": {
"mode": "sync",
"priority": "interactive",
"expires_at": "2026-04-22T16:05:00Z",
"reply_requested": false,
"ack_required": false
},
"trust": {
"channel": "signed-envelope",
"auth_scheme": "jws",
"principal": "did:web:uaix.org",
"credential_ref": "https://uaix.org/.well-known/uai.json",
"signature_ref": "https://uaix.org/signatures/msg-2026-04-22-0004.jws",
"replay_window_id": "rw-2026-04-22-0004"
},
"body": {
"type": "https://uaix.org/problems/unknown-profile",
"title": "Unknown public profile",
"detail": "The declared profile is not present in the published UAI-1 registry.",
"status": 404,
"code": "unknown_profile",
"retryable": false,
"instance": "https://uaix.org/errors/msg-2026-04-22-0004",
"errors": [
{
"path": "$.profile",
"code": "unknown_profile",
"message": "Use a published UAI-1 profile from the registry."
}
],
"next_step": "解析 the current registry entry before retrying validation."
},
"provenance": {
"trace_id": "trace-7f3a2d",
"parent_trace_id": "trace-root-uaix-2026",
"issued_at": "2026-04-22T16:00:11Z",
"log_ref": "urn:uaix:log:2026:0004",
"agent_id": "uaix.validator",
"model_id": "model.uaix.validator-1",
"confidence": 1,
"lineage": [
{
"stage": "validation-failure",
"actor_id": "uaix.validator",
"model_id": "model.uaix.validator-1",
"note": "Rejected an unpublished profile identifier."
}
]
},
"integrity": {
"version": 2,
"algorithm": "sha256",
"canonicalization": "jcs",
"checksum": "sha256:3f9a1f0c7a23a4921af647e7dbf52aeed8f2f11f"
},
"extensions": []
}
[
"1.0",
"uai.error.v1",
"msg-2026-04-22-0004",
[
"service",
"uaix.validator",
"UAIX 验è¯å™¨",
"https://uaix.org/en-us/tools/validator/",
"did:web:uaix.org",
"conformance-checker",
"uaix-core-0.4.0"
],
[
"agent",
"agent.alpha",
"Agent Alpha",
"https://agents.alpha.example/runtime",
"did:web:agents.alpha.example",
"requesting-agent",
"alpha-runtime-2.4.1"
],
[
"conv-2026-04-22-uaix-001",
"turn-003",
"msg-2026-04-22-0001",
null,
3
],
[
"sync",
"interactive",
"2026-04-22T16:05:00Z",
false,
false
],
[
"signed-envelope",
"jws",
"did:web:uaix.org",
"https://uaix.org/.well-known/uai.json",
"https://uaix.org/signatures/msg-2026-04-22-0004.jws",
"rw-2026-04-22-0004"
],
[
"https://uaix.org/problems/unknown-profile",
"Unknown public profile",
"The declared profile is not present in the published UAI-1 registry.",
404,
"unknown_profile",
false,
"https://uaix.org/errors/msg-2026-04-22-0004",
[
[
"$.profile",
"unknown_profile",
"Use a published UAI-1 profile from the registry."
]
],
"解析 the current registry entry before retrying validation."
],
[
"trace-7f3a2d",
"trace-root-uaix-2026",
"2026-04-22T16:00:11Z",
"urn:uaix:log:2026:0004",
"uaix.validator",
"model.uaix.validator-1",
1,
[
[
"validation-failure",
"uaix.validator",
"model.uaix.validator-1",
"Rejected an unpublished profile identifier."
]
]
],
[
2,
"sha256",
"jcs",
"sha256:3f9a1f0c7a23a4921af647e7dbf52aeed8f2f11f"
],
[]
]
字段顺序遵循有键 JSON 示例、已发布的模式顺序以及公共字段注册表。
UAI-REGI-0005
UAI 一致性结果 v1
在åŒä¸€å…¬å…±æ¶ˆæ¯æ—ä¸è®°å½•验è¯å™¨è¾“出ã€åˆ¶å“引用和问题摘è¦ï¼Œä½¿è¯æ®èƒ½å¤Ÿä¸Žå‘布记录一åŒä¼ 递。
- 配置文件
- uai.conformance.result.v1
- 结果
- 通过
- REST 路由
- /wp-json/uaix/v1/examples/uai.conformance.result.v1
{
"uai_version": "1.0",
"profile": "uai.conformance.result.v1",
"message_id": "msg-2026-04-22-0005",
"source": {
"type": "service",
"id": "uaix.validator",
"label": "UAIX 验è¯å™¨",
"uri": "https://uaix.org/en-us/tools/validator/",
"did": "did:web:uaix.org",
"role": "conformance-checker",
"implementation": "uaix-core-0.4.0"
},
"target": {
"type": "message",
"id": "msg-2026-04-22-0001",
"label": "UAI æ„图请求 v1",
"uri": "https://uaix.org/wp-json/uaix/v1/examples/uai.intent.request.v1",
"did": "did:web:uaix.org",
"role": "checked-record",
"implementation": "uai.intent.request.v1"
},
"conversation": {
"conversation_id": "conv-2026-04-22-uaix-validator-001",
"turn_id": "turn-001",
"parent_message_id": "msg-2026-04-22-0001",
"sequence": 1
},
"delivery": {
"mode": "sync",
"priority": "routine",
"expires_at": "2026-04-29T16:00:15Z",
"reply_requested": false,
"ack_required": false
},
"trust": {
"channel": "signed-envelope",
"auth_scheme": "jws",
"principal": "did:web:uaix.org",
"credential_ref": "https://uaix.org/.well-known/uai.json",
"signature_ref": "https://uaix.org/signatures/msg-2026-04-22-0005.jws",
"replay_window_id": "rw-2026-04-22-0005"
},
"body": {
"status": "pass",
"checked_profile": "uai.intent.request.v1",
"issues": [],
"summary": {
"error_count": 0,
"warning_count": 0,
"checked_at": "2026-04-22T16:00:15Z"
},
"artifacts": {
"catalog_url": "https://uaix.org/wp-json/uaix/v1/catalog",
"schema_url": "https://uaix.org/wp-json/uaix/v1/schemas/uai.intent.request.v1",
"registry_url": "https://uaix.org/wp-json/uaix/v1/registry/uai.intent.request.v1",
"example_url": "https://uaix.org/wp-json/uaix/v1/examples/uai.intent.request.v1",
"field_registry_url": "https://uaix.org/wp-json/uaix/v1/field-registry",
"transport_bindings_url": "https://uaix.org/wp-json/uaix/v1/transport-bindings",
"trust_channels_url": "https://uaix.org/wp-json/uaix/v1/trust-channels",
"conformance_levels_url": "https://uaix.org/wp-json/uaix/v1/conformance-levels",
"error_registry_url": "https://uaix.org/wp-json/uaix/v1/error-registry",
"validate_url": "https://uaix.org/wp-json/uaix/v1/validate"
},
"target_message_ref": "msg-2026-04-22-0001"
},
"provenance": {
"trace_id": "trace-7f3a2d",
"parent_trace_id": "trace-root-uaix-2026",
"issued_at": "2026-04-22T16:00:15Z",
"log_ref": "urn:uaix:log:2026:0005",
"agent_id": "uaix.validator",
"model_id": "model.uaix.validator-1",
"confidence": 1,
"lineage": [
{
"stage": "conformance-export",
"actor_id": "uaix.validator",
"model_id": "model.uaix.validator-1",
"note": "生æˆäº†ä¸€ä»½å¯ç§»æ¤çš„一致性记录,其ä¸åŒ…嫿œ¬æ¬¡æ£€æŸ¥ä½¿ç”¨çš„ç¡®åˆ‡ä¼ è¾“ã€ä¿¡ä»»ã€é”™è¯¯å’Œä¸€è‡´æ€§å¼•用。"
}
]
},
"integrity": {
"version": 2,
"algorithm": "sha256",
"canonicalization": "jcs",
"checksum": "sha256:8e0a46018d6f1cfaef0b7ab9de52e8503b119a91"
},
"extensions": [
{
"namespace": "urn:uaix:ext:evidence",
"purpose": "将一致性记录链接到精确的目录工件。",
"critical": false
}
]
}
[
"1.0",
"uai.conformance.result.v1",
"msg-2026-04-22-0005",
[
"service",
"uaix.validator",
"UAIX 验è¯å™¨",
"https://uaix.org/en-us/tools/validator/",
"did:web:uaix.org",
"conformance-checker",
"uaix-core-0.4.0"
],
[
"message",
"msg-2026-04-22-0001",
"UAI æ„图请求 v1",
"https://uaix.org/wp-json/uaix/v1/examples/uai.intent.request.v1",
"did:web:uaix.org",
"checked-record",
"uai.intent.request.v1"
],
[
"conv-2026-04-22-uaix-validator-001",
"turn-001",
"msg-2026-04-22-0001",
null,
1
],
[
"sync",
"routine",
"2026-04-29T16:00:15Z",
false,
false
],
[
"signed-envelope",
"jws",
"did:web:uaix.org",
"https://uaix.org/.well-known/uai.json",
"https://uaix.org/signatures/msg-2026-04-22-0005.jws",
"rw-2026-04-22-0005"
],
[
"pass",
"uai.intent.request.v1",
[],
{
"error_count": 0,
"warning_count": 0,
"checked_at": "2026-04-22T16:00:15Z"
},
{
"catalog_url": "https://uaix.org/wp-json/uaix/v1/catalog",
"schema_url": "https://uaix.org/wp-json/uaix/v1/schemas/uai.intent.request.v1",
"registry_url": "https://uaix.org/wp-json/uaix/v1/registry/uai.intent.request.v1",
"example_url": "https://uaix.org/wp-json/uaix/v1/examples/uai.intent.request.v1",
"field_registry_url": "https://uaix.org/wp-json/uaix/v1/field-registry",
"transport_bindings_url": "https://uaix.org/wp-json/uaix/v1/transport-bindings",
"trust_channels_url": "https://uaix.org/wp-json/uaix/v1/trust-channels",
"conformance_levels_url": "https://uaix.org/wp-json/uaix/v1/conformance-levels",
"error_registry_url": "https://uaix.org/wp-json/uaix/v1/error-registry",
"validate_url": "https://uaix.org/wp-json/uaix/v1/validate"
},
"msg-2026-04-22-0001"
],
[
"trace-7f3a2d",
"trace-root-uaix-2026",
"2026-04-22T16:00:15Z",
"urn:uaix:log:2026:0005",
"uaix.validator",
"model.uaix.validator-1",
1,
[
[
"conformance-export",
"uaix.validator",
"model.uaix.validator-1",
"生æˆäº†ä¸€ä»½å¯ç§»æ¤çš„一致性记录,其ä¸åŒ…嫿œ¬æ¬¡æ£€æŸ¥ä½¿ç”¨çš„ç¡®åˆ‡ä¼ è¾“ã€ä¿¡ä»»ã€é”™è¯¯å’Œä¸€è‡´æ€§å¼•用。"
]
]
],
[
2,
"sha256",
"jcs",
"sha256:8e0a46018d6f1cfaef0b7ab9de52e8503b119a91"
],
[
[
"urn:uaix:ext:evidence",
"将一致性记录链接到精确的目录工件。",
false
]
]
]
字段顺序遵循有键 JSON 示例、已发布的模式顺序以及公共字段注册表。
UAI-REGI-0006
UAI ä»»åŠ¡çŠ¶æ€ v1
å‘布长时任务状æ€ã€è¿›åº¦ã€é˜»å¡žå› ç´ å’Œç»“æžœå¼•ç”¨ï¼Œä½¿å¼‚æ¥ä»£ç†å·¥ä½œä¿æŒå¯å®¡è®¡ï¼Œè€Œä¸æ˜¯æ¶ˆå¤±åœ¨ç§æœ‰å·¥ä½œæµçжæ€ä¸ã€‚
- 配置文件
- uai.task.status.v1
- 结果
- 通过
- REST 路由
- /wp-json/uaix/v1/examples/uai.task.status.v1
{
"uai_version": "1.0",
"profile": "uai.task.status.v1",
"message_id": "msg-2026-04-22-0006",
"source": {
"type": "service",
"id": "uaix.gateway",
"label": "UAIX 闸门way",
"uri": "https://uaix.org/wp-json/uaix/v1/discovery",
"did": "did:web:uaix.org",
"role": "task-publisher",
"implementation": "uaix-core-0.4.0"
},
"target": {
"type": "agent",
"id": "agent.alpha",
"label": "Agent Alpha",
"uri": "https://agents.alpha.example/runtime",
"did": "did:web:agents.alpha.example",
"role": "requesting-agent",
"implementation": "alpha-runtime-2.4.1"
},
"conversation": {
"conversation_id": "conv-2026-04-22-uaix-001",
"turn_id": "turn-004",
"parent_message_id": "msg-2026-04-22-0002",
"sequence": 4
},
"delivery": {
"mode": "event",
"priority": "interactive",
"expires_at": "2026-04-22T16:20:00Z",
"reply_requested": false,
"ack_required": false,
"task_ref": "task-2026-04-22-0001"
},
"trust": {
"channel": "signed-envelope",
"auth_scheme": "jws",
"principal": "did:web:uaix.org",
"credential_ref": "https://uaix.org/.well-known/uai.json",
"signature_ref": "https://uaix.org/signatures/msg-2026-04-22-0006.jws",
"replay_window_id": "rw-2026-04-22-0006"
},
"body": {
"task_id": "task-2026-04-22-0001",
"state": "working",
"subject": "uai.task.status.v1",
"progress": 60,
"status_message": "å—æ®µæ³¨å†Œè¡¨å·²è§£æžï¼Œæ¨¡å¼èµ„料包已组装,æ£åœ¨å‡†å¤‡å‘å¸ƒè¯æ®ã€‚",
"result_profile": "uai.intent.response.v1",
"result_ref": "https://uaix.org/wp-json/uaix/v1/examples/uai.intent.response.v1",
"blocking_reasons": [],
"updated_fields": [
"body.progress",
"body.status_message",
"body.result_ref"
]
},
"provenance": {
"trace_id": "trace-7f3a2d",
"parent_trace_id": "trace-root-uaix-2026",
"issued_at": "2026-04-22T16:00:20Z",
"log_ref": "urn:uaix:log:2026:0006",
"agent_id": "uaix.gateway",
"model_id": "model.uaix.dispatch-1",
"confidence": 0.97,
"lineage": [
{
"stage": "task-status-update",
"actor_id": "uaix.gateway",
"model_id": "model.uaix.dispatch-1",
"note": "为异æ¥è¯·æ±‚å‘å¸ƒäº†ä¸€æ¡æ‰§è¡Œä¸çš„çŠ¶æ€æ›´æ–°ã€‚"
}
]
},
"integrity": {
"version": 2,
"algorithm": "sha256",
"canonicalization": "jcs",
"checksum": "sha256:14a53b2b665690ad9ac1b85793a6335cb55bb67e"
},
"extensions": [
{
"namespace": "urn:uaix:ext:delivery",
"purpose": "显å¼çš„异æ¥ä»»åŠ¡æ›´æ–°è·¯ç”±ã€‚",
"critical": false
}
]
}
[
"1.0",
"uai.task.status.v1",
"msg-2026-04-22-0006",
[
"service",
"uaix.gateway",
"UAIX 闸门way",
"https://uaix.org/wp-json/uaix/v1/discovery",
"did:web:uaix.org",
"task-publisher",
"uaix-core-0.4.0"
],
[
"agent",
"agent.alpha",
"Agent Alpha",
"https://agents.alpha.example/runtime",
"did:web:agents.alpha.example",
"requesting-agent",
"alpha-runtime-2.4.1"
],
[
"conv-2026-04-22-uaix-001",
"turn-004",
"msg-2026-04-22-0002",
null,
4
],
[
"event",
"interactive",
"2026-04-22T16:20:00Z",
false,
false,
"task-2026-04-22-0001"
],
[
"signed-envelope",
"jws",
"did:web:uaix.org",
"https://uaix.org/.well-known/uai.json",
"https://uaix.org/signatures/msg-2026-04-22-0006.jws",
"rw-2026-04-22-0006"
],
[
"task-2026-04-22-0001",
"working",
"uai.task.status.v1",
60,
"å—æ®µæ³¨å†Œè¡¨å·²è§£æžï¼Œæ¨¡å¼èµ„料包已组装,æ£åœ¨å‡†å¤‡å‘å¸ƒè¯æ®ã€‚",
"uai.intent.response.v1",
"https://uaix.org/wp-json/uaix/v1/examples/uai.intent.response.v1",
[],
[
"body.progress",
"body.status_message",
"body.result_ref"
]
],
[
"trace-7f3a2d",
"trace-root-uaix-2026",
"2026-04-22T16:00:20Z",
"urn:uaix:log:2026:0006",
"uaix.gateway",
"model.uaix.dispatch-1",
0.97,
[
[
"task-status-update",
"uaix.gateway",
"model.uaix.dispatch-1",
"为异æ¥è¯·æ±‚å‘å¸ƒäº†ä¸€æ¡æ‰§è¡Œä¸çš„çŠ¶æ€æ›´æ–°ã€‚"
]
]
],
[
2,
"sha256",
"jcs",
"sha256:14a53b2b665690ad9ac1b85793a6335cb55bb67e"
],
[
[
"urn:uaix:ext:delivery",
"显å¼çš„异æ¥ä»»åŠ¡æ›´æ–°è·¯ç”±ã€‚",
false
]
]
]
字段顺序遵循有键 JSON 示例、已发布的模式顺序以及公共字段注册表。