
a2a-wiki
io.github.khoap1220-hue/a2a-wiki
Offline BM25 A2A v1.0.1, agent-card JWS, MCPB v0.3 & x402/AP2 documentation wiki for LLMs.
Documentation
The Open A2A v1.0.1 & .mcpb Engineering Wiki (a2a-wiki)
"The Context7 for A2A
v1.0.1, Anthropic.mcpbv0.3, RFC 8785 JCS,x402&AP2."
Canonical Web Edition: https://khoaphan.dev/a2a-wiki/ · Live Agent IQ Benchmark: https://khoaphan.dev/a2a-iq/
Why This Wiki & Offline .mcpb Server Exist
Base LLMs suffer from severe post-training-cutoff hallucinations when generating multi-agent and MCP bundle code:
- Emitting removed A2A
v0.3methods ("message/send","tasks/get") instead of normative A2Av1.0.1PascalCase ("SendMessage","GetTask","SendStreamingMessage"). - Emitting lowercase
"role": "user"or tagged"kind": "text"parts instead of strict ProtoJSON"ROLE_USER","TASK_STATE_*", and flattenedPartoneof ({"text": "..."}). - Injecting
"homepage"or"license"at the root of/.well-known/agent-card.json, triggeringS4-REJECT-005strict ProtoJSON unmarshalling failures and cross-SDK Ed25519 JWS signature breakage. - Writing bare
"args": ["launcher.py"]without"${__dirname}"inside Anthropic.mcpbv0.3manifests, causing instantFileNotFoundErrorcrashes in Claude Desktop. - Using IEEE-754
floatnumbers (0.25) instead of exact integer minor-unit strings ("250000") inx402HTTP 402 andAP2(Agent Payments Protocol) mandates.
khoap1220-hue/a2a-wiki solves this for both humans and AI coding agents:
- For Engineers & Architects:
24structured, machine-verifiedRAW -> SPEC -> TECHreference articles inwiki/and at khoaphan.dev/a2a-wiki. - For Claude Desktop, Cursor, Windsurf & VS Code (
io.github.khoap1220-hue/a2a-wiki): A zero-dependency Python>=3.10stdlib Okapi BM25 MCP Server (< 20mscold boot) with6grounding tools,3slash prompts, and3instant wire-format cheatsheet resources—working100%offline with zero API keys.
Quick Install (Claude Desktop, Cursor, Windsurf & VS Code)
Option 1 — One-Click .mcpb Desktop Extension (Claude Desktop)
Download a2a-wiki.mcpb from the latest GitHub Release and drag it into Claude Desktop -> Settings -> Extensions. Zero pip install or environment variables required.
Option 2 — Zero-Install uvx Prebuilt Wheel (<0.6s Cold Boot, 0 Dependencies)
# Run CLI selftest or BM25 search directly with zero install
uvx --from https://github.com/khoap1220-hue/a2a-wiki/releases/latest/download/a2a_wiki-1.0.0-py3-none-any.whl a2a-wiki selftest
# Register stdio MCP server in Claude Code CLI
claude mcp add a2a-wiki -- uvx --from https://github.com/khoap1220-hue/a2a-wiki/releases/latest/download/a2a_wiki-1.0.0-py3-none-any.whl a2a-wiki-server
Option 3 — Cursor / Windsurf / VS Code mcp.json
{
"mcpServers": {
"a2a-wiki": {
"command": "a2a-wiki-server",
"args": []
}
}
}
Complete Knowledge Base Table of Contents (24 Verified RAW -> SPEC -> TECH Articles)
Every article follows a deterministic YAML frontmatter graph (id, type, title, protocol_version, tags, canonical_url, source_ids, updated_at) verified on every commit via wiki_validate_frontmatter_graph.
Lane 1 — RAW Upstream Changelogs & Threat Intakes (4 Docs)
| ID | Topic & Protocol | Repo Markdown | Web Canonical URL |
|---|---|---|---|
RAW-001 | A2A v0.3 -> v1.0.1 Breaking Wire Changelog | wiki/raw-001-a2a-v03-to-v101-breaking-changes.md | khoaphan.dev/a2a-wiki/raw-001-a2a-v03-to-v101-breaking-changes/ |
RAW-002 | Anthropic .mcpb v0.3 & Official MCP Registry Intake | wiki/raw-002-anthropic-mcpb-v03-bundle-intake.md | khoaphan.dev/a2a-wiki/raw-002-anthropic-mcpb-v03-bundle-intake/ |
RAW-003 | x402 HTTP 402 & AP2 Agentic Payments Intake | wiki/raw-003-x402-ap2-agentic-payments-intake.md | khoaphan.dev/a2a-wiki/raw-003-x402-ap2-agentic-payments-intake/ |
RAW-004 | MCP & A2A Security Advisories & CVEs (2025–2026) | wiki/raw-004-mcp-a2a-security-advisories-2025-2026.md | khoaphan.dev/a2a-wiki/raw-004-mcp-a2a-security-advisories-2025-2026/ |
Lane 2 — SPEC Normative Protocol & Cryptography Specifications (10 Docs)
Lane 3 — TECH Framework Guides & Production Zero-Dep Code Recipes (10 Docs)
MCP Tools, Slash Prompts & Resources Reference
6 Read-Only Grounding Tools (readOnlyHint: true)
| Tool Name | Purpose | Key Inputs |
|---|---|---|
wiki_search | Sub-millisecond Okapi BM25 search across all 24 articles | query, doc_type (RAW/SPEC/TECH), tag, limit |
wiki_get_article | Full Markdown spec, parsed JSON schemas & code blocks | identifier (doc_id, slug, or alias like "agent-card", "x402") |
wiki_compare_protocols | Side-by-side matrices (A2A v1.0.1 vs MCP 2026, v0.3 vs v1.0.1, x402 vs AP2, .mcpb v0.2 vs v0.3) | comparison |
wiki_check_hallucination | Deterministic linter catching v0.3 RPCs, S4-REJECT-005, missing ${__dirname}, and x402 floats | snippet, artifact_hint |
wiki_get_code_recipe | Copy-paste zero-dep Python/TypeScript production recipes | recipe_id (5 built-in recipes) |
wiki_validate_frontmatter_graph | Verify RAW -> SPEC -> TECH YAML frontmatter & source_ids DAG | wiki_dir (defaults to bundled wiki/), strict_coverage |
3 Slash Prompts & 3 Built-in Resources
| Type | Identifier | Description |
|---|---|---|
| Prompt | ground-llm-on-a2a-v1 | Ground coding agent on A2A v1.0.1 ProtoJSON & S4-REJECT-005 before codegen |
| Prompt | check-code-for-a2a-v03-hallucinations | Audit generated JSON/code against post-cutoff v0.3, .mcpb, and x402 traps |
| Prompt | compare-a2a-vs-mcp-architecture | Architectural decision matrix for MCP tools vs A2A remote peers & AP2/x402 |
| Resource | a2a-wiki://index/catalog | Complete JSON catalog of all 24 RAW, SPEC, and TECH articles |
| Resource | a2a-wiki://cheatsheet/v1.0.1-wire-format | Instant A2A v1.0.1 methods, enums, Part oneof & S4-REJECT-005 cheatsheet |
| Resource | a2a-wiki://cheatsheet/mcpb-v0.3-manifest | Instant .mcpb v0.3 (${__dirname}) & server.json (<= 100 chars) cheatsheet |
Instant A2A v0.3 -> v1.0.1 Cheatsheet
| Surface | Hallucinated v0.3 (Fails!) | Normative v1.0.1 (Strict ProtoJSON) |
|---|---|---|
| Discovery URI | /.well-known/agent.json | /.well-known/agent-card.json |
| Endpoint Field | Root "url": "https://..." | "supportedInterfaces": [{"url": "https://...", "protocolBinding": "JSONRPC", "protocolVersion": "1.0"}] |
| Send & Stream | "message/send", "tasks/sendSubscribe" | "SendMessage", "SendStreamingMessage" |
| Task Ops | "tasks/get", "tasks/cancel" | "GetTask", "ListTasks", "CancelTask", "SubscribeToTask" |
| Enums | "role": "user", "state": "working" | "role": "ROLE_USER", "state": "TASK_STATE_WORKING" |
Part Union | {"kind": "text", "text": "..."} | {"text": "..."} (no "kind" or "type" discriminator!) |
CLI Usage & Local Verification
# Run deterministic offline self-test (BM25 + DAG + Linter + 5 Recipes)
a2a-wiki selftest --json
# Search articles from terminal
a2a-wiki search "S4-REJECT-005 AgentCard"
# Validate RAW -> SPEC -> TECH frontmatter graph
a2a-wiki validate-graph
# Lint an LLM-generated file for v0.3 / MCPB / x402 hallucinations
a2a-wiki lint path/to/agent-card.json
Companion Ecosystem & Written A2A Architecture Sprints
- Benchmark Your Agent's A2A
v1.0.1& MCP Security IQ (60–160Scale): https://khoaphan.dev/a2a-iq/ - Web Reference Wiki: https://khoaphan.dev/a2a-wiki/
- Production A2A
v1.0.1,.mcpbv0.3&x402/AP2Engineering Sprints: Delivered via 100% written asynchronous engineering workflows (written GitHub specs, deterministic test suites, and signed Code-First PR deliverables) at https://khoaphan.dev/services/.
License
MIT © Khoa Phan
https://github.com/khoap1220-hue/a2a-wiki/releases/download/v1.0.0/a2a-wiki.mcpb# mcpb: https://github.com/khoap1220-hue/a2a-wiki/releases/download/v1.0.0/a2a-wiki.mcpbRelated Servers
io.github.khoap1220-hue/a2a-iq-mcp
Zero-dep 8-Dimension A2A v1.0 & MCP Agent IQ Benchmark (8 tools, leaderboard, JCS & x402).
io.github.khoap1220-hue/a2a-registry-bridge-mcp
Zero-dep A2A v1.0.1 <-> MCP bridge, registry search & pure-Python Ed25519 + JCS AgentCard signer.
io.github.khoap1220-hue/a2a-task-orchestrator-mcp
Zero-dep A2A v1.0.1 task FSM orchestrator, multi-agent agent-card DAG & SSRF webhook guard.