Skip to content

sd-005: The docs' agentic-payments coverage documents x402 and MPP mechanics in depth #2565

Open

Description

@kalepail

Finding

The docs' agentic-payments coverage documents x402 and MPP mechanics in depth
but contains zero positioning against the wider agent-payments landscape
(Google's AP2, the Agentic Commerce Protocol). "How do Stellar's x402/MPP
relate to AP2/ACP?" is the natural comparison question the docs invite by
covering the mechanics — and a corpus-grounded agent must punt on it, because
the answer exists nowhere in the corpus: not in the docs page, not in the
Algolia index, not in the bundled agentic-payments skill, and not in any
lumenloop title or summary. In the 2026-07-06 QA round the answering agent
did exhaustive, correct retrieval across all of those surfaces and could only
report "not indexed"; the golden's landscape keyFact (AP2/ACP are
general/coordination-layer standards, not Stellar settlement) was
unreachable from grounded sources, and the partial verdict stands as a
measurement of the corpus, not the agent.

Evidence

All probes live on production, 2026-07-06, reproducible verbatim:

  • stellarDocs.get_doc_page_sections("/docs/build/agentic-payments", includeContent) — 2,798 chars total, 0 matches for "AP2" / "Agentic
    Commerce" / "coordination".
  • Algolia search_docs("AP2 Agent Payments Protocol") — 5 hits, all
    substring artifacts (Algolia bolds "AP" inside "APIs" on the x402/MPP
    pages); "Agentic Commerce Protocol ACP" — noise hits only (passkeys, SCP
    glossary).
  • Full read of skills.stellar-dev.agentic-payments — 28,563 chars, 0
    matches for AP2 / ACP / "Agentic Commerce" / "Agent Payments Protocol" /
    Google / Visa.
  • Lumenloop title/URL probes for "AP2" / "agentic commerce" / "agent payments
    protocol" across articles/research/av/events/proposals — 0 hits; the top
    semantic candidates (articles 5934, 3015, 7050, 2596) have 1.3–1.6k-char
    summaries with 0 mentions.

QA case q-defi-agentic-payment-standards-compare in the 2026-07-06 stamp;

Additional recorded evidence:

Recommendation

Cheapest fix: a short "x402/MPP vs the broader agent-payments landscape"
subsection on the agentic-payments overview page — three sentences suffice:
AP2 (Google) is a coordination/mandate layer that can route settlement
through x402 rails; ACP is a general agent-commerce protocol; x402/MPP are
the Stellar-settled pair. That one subsection converts an unanswerable
comparison into an indexed answer. Secondary (lumenloop, noted here since the
gap spans both corpora): no article or research summary mentions AP2 or ACP —
a landscape explainer would fill the same hole on the editorial side.
Consumer-side workaround: none from grounded retrieval; an agent can state
the general characterization from parametric knowledge without fabricating,
but corpus-faithful agents will keep punting until the docs say it.

Source Record

This was found by the downstream Raven eval/improvements loop and recorded as sd-005 (stellar-docs, discovered 2026-07-06). Public record: https://github.com/kalepail/stellar-raven/blob/main/improvements/stellar-docs/sd-005-agentic-payments-no-landscape-positioning.md

Activity

  1. added
    raven
    on Jul 14, 2026
  2. ElliotFriend commented on Jul 21, 2026

    @ElliotFriend
    Contributor

    Triage note from the Raven audit pass: this reads as a valid enhancement / scoping request rather than a docs defect — nothing currently on main is factually wrong. There's a genuine gap (no AP2 / Agentic-Commerce positioning in docs/), but whether our reference docs should position against fast-moving third-party protocols is a DevRel content decision that carries drift risk.

    One small correctable inaccuracy did surface: the x402 "from Coinbase" attribution is stale (now x402 Foundation / Linux Foundation).

    Leaving open pending a DevRel scope call; happy to take the x402 attribution fix as a quick standalone if we want it independent of the larger decision.

  3. kalepail commented on Jul 27, 2026

    @kalepail
    ContributorAuthor

    Agreed on the scoping call. The landscape-positioning ask is an enhancement, not a docs defect, and the drift-risk argument against positioning our reference docs against fast-moving third-party protocols is a fair one. Happy for that half to wait on a DevRel decision — or to be closed as out of scope if that's the call.

    Please do take the x402 attribution fix. That one is a plain factual correction (x402 Foundation under the Linux Foundation, not Coinbase Developer Platform) and stands on its own regardless of the positioning question.

    We've narrowed our record accordingly: the attribution is now the actionable defect and the comparative-landscape subsection is marked optional rather than requested.

  4. kalepail commented on Nov 14, 2026

    @kalepail
    ContributorAuthor

    Rechecked on 2026-11-14: line 11 of https://developers.stellar.org/docs/build/agentic-payments.md still reads "An open protocol from the Coinbase Developer Platform for per-request payments…".

    Since 2026-07-14 the x402 protocol is stewarded by the x402 Foundation under the Linux Foundation; Coinbase contributed it (Linux Foundation announcement, x402.org).

    Proposed replacement for that sentence in docs/build/agentic-payments/index.mdx, for whoever applies it:

    x402 on Stellar — An open protocol, stewarded by the x402 Foundation (Linux Foundation) and originally contributed by Coinbase, for per-request payments using Soroban authorization entries, with facilitator-based verification and settlement.

  5. stellar-doxie commented on Nov 14, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Working this because the issue carries the raven label.

    I am checking the x402 attribution on the agentic payments overview page first. The landscape section is a separate scope question.

  6. stellar-doxie commented on Nov 14, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Working this because the issue carries the raven label.

    Attribution fix: #3142 (Refs this issue).

    • x402 is now credited to the x402 Foundation at the Linux Foundation, created at Coinbase.
    • The Linux Foundation release of 2026-07-14 confirms this. coinbase/x402 is now a fork of x402-foundation/x402.
    • The PR also fixes the same claim on the x402 page, the quickstart, and the Built on Stellar facilitator page.

    Decision needed (@kaankacar, @ElliotFriend): should the agentic payments overview add a short section that positions x402 and MPP against AP2 and ACP?

    • Option 1: add it. Three sentences on the overview page, with links to each spec. It can drift as those protocols change.
    • Option 2: do not add it. Close this issue after Update x402 attribution to the x402 Foundation #3142 merges. The Raven record already marks this part optional.
  7. added
    bot:needs-decision
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot:needs-decisionraven

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions