REA AsyncAPI YAML notes (unofficial)
AsyncAPI YAML (or JSON) specs pin event-driven API contract identity. In REA 6.7.x, treat selected channels / operations / servers pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the AsyncAPI tree (+ generated artifacts you hold).
- Quote selected
asyncapiversion / channels / operations / bindings pins you actually see (never paste broker secrets). - Cousins → openapi-generator · smithy-idl · protobuf-blobs.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_asyncapi_ymlAPI REA never called.
Minimal path
# authorized asyncapi.yaml (+ artifact you hold)
# quote selected channels / operations / servers / bindings into case notes
# cousins → peer OpenAPI / Smithy / protobuf lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_asyncapi_yml .
Compare
| Artifact | Honest posture |
|---|---|
| AsyncAPI YAML | Event-contract identity facts |
| OpenAPI peer | rea-openapi-generator |
| Smithy peer | rea-smithy-idl |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
asyncapiversion,info.title, channel names, and operation action (send/receive) — not full payload schemas unless needed. - Protocol bindings (Kafka, MQTT, AMQP, WebSocket) are useful Evidence — label which binding you inspected.
- Redact
servers[].url, security schemes, and example credentials before sharing. - Generated clients/docs are build outputs — stay on documented package/archive routes.
- Keep AsyncAPI event contracts distinct from OpenAPI REST paths in binders.
Scope we will not cover
- No inventing
inspect_asyncapi_yml/ automatic broker publish against foreign projects. - No credential theft from servers or security blocks.
- No pirate redistribution of proprietary AsyncAPI specs.
- No crack framing via AsyncAPI pins.
- No bypass cookbooks that strip auth bindings to attack foreign brokers.
Honest limits
RepoRead documents config literacy — how authorized AsyncAPI trees relate to Evidence — not a full AsyncAPI Studio course. Prefer upstream AsyncAPI docs for bindings and schemas. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-openapi-generator / rea-smithy-idl?
rea-openapi-generator covers OpenAPI/REST generator configs; rea-smithy-idl covers Smithy models. This page zooms on AsyncAPI event-contract identity — it does not overwrite those pages.
Is there inspect_asyncapi_yml in 6.7.0?
Not assumed. Quote asyncapi / channels / operations / servers pins you actually open, then use documented package/archive lanes. Do not invent inspect_asyncapi_yml.
Does REA connect to message brokers or steal broker credentials?
No. Local trees only. Redact Kafka/MQTT/AMQP URLs with secrets; do not treat REA as an AsyncAPI runtime. No credential theft.
How should I label Evidence vs other IDL configs?
Label Evidence by the file present. Keep AsyncAPI separate from rea-openapi-generator, rea-smithy-idl, and rea-protobuf-blobs.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).