What this page is for
Use this page as the shortest published onboarding bundle for a first proof run against the live UAI-1 surface. It keeps the starter files, validator-ready payloads, mock-exchange examples, an implementation-evidence checklist, conformance fixture pack, and implementation next steps in one public packet.
包含内容 in the kit
- Copyable starter files for the first message, validator request, and release-review handoff.
- Multi-language starter calls for curl, PowerShell, Python, and TypeScript.
- One implementation-evidence checklist covering identity, supported profile scope, validator output, machine-route and cache posture, trust and threat boundaries, locale and accessibility QA, fixtures, release trail, and support boundary.
- One conformance fixture pack with current positive keyed/minified/keyless cases, canonical-hash equivalence metadata, and negative missing-profile, missing-required-field, undeclared-field, invalid-traceparent, DID/VC trust-evidence, keyless-shape, keyless-overflow, and unsupported-alias cases.
- One reference mock-exchange packet plus direct links back to schemas, registry, examples, and 实施轨道.
When to use it
- Start here when a team needs the shortest route from reading UAI-1 to producing one reusable validator-backed packet.
- Complete the checklist and run the fixture pack before turning a first proof into public release or support language.
- Move to API 参考 when you need the full route inventory and OpenAPI contract.
- Move to 一致性包 when the packet needs the broader release-evidence bundle for launch review or regression work.
Definition of done for a first proof
- The message declares one published profile and passes the matching schema and validator policy checks.
- The evidence packet names the schema, registry entry, field registry, example or fixture, validator result, and checked route URLs.
- The implementation names exactly what it supports and what it does not support before any public support language is used.
- Machine-route posture, POST guardrails, trust-channel assumptions, and release-trail links are captured beside the packet.
- The proof can be rerun by another reviewer from public UAIX routes without private notes.
Published onboarding bundle
Use the adoption kit below to fetch the current first-proof packet and keep the exact starter files, checklist, and fixture pack together.
当前发布
UAI-1
- 生成时间
- 2026-06-11T06:19:38+00:00
- 下载文件
- uai-1-adoption-kit-2026-06-08.json
- Starter profile
- uai.intent.request.v1
- Starter files
- 9
- Languages
- 4
随包一起发布的内容
最小公开证明包
- 起步消息、验证请求、一致性记录和模拟交换请求。
- 第一个起步配置文件的模式、注册表、示例和机器路由链接。
- WordPress 和 .NET 发布路径的实现轨道入口。
- 另一位评审者无需私有设置说明即可复用的可下载 JSON。
最佳用途
把团队从阅读带到证明
Use the adoption kit for first-day onboarding, launch QA, evaluator handoff, or internal pairing when a teammate needs the shortest public route from the spec to one reviewable packet.
相关页面
保持下一步有明确名称
/wp-json/uaix/v1/catalog
Adoption kit
/wp-json/uaix/v1/adoption-kit
验证
/wp-json/uaix/v1/validate
Mock exchange
/wp-json/uaix/v1/mock-exchange
一致性包
/wp-json/uaix/v1/conformance-pack
Starter sequence
真实首次使用时如何使用此工具包
- 先打开已发布的采用工具包页面或 JSON 路由,让入门从当前公开数据包开始,而不是从私有笔记开始。
- 解析一个起步配置文件,然后把它的模式、注册表条目和示例 fixture 一起保留为首次证明包。
- 运行验证器,并把生成的一致性记录附在评审时使用的准确起步数据包旁边。
- 当运行时轨道尚未发布自身实现、但你需要一个实时一致响应包时,把同一数据包提交到模拟交换。
- 在从首次证明推进到公开发布或支持表述前,填写实现证据清单。
- 在扩大发布数据包前,使用一致性 fixture 包检查当前正向和反向验证器行为。
- 当候选实现需要展示 A2A、MCP、OpenAPI、DID/VC 或 Trace Context 证据如何映射到 UAI-1 记录时,使用桥接证据包。
- 在对外提出支持声明前,把证明包带入已命名实现轨道、一致性包和发布轨迹。
{
"adoption_kit_url": "/wp-json/uaix/v1/adoption-kit",
"download_url": "/wp-json/uaix/v1/adoption-kit?download=1",
"starter_files": [
{
"label": "Starter message",
"filename": "starter-message.json",
"top_level_keys": [
"uai_version",
"profile",
"message_id",
"source",
"target",
"conversation",
"delivery",
"trust",
"body",
"provenance",
"integrity",
"extensions"
]
},
{
"label": "Validation request",
"filename": "validate-request.json",
"top_level_keys": [
"message",
"normalization_mode",
"format"
]
},
{
"label": "Mock exchange request",
"filename": "mock-exchange-request.json",
"top_level_keys": [
"scenario",
"format",
"message"
]
},
{
"label": "一致性 record",
"filename": "uai-conformance-record.json",
"top_level_keys": [
"uai_version",
"profile",
"message_id",
"source",
"target",
"conversation",
"delivery",
"trust",
"body",
"provenance",
"integrity",
"extensions"
]
},
{
"label": "Implementation evidence checklist",
"filename": "implementation-evidence-checklist.json",
"top_level_keys": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
]
},
{
"label": "一致性 fixture pack",
"filename": "conformance-fixture-pack.json",
"top_level_keys": [
"kind",
"generated_at",
"current_release",
"uai_version",
"profile_id",
"purpose",
"fixture_count",
"positive_count",
"negative_count",
"coverage",
"canonical_hash_equivalence",
"route_contract",
"cases"
]
},
{
"label": "Bridge evidence pack",
"filename": "bridge-evidence-pack.json",
"top_level_keys": [
"kind",
"generated_at",
"standard_family",
"current_release",
"uai_version",
"release_date",
"description",
"support_boundary",
"case_count",
"validated_case_count",
"adjacent_standard_count",
"adjacent_standards",
"uai_profiles",
"available_in",
"verification",
"cases"
]
},
{
"label": "Capability profile starter",
"filename": "capability-profile.json",
"top_level_keys": [
"uai_version",
"profile",
"message_id",
"source",
"target",
"conversation",
"delivery",
"trust",
"body",
"provenance",
"integrity",
"extensions"
]
},
{
"label": "Capability negotiation starter",
"filename": "capability-negotiation.json",
"top_level_keys": [
"uai_version",
"profile",
"message_id",
"source",
"target",
"conversation",
"delivery",
"trust",
"body",
"provenance",
"integrity",
"extensions"
]
}
],
"use": "Fetch the adoption kit JSON for the full starter file contents."
}{
"kind": "uaix.mock.exchange.result.v1",
"generated_at": "2026-06-11T06:19:38+00:00",
"route_url": "/wp-json/uaix/v1/mock-exchange",
"scenario": "accepted-task",
"http_status": 202,
"summary": "The reference surface accepted the request and returned a conforming async handoff using `uai.intent.response.v1`.",
"request": {
"message": {
"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": "/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",
"trust_profile": "uai.trust.did-vc-reference.v1",
"verification_status": "not_verified",
"credential_status": "not_checked",
"verifier_ref": "https://agents.alpha.example/verifiers/uai-trust-policy.json",
"trust_root_ref": "https://agents.alpha.example/.well-known/uai.json",
"proof_ref": "https://agents.alpha.example/signatures/msg-2026-04-22-0001.jws",
"replay_policy_ref": "https://agents.alpha.example/trust/replay-policy.json",
"verification_checked_at": "2026-04-22T16:00:00Z",
"verification_expires_at": "2026-04-22T16:05:00Z",
"assurance_level": "reference_only"
},
"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
}
]
},
"validation": {
"valid": true,
"checked_at": "2026-06-11T06:19:38+00:00",
"profile": "uai.intent.request.v1",
"current_release": "UAI-1",
"uai_version": "1.0",
"schema_route_url": "/wp-json/uaix/v1/schemas/uai.intent.request.v1",
"registry_route_url": "/wp-json/uaix/v1/registry/uai.intent.request.v1",
"issue_count": 0,
"error_count": 0,
"warning_count": 0,
"errors": [],
"warnings": [],
"status": "pass",
"normalization": {
"mode": "keyed-json",
"status": "current",
"supported": true,
"input_shape": "json-object",
"normalized": false,
"registry_release": "UAI-1",
"registry_release_date": "2026-06-08",
"field_registry_url": "/wp-json/uaix/v1/field-registry",
"canonicalization": "jcs-compatible-sorted-json",
"canonical_hash": "sha256:df1471b14bfab5649ab461956640cfe8201aab274f3db190bc621dc195dc2abd",
"byte_count": 2665
},
"conformance_record": {
"uai_version": "1.0",
"profile": "uai.conformance.result.v1",
"message_id": "msg-20260611T061938Z-5ca61c838b79",
"source": {
"type": "service",
"id": "uaix.validator",
"label": "UAIX 验证器",
"uri": "/en-us/tools/validator/",
"did": "did:web:uaix.org",
"role": "conformance-checker",
"implementation": "uaix-core-3.88.0"
},
"target": {
"type": "message",
"id": "msg-2026-04-22-0001",
"label": "uai.intent.request.v1",
"uri": "/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-001",
"turn_id": "turn-validator-5ca61c838b79",
"parent_message_id": "msg-2026-04-22-0001",
"sequence": 2,
"traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01"
},
"delivery": {
"mode": "sync",
"priority": "routine",
"expires_at": "2026-06-18T06:19:38+00:00",
"reply_requested": false,
"ack_required": false
},
"trust": {
"channel": "signed-envelope",
"auth_scheme": "validator-record",
"principal": "did:web:uaix.org",
"credential_ref": "/.well-known/uai.json",
"signature_ref": "/en-us/tools/validator/",
"replay_window_id": "rw-conformance-20260611-5ca61c838b79"
},
"body": {
"status": "pass",
"checked_profile": "uai.intent.request.v1",
"issues": [],
"summary": {
"error_count": 0,
"warning_count": 0,
"checked_at": "2026-06-11T06:19:38+00:00"
},
"artifacts": {
"catalog_url": "/wp-json/uaix/v1/catalog",
"schema_url": "/wp-json/uaix/v1/schemas/uai.intent.request.v1",
"registry_url": "/wp-json/uaix/v1/registry/uai.intent.request.v1",
"example_url": "/wp-json/uaix/v1/examples/uai.intent.request.v1",
"field_registry_url": "/wp-json/uaix/v1/field-registry",
"transport_bindings_url": "/wp-json/uaix/v1/transport-bindings",
"trust_channels_url": "/wp-json/uaix/v1/trust-channels",
"conformance_levels_url": "/wp-json/uaix/v1/conformance-levels",
"error_registry_url": "/wp-json/uaix/v1/error-registry",
"validate_url": "/wp-json/uaix/v1/validate"
},
"target_message_ref": "msg-2026-04-22-0001"
},
"provenance": {
"trace_id": "trace-7f3a2d",
"issued_at": "2026-06-11T06:19:38+00:00",
"log_ref": "urn:uaix:log:2026:0001",
"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": "生成时间 a validator-backed evidence record for the checked message using keyed-json normalization."
}
],
"parent_trace_id": "trace-7f3a2d"
},
"integrity": {
"version": 2,
"algorithm": "sha256",
"canonicalization": "jcs",
"checksum": "sha256:d5c3fef11e65c44dcd91b164df0ce15c03cf39c8b69ced323dcdab8c7da7d07d"
},
"extensions": [
{
"namespace": "urn:uaix:ext:evidence",
"purpose": "Links conformance output to the exact 公开制品 used during validation.",
"critical": false
}
]
},
"download_filename": "msg-20260611T061938Z-5ca61c838b79.json"
}
},
"response_profile": "uai.intent.response.v1",
"response_message": {
"uai_version": "1.0",
"profile": "uai.intent.response.v1",
"message_id": "msg-mock-accepted-597a626a1d45",
"source": {
"type": "service",
"id": "uaix.mock.exchange",
"label": "UAIX 模拟交换",
"uri": "/wp-json/uaix/v1/mock-exchange",
"did": "did:web:uaix.org",
"role": "reference-server",
"implementation": "uaix-core-3.88.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-mock-597a626a1d45",
"parent_message_id": "msg-2026-04-22-0001",
"traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-550702a0f1ed2653-01",
"sequence": 2
},
"delivery": {
"mode": "async",
"priority": "interactive",
"expires_at": "2026-04-22T16:05:00+00:00",
"reply_requested": false,
"ack_required": true,
"task_ref": "task-mock-597a626a1d45"
},
"trust": {
"channel": "signed-envelope",
"auth_scheme": "jws",
"principal": "did:web:uaix.org",
"credential_ref": "/.well-known/uai.json",
"signature_ref": "/wp-json/uaix/v1/mock-exchange#signature-597a626a1d45",
"replay_window_id": "rw-mock-597a626a1d45"
},
"body": {
"status": "accepted",
"subject": "uai.task.status.v1",
"request_message_id": "msg-2026-04-22-0001",
"result": {
"task_id": "task-mock-597a626a1d45",
"status_profile": "uai.task.status.v1",
"status_example_url": "/wp-json/uaix/v1/examples/uai.task.status.v1",
"response_profile": "uai.intent.response.v1",
"follow_up_scenarios": [
"completed-response",
"typed-error"
],
"field_registry_url": "/wp-json/uaix/v1/field-registry",
"mock_exchange_url": "/wp-json/uaix/v1/mock-exchange"
},
"notices": [
"accepted-task-started",
"use-task-status-example-for-shape-checks",
"reference-surface-response"
],
"task_ref": "task-mock-597a626a1d45"
},
"provenance": {
"trace_id": "trace-7f3a2d",
"issued_at": "2026-04-22T16:00:03+00:00",
"log_ref": "urn:uaix:log:mock:20260611:597a626a1d45",
"agent_id": "uaix.mock.exchange",
"model_id": "model.uaix.mock.exchange-1",
"confidence": 1,
"lineage": [
{
"stage": "mock-acceptance",
"actor_id": "uaix.mock.exchange",
"model_id": "model.uaix.mock.exchange-1",
"note": "Accepted the request and published a deterministic async handoff from the UAIX mock exchange surface."
}
],
"parent_trace_id": "trace-7f3a2d"
},
"integrity": {
"version": 2,
"algorithm": "sha256",
"canonicalization": "jcs",
"checksum": "sha256:4a47fb9d3e7771504ba41ed7388fb792c977387ac57dee9a8c76639948880bf4"
},
"extensions": [
{
"namespace": "urn:uaix:ext:mock-exchange",
"purpose": "Marks this envelope as a deterministic response from the UAIX live reference surface for scenario `accepted-task`.",
"critical": false
}
]
},
"response_validation": {
"valid": true,
"checked_at": "2026-06-11T06:19:38+00:00",
"profile": "uai.intent.response.v1",
"current_release": "UAI-1",
"uai_version": "1.0",
"schema_route_url": "/wp-json/uaix/v1/schemas/uai.intent.response.v1",
"registry_route_url": "/wp-json/uaix/v1/registry/uai.intent.response.v1",
"issue_count": 0,
"error_count": 0,
"warning_count": 0,
"errors": [],
"warnings": [],
"status": "pass",
"normalization": {
"mode": "keyed-json",
"status": "current",
"supported": true,
"input_shape": "json-object",
"normalized": false,
"registry_release": "UAI-1",
"registry_release_date": "2026-06-08",
"field_registry_url": "/wp-json/uaix/v1/field-registry",
"canonicalization": "jcs-compatible-sorted-json",
"canonical_hash": "sha256:a707cab98243e3a0695246e828bd02083a2585f15114931e9b79aba33095e081",
"byte_count": 2708
},
"conformance_record": {
"uai_version": "1.0",
"profile": "uai.conformance.result.v1",
"message_id": "msg-20260611T061938Z-3dcb0aad395c",
"source": {
"type": "service",
"id": "uaix.validator",
"label": "UAIX 验证器",
"uri": "/en-us/tools/validator/",
"did": "did:web:uaix.org",
"role": "conformance-checker",
"implementation": "uaix-core-3.88.0"
},
"target": {
"type": "message",
"id": "msg-mock-accepted-597a626a1d45",
"label": "uai.intent.response.v1",
"uri": "/wp-json/uaix/v1/examples/uai.intent.response.v1",
"did": "did:web:uaix.org",
"role": "checked-record",
"implementation": "uai.intent.response.v1"
},
"conversation": {
"conversation_id": "conv-2026-04-22-uaix-001",
"turn_id": "turn-validator-3dcb0aad395c",
"parent_message_id": "msg-mock-accepted-597a626a1d45",
"sequence": 3,
"traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-550702a0f1ed2653-01"
},
"delivery": {
"mode": "sync",
"priority": "routine",
"expires_at": "2026-06-18T06:19:38+00:00",
"reply_requested": false,
"ack_required": false
},
"trust": {
"channel": "signed-envelope",
"auth_scheme": "validator-record",
"principal": "did:web:uaix.org",
"credential_ref": "/.well-known/uai.json",
"signature_ref": "/en-us/tools/validator/",
"replay_window_id": "rw-conformance-20260611-3dcb0aad395c"
},
"body": {
"status": "pass",
"checked_profile": "uai.intent.response.v1",
"issues": [],
"summary": {
"error_count": 0,
"warning_count": 0,
"checked_at": "2026-06-11T06:19:38+00:00"
},
"artifacts": {
"catalog_url": "/wp-json/uaix/v1/catalog",
"schema_url": "/wp-json/uaix/v1/schemas/uai.intent.response.v1",
"registry_url": "/wp-json/uaix/v1/registry/uai.intent.response.v1",
"example_url": "/wp-json/uaix/v1/examples/uai.intent.response.v1",
"field_registry_url": "/wp-json/uaix/v1/field-registry",
"transport_bindings_url": "/wp-json/uaix/v1/transport-bindings",
"trust_channels_url": "/wp-json/uaix/v1/trust-channels",
"conformance_levels_url": "/wp-json/uaix/v1/conformance-levels",
"error_registry_url": "/wp-json/uaix/v1/error-registry",
"validate_url": "/wp-json/uaix/v1/validate"
},
"target_message_ref": "msg-mock-accepted-597a626a1d45"
},
"provenance": {
"trace_id": "trace-7f3a2d",
"issued_at": "2026-06-11T06:19:38+00:00",
"log_ref": "urn:uaix:log:mock:20260611:597a626a1d45",
"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": "生成时间 a validator-backed evidence record for the checked message using keyed-json normalization."
}
],
"parent_trace_id": "trace-7f3a2d"
},
"integrity": {
"version": 2,
"algorithm": "sha256",
"canonicalization": "jcs",
"checksum": "sha256:1b81cf08e71cd0fd5849b2500ec1f416dfbbb80637c9a6452edd3c6d220dfeea"
},
"extensions": [
{
"namespace": "urn:uaix:ext:evidence",
"purpose": "Links conformance output to the exact 公开制品 used during validation.",
"critical": false
}
]
},
"download_filename": "msg-20260611T061938Z-3dcb0aad395c.json"
},
"links": {
"catalog_url": "/wp-json/uaix/v1/catalog",
"validate_url": "/wp-json/uaix/v1/validate",
"field_registry_url": "/wp-json/uaix/v1/field-registry",
"response_example_url": "/wp-json/uaix/v1/examples/uai.intent.response.v1",
"task_status_example_url": "/wp-json/uaix/v1/examples/uai.task.status.v1"
}
}Keep the starter packet, validator record, mock response, and named implementation lane together. That bundle is the public adoption handoff the site now publishes directly.
路由-level starter calls
Use the route and language examples below when you want the same packet in curl, PowerShell, Python, or TypeScript.
Client examples
curl、PowerShell、Python 和 TypeScript 的路由级起步请求
当你需要实时目录、示例、验证器和模拟响应调用,而不想反向解析 REST 表面时,使用这些片段。
起步片段使用实时公开路由,而不是私有 SDK 或未发布的辅助层。
curl -sS "/wp-json/uaix/v1/adoption-kit" -o uai-adoption-kit.jsoncurl -sS "/wp-json/uaix/v1/catalog"curl -sS "/wp-json/uaix/v1/examples/uai.intent.request.v1" -o example-record.jsoncurl -sS -X POST "/wp-json/uaix/v1/validate" \
-H "Content-Type: application/json" \
-d @validate-request.jsoncurl -sS -X POST "/wp-json/uaix/v1/mock-exchange" \
-H "Content-Type: application/json" \
-d @mock-exchange-request.jsonInvoke-RestMethod -Uri "/wp-json/uaix/v1/adoption-kit" | ConvertTo-Json -深度 20 | Set-Content .\uai-adoption-kit.jsonInvoke-RestMethod -Uri "/wp-json/uaix/v1/catalog"Invoke-RestMethod -Uri "/wp-json/uaix/v1/examples/uai.intent.request.v1" | ConvertTo-Json -深度 20 | Set-Content .\example-record.json$message = (Get-Content -Raw .\example-record.json | ConvertFrom-Json).message
$body = @{ message = $message; format = "result" } | ConvertTo-Json -深度 20
Invoke-RestMethod -Method Post -Uri "/wp-json/uaix/v1/validate" -ContentType "application/json" -Body $body$message = (Get-Content -Raw .\example-record.json | ConvertFrom-Json).message
$body = @{ scenario = "accepted-task"; format = "exchange"; message = $message } | ConvertTo-Json -深度 20
Invoke-RestMethod -Method Post -Uri "/wp-json/uaix/v1/mock-exchange" -ContentType "application/json" -Body $bodyimport json, urllib.request
kit = json.load(urllib.request.urlopen("/wp-json/uaix/v1/adoption-kit"))import json, urllib.request
catalog = json.load(urllib.request.urlopen("/wp-json/uaix/v1/catalog"))example_record = json.load(urllib.request.urlopen("/wp-json/uaix/v1/examples/uai.intent.request.v1"))
message = example_record.get("message", example_record)payload = json.dumps({"message": message, "format": "result"}).encode("utf-8")
request = urllib.request.Request("/wp-json/uaix/v1/validate", data=payload, headers={"Content-Type": "application/json"}, method="POST")
result = json.load(urllib.request.urlopen(request))payload = json.dumps({"scenario": "accepted-task", "format": "exchange", "message": message}).encode("utf-8")
request = urllib.request.Request("/wp-json/uaix/v1/mock-exchange", data=payload, headers={"Content-Type": "application/json"}, method="POST")
exchange = json.load(urllib.request.urlopen(request))const kit = await fetch("/wp-json/uaix/v1/adoption-kit").then((response) => response.json());const catalog = await fetch("/wp-json/uaix/v1/catalog").then((response) => response.json());const exampleRecord = await fetch("/wp-json/uaix/v1/examples/uai.intent.request.v1").then((response) => response.json());
const message = exampleRecord.message ?? exampleRecord;const result = await fetch("/wp-json/uaix/v1/validate", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ message, format: "result" }),
}).then((response) => response.json());const exchange = await fetch("/wp-json/uaix/v1/mock-exchange", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ scenario: "accepted-task", format: "exchange", message }),
}).then((response) => response.json());下一步 step
Continue to Implementations when the proof run needs a named release lane, return to 验证器 when you want the workbench workflow, or use API 参考 when you need the broader machine contract behind the kit.