A202

io.github.a202-protocol由 GitHub 帳號 a202-protocol 發布v0.1.0更新於 Oct 24, 2026

Verifiable agreements for agent-led commerce: mandates, obligations, evidence, transaction records.

已驗證STDIO僅桌面開發者工具商業與電商

概覽

AI 產生的概覽

A202 為代理主導的商務提供可驗證的協議物件:授權、義務、證據與交易紀錄。

可以做什麼
A202 是一套用於獨立組織之間可驗證協議的規範與一致性測試套件,也涵蓋由軟體代理執行的交易。它定義了委託商業權限的型別化物件、交易與工作階段狀態機、揭露規則,以及可執行的一致性套件,用來判斷實作是否通過或失敗。儲存庫還包含 JSON 結構描述、測試資料、清單與規範性執行器。
適用情境
當你需要為代理對代理或代理主導的交易建模或驗證委託商業權限、協商狀態或可驗證一致性時使用。它面向必須就共享商業模型達成共識並證明一致性的實作。
執行需求
以本機程序透過 stdio 執行。一致性執行器需要 Python 3 與 jsonschema>=4.18,可安裝於虛擬環境中。未宣告驗證、環境變數或標頭。
安裝前請注意
專案處於 1.0 之前的發布階段,次要版本遞增可能破壞相容性。它整體為資訊性內容,本身不執行交易或轉移資金。名稱是 Plural Worlds 的商標,允許的使用方式見 TRADEMARK.md。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 A202,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

A202: the Verifiable Agreement Protocol for Agent-Led Commerce

Status: Informative in full.

A202 is verifiable commerce for agent-to-agent or agent-led transactions: an open specification of commercial authority, negotiation state, and verifiable conformance for transactions between independent organisations, including transactions conducted on their behalf by software agents.

It defines typed objects for delegated commercial authority, a state machine for the transaction and for each bilateral session inside it, rules for what may be disclosed to whom, and an executable conformance suite that turns each of those into a check an implementation either passes or fails.

The full statement of purpose, scope, and non-goals is in CHARTER.md.

Created and developed by A. A. Musse. See MAINTAINERS.md.

Status

Released, pre-1.0.

  • v0.1.0 is the first tagged release of the set: a tag, a digest for every schema file, the conformance manifest, and release notes, published together. See RELEASES.md and CHANGELOG.md. Before 1.0 a MINOR increment may break compatibility, and any break carries migration notes.
  • The name is A202, spoken "A two-oh-two", and in full A202, the Verifiable Agreement Protocol for Agent-Led Commerce. The long form is a descriptor and not an expansion: the letters do not stand for it. The 202 is HTTP 202 Accepted, which A202-0017 makes the status an accepted submission returns, because acceptance is the primitive the rest of the specification is built on. The A202- reason-code prefix, the A202-NNNN proposal identifiers, and the a202-commercial/0.1 specification version string all follow from the name.
  • A202™ is a trademark of Plural Worlds. Permitted use of the name is stated in TRADEMARK.md.
  • Schema $id values resolve under https://schemas.a202.org. Fixture hosts use reserved .invalid names, because test data must never resolve.
  • Licensed under the Apache License, Version 2.0. One licence covers the whole repository: specification text, schemas, fixtures, manifest, runner, and informative documents. The licence carries an express patent grant from each contributor. See LICENSE and CONTRIBUTING.md.
  • External contributions are accepted on the terms in CONTRIBUTING.md: inbound contributions under the same licence, with a developer certificate of origin sign-off.

Layout

PathContents
CHARTER.mdPurpose, scope, non-goals, design principles
GOVERNANCE.mdHow the project is run, and what the sponsor does and does not control
MAINTAINERS.mdWho maintains this repository
CONTRIBUTING.mdContribution status, and the terms a contribution is accepted under
SECURITY.mdPrivate coordinated disclosure
THREAT-MODEL.mdAdversaries assumed, properties defended, and what is deliberately not defended
CODE_OF_CONDUCT.mdExpected conduct
TRADEMARK.mdThe A202 name, and what use of it is and is not permitted
RELEASES.mdVersioning, what a release consists of, compatibility policy
CHANGELOG.mdWhat changed, and where the release notes required by RELEASES.md accumulate
.github/Review routing, the pull request and issue forms, and the workflow that runs the suite on every change
proposals/The A202 change proposal process
schemas/Canonical commercial model, transaction profile extension model, and the JSON schemas
authority/Commercial mandate: delegated authority, constraints, delegation, approval, revocation
discovery/Counterparty invitation: how an unregistered party enters one named transaction
negotiation/Transaction and session state machines, and auction event semantics
conformance/Fixtures, manifest, normative runner, and the conformance grade definitions

Each specification document carries a status header stating which of its sections are normative and which are informative.

Running the conformance suite

The runner validates every fixture named in the manifest against the schemas, then applies the invariants that JSON Schema cannot express. Schema validity is not conformance, which is the reason the runner exists.

It needs jsonschema>=4.18. If that is not on the system interpreter, a virtual environment is enough:

bash
python3 -m venv .venv && .venv/bin/pip install "jsonschema>=4.18"

Run it from the repository root:

bash
python3 conformance/run-conformance.py --verbose

The expected result is every fixture passing and none failing, with the totals the manifest carries: the manifest is the single source for the count, and the runner prints it on every run. The runner also asserts that each negative fixture is refused for the reason code the manifest declares for it, wherever the normative layer raises codes at all. Run it before and after any schema change.

Every negative fixture is minimal: removing the single offending element must leave a document that validates cleanly. A negative fixture that fails for an incidental reason tests nothing, so verify that when adding one.

The suite does not depend on anyone remembering to run it. It runs, together with the reference implementation tests and the MCP server tests, on every pull request and on every push to the default branch, under .github/workflows/checks.yml. GOVERNANCE.md section 3.4 requires the suite to pass for any change to schemas, fixtures, the manifest, or the runner, and that workflow is what turns the requirement into a gate.

Where to start reading

  1. CHARTER.md for what this is and what it deliberately is not.
  2. schemas/canonical-commercial-model-v0.1.md for the object model, the envelope, and the invariants schema validation cannot express.
  3. negotiation/pilot-transaction-state-machine-v0.1.md for what moves state and what does not.
  4. conformance/manifest-v0.1.json for the fixtures that decide whether an implementation agrees with either of the above.

來源:README.md,提交 8473b04

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分