Skip to content

New section: Agentic transactions on XRPL#3663

Open
amarantha-k wants to merge 27 commits into
masterfrom
agentic-txns-xrpl
Open

New section: Agentic transactions on XRPL#3663
amarantha-k wants to merge 27 commits into
masterfrom
agentic-txns-xrpl

Conversation

@amarantha-k
Copy link
Copy Markdown
Collaborator

@amarantha-k amarantha-k commented May 27, 2026

Introducing a new section for agentic transactions on XRPL. This section includes an overview and a starter kit consisting of content and skills.
The initial milestone introduces the following:

  • Overview page
  • Getting started and agentic payments with x402
  • Agent wallet and payments skills.

@amarantha-k amarantha-k marked this pull request as ready for review June 2, 2026 20:42
Copilot AI review requested due to automatic review settings June 2, 2026 20:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Agentic Transactions” documentation section to the XRPL dev portal, including a landing page, getting-started guide, X402 guide, and supporting diagrams, plus associated navigation/SEO updates and Claude skill reference content.

Changes:

  • Adds a new Agentic Transactions landing page and several supporting docs pages (wallet skill, payments skill, telemetry, getting started, X402 flow).
  • Updates top navigation, sidebar structure, and SEO include globs to surface the new section.
  • Introduces new diagrams (agentic payment loop + X402 sequence) and new Claude skill reference files under .claude/skills.

Reviewed changes

Copilot reviewed 13 out of 18 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
top-nav.yaml Adds “Agentic Transactions” to the top navigation.
sidebars.yaml Adds a new sidebar section for Agentic Transactions and its child pages.
redocly.yaml Adds an SEO/LLMs.txt section to include docs under docs/agents/**.
@l10n/ja/translations.yaml Adds Japanese translation for the new top-nav label key.
docs/agents/agentic-transactions.page.tsx New landing page for the Agentic Transactions section.
docs/agents/getting-started-with-agentic-transactions.md New end-to-end tutorial for installing skills and making an initial payment.
docs/agents/xrpl-agent-wallet-skill.md New “Agent Wallet” skill documentation (signing ceremony, key handling, safeguards).
docs/agents/xrpl-payments-skill.md New “Payments” skill documentation (payment patterns, best practices, error handling).
docs/agents/track-agent-behavior.md New observability guide (SourceTag, Memos, WebSocket monitoring).
docs/agents/agentic-payments-x402.md New X402 guide (merchant + payer agent quickstarts) for XRPL settlement.
static/img/xrpl-agentic-payment-loop.svg Dark-mode agentic payment loop diagram asset.
static/img/xrpl-agentic-payment-loop-light.svg Light-mode agentic payment loop diagram asset.
docs/img/xrpl-agentic-payment-loop.svg Docs-local copy of the dark-mode agentic payment loop diagram.
docs/img/xrpl-agentic-payment-loop-light.svg Docs-local copy of the light-mode agentic payment loop diagram.
docs/img/x402-sequence-light.svg New light-mode X402 sequence diagram asset.
.claude/skills/xrpl-skills/xrpl-payments/SKILL.md Adds the XRPL Payments Claude skill definition.
.claude/skills/xrpl-skills/xrpl-payments/references/payments.md Adds detailed payments reference material for the XRPL Payments skill.
.claude/skills/xrpl-skills/xrpl-agent-wallet/SKILL.md Adds the XRPL Agent Wallet Claude skill definition.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/agents/getting-started-with-agentic-transactions.md Outdated
Comment thread docs/agents/xrpl-agent-wallet-skill.md Outdated
Comment thread docs/agents/agentic-payments-x402.md
Comment thread docs/agents/agentic-payments-x402.md
Comment thread docs/agents/agentic-payments-x402.md Outdated
Comment on lines +321 to +324
- [T54 X402 Documentation](https://xrpl-x402.t54.ai/docs) — The full X402 reference for
the XRPL implementation, including the exact payment scheme and facilitator API.
- [X402 Protocol Repository](#) — *(⚠️ FOLLOW-UP: Add the official X402 repo link once
the T54 PR is merged.)*
Comment thread sidebars.yaml Outdated
Comment thread redocly.yaml Outdated
Copy link
Copy Markdown
Collaborator

@oeggert oeggert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good, but there are a few issues to address with the skills and some styling on the main index page.

Comment thread docs/agents/agentic-transactions.page.tsx
Comment thread docs/agents/agentic-transactions.page.tsx
Comment thread static/img/xrpl-agentic-payment-loop-light.svg
Comment thread docs/agents/getting-started-with-agentic-transactions.md Outdated
Comment thread .claude/skills/xrpl-skills/xrpl-payments/references/payments.md Outdated
Comment thread docs/agents/getting-started-with-agentic-transactions.md Outdated
Comment on lines +98 to +99
Generate a new XRP Ledger testnet account. Show me the classic address and
the seed.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My AI went straight to generating and funding a wallet on testnet at this step.

Comment thread docs/agents/getting-started-with-agentic-transactions.md Outdated

wallet = generate_faucet_wallet(client, debug=True)
print(f"Address : {wallet.address}")
print(f"Seed : {wallet.seed}") # store securely — never hardcode
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code contradicts the directions from the wallet skill to never print seed phrases.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. However, in this case, the code is generating a new Testnet faucet wallet, and users will need the wallet address and seed to save for future use. Any suggestion on how we could handle this?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I was testing it out (loaded both payment and wallet skill), the wallet skill took over and got around this by saving it to an env file and pointed me to it. Wallet skill explicitly forbid it from ever echoing seed phrases, even for test accounts.

Is this skill intended to be totally functional on its own? Wallet handling AND transaction handling? The getting started guide makes it sound like the intended architecture splits that responsibility between the two skills, but then the actual skills kind of muddle responsibilities by having a wallet section within payment skills too.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revised skills and tutorial to clarity scope for both skills.

Comment thread docs/agents/xrpl-payments-skill.md
Copy link
Copy Markdown
Contributor

@maria-robobug maria-robobug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some lading page CSS suggestions, tested locally and should help fix some minor styling issues.

Comment thread docs/agents/agentic-transactions.page.tsx Outdated
Comment thread docs/agents/agentic-transactions.page.tsx
Comment thread docs/agents/agentic-transactions.page.tsx Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: oeggert <117319296+oeggert@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 4, 2026 20:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 18 changed files in this pull request and generated 13 comments.

Comment thread .claude/skills/xrpl-skills/xrpl-agent-wallet/SKILL.md Outdated
Comment thread .claude/skills/xrpl-skills/xrpl-agent-wallet/SKILL.md Outdated
Comment thread .claude/skills/xrpl-skills/xrpl-agent-wallet/SKILL.md Outdated
Comment on lines +14 to +16
wallet = generate_faucet_wallet(client, debug=True)
print(f"Address : {wallet.address}")
print(f"Seed : {wallet.seed}") # store securely — never hardcode
Comment on lines +24 to +27
const { wallet } = await client.fundWallet();
console.log("Address:", wallet.address);
console.log("Seed :", wallet.seed);
await client.disconnect();
Comment on lines +348 to +352
<img
src={require('../../static/img/xrpl-agentic-payment-loop-light.svg')}
alt="The Agentic Payment Loop: five steps — Trigger, Decision, Transaction, XRP Ledger Validation (tesSUCCESS or clean expiry), and Logging."
className="mw-100 agentic-loop-diagram"
/>
Comment on lines +74 to +75
npx skills add https://github.com/XRPLF/xrpl-dev-portal/tree/agentic-txns-xrpl/.claude/skills/xrpl-skills/xrpl-agent-wallet
npx skills add https://github.com/XRPLF/xrpl-dev-portal/tree/agentic-txns-xrpl/.claude/skills/xrpl-skills/xrpl-payments
Comment on lines +98 to +99
Generate a new XRP Ledger testnet account. Show me the classic address and
the seed.
Comment thread docs/agents/agentic-payments-x402.md Outdated
Comment on lines +323 to +324
- [X402 Protocol Repository](#) — *(⚠️ FOLLOW-UP: Add the official X402 repo link once
the T54 PR is merged.)*
Comment thread docs/agents/getting-started-with-agentic-transactions.md Outdated
Copilot AI review requested due to automatic review settings June 4, 2026 21:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 22 changed files in this pull request and generated 11 comments.

Comment thread sidebars.yaml
Comment on lines +744 to +747
- page: docs/agents/agentic-transactions.page.tsx
label: Agentic Transactions
labelTranslationKey: sidebar.docs.agenticTransactions
expanded: false
Comment thread docs/agents/getting-started-with-agentic-transactions.md Outdated
Comment on lines +93 to +96
```
Generate a new XRP Ledger testnet account. Show me the classic address and
the seed.
```
Comment on lines +190 to +196
from xrpl.clients import JsonRpcClient
from xrpl.wallet import generate_faucet_wallet

client = JsonRpcClient("https://s.altnet.rippletest.net:51234")
wallet = generate_faucet_wallet(client, debug=True)
print(f"Address : {wallet.classic_address}")
print(f"Balance : 1000 XRP") # Testnet faucet provides 1000 XRP
Comment on lines +27 to +29
The XRP Ledger is a supported settlement chain in the X402 ecosystem via an
implementation contributed by T54. This means agents using the XRP Ledger can pay for
X402-gated services using XRP or RLUSD on day one.
Comment on lines +252 to +253
<!-- ⚠️ FOLLOW-UP: Add JavaScript client quickstart once T54 publishes the
x402-xrpl JavaScript client documentation. -->
Comment on lines +293 to +294
<!-- ⚠️ FOLLOW-UP: Confirm RLUSD support status in x402-xrpl and update this section
when available. -->
Comment on lines +417 to +436
{requirementCards.map((card, idx) => {
const isLinked = !!card.href;
const inner = (
<div className="card-body">
<p className="req-number">{card.number}</p>
<h4 className="card-title h5">{translate(card.title)}</h4>
<p className="card-text">{translate(card.description)}</p>
</div>
);
return isLinked ? (
<Link
className="card req-linked"
to={card.href}
key={card.title + idx}
>
{inner}
<div className="card-footer">
<span className="req-arrow">→</span>
</div>
</Link>
Comment on lines +144 to +146
{/* ── Per-page styles: icon circles + chip-blue (dark & light modes) ── */}
<style>{`
/* Icon circle base */
Comment thread docs/agents/agentic-transactions.page.tsx
amarantha-k and others added 2 commits June 4, 2026 14:59
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 4, 2026 22:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 22 changed files in this pull request and generated 11 comments.

Comment thread styles/_cards.scss
Comment on lines +186 to +190
&.row-cols-lg-2 .card {
@include media-breakpoint-up(lg) {
flex-basis: calc(50% - #{(2 * $card-deck-margin)});
}
}
Comment on lines +144 to +148
{/* ── Per-page styles: icon circles + chip-blue (dark & light modes) ── */}
<style>{`
/* Icon circle base */
.benefit-icon-wrap {
position: relative;
Comment thread sidebars.yaml
Comment on lines +744 to +747
- page: docs/agents/agentic-transactions.page.tsx
label: Agentic Transactions
labelTranslationKey: sidebar.docs.agenticTransactions
expanded: false
Comment on lines 82 to 84
topnav.docs.defi: DeFi(分散型金融)
topnav.docs.agentic-transactions: エージェントトランザクション
topnav.docs.get-started: はじめよう
Comment on lines +201 to +202
The account is now active on the ledger. An XRPL account requires a minimum
balance of 10 XRP (the base reserve) to exist — the faucet covers this.
Comment on lines +607 to +611
| Account activation | 10 XRP base reserve |
| Each trust line | +2 XRP owner reserve |
| Each escrow | +2 XRP owner reserve |
| Each open offer (DEX) | +2 XRP owner reserve |
| Each payment channel | +2 XRP owner reserve |
Comment on lines +620 to +621
BASE_RESERVE_DROPS = 10_000_000 # 10 XRP
OWNER_RESERVE_DROPS = 2_000_000 # 2 XRP per object
Comment on lines +27 to +33
The XRP Ledger is a supported settlement chain in the X402 ecosystem via an
implementation contributed by T54. This means agents using the XRP Ledger can pay for
X402-gated services using XRP or RLUSD on day one.

<!-- ⚠️ FOLLOW-UP: Confirm that the T54 X402 PR has been merged into the official X402
repository and that the XRP Ledger appears as a supported chain in X402 public
documentation before publishing this page. -->
Comment on lines +252 to +253
<!-- ⚠️ FOLLOW-UP: Add JavaScript client quickstart once T54 publishes the
x402-xrpl JavaScript client documentation. -->
Comment on lines +290 to +294
For dollar-denominated pricing with price stability, RLUSD support in `x402-xrpl` is
on the roadmap. Use XRP for all testnet development today.

<!-- ⚠️ FOLLOW-UP: Confirm RLUSD support status in x402-xrpl and update this section
when available. -->
Copilot AI review requested due to automatic review settings June 5, 2026 22:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 22 changed files in this pull request and generated 8 comments.

Comment thread styles/_cards.scss
Comment on lines +186 to +190
&.row-cols-lg-2 .card {
@include media-breakpoint-up(lg) {
flex-basis: calc(50% - #{(2 * $card-deck-margin)});
}
}
Comment on lines +144 to +146
{/* ── Per-page styles: icon circles + chip-blue (dark & light modes) ── */}
<style>{`
/* Icon circle base */
Comment on lines +316 to +322
<picture>
<source
srcSet={card.image}
media="(prefers-color-scheme: dark)"
/>
<img src={card.imageLight} alt="" aria-hidden="true" />
</picture>
Comment thread docs/agents/agentic-transactions.page.tsx
Comment on lines +31 to +33
<!-- ⚠️ FOLLOW-UP: Confirm that the T54 X402 PR has been merged into the official X402
repository and that the XRP Ledger appears as a supported chain in X402 public
documentation before publishing this page. -->
Comment on lines +252 to +253
<!-- ⚠️ FOLLOW-UP: Add JavaScript client quickstart once T54 publishes the
x402-xrpl JavaScript client documentation. -->
Comment on lines +293 to +294
<!-- ⚠️ FOLLOW-UP: Confirm RLUSD support status in x402-xrpl and update this section
when available. -->
Comment on lines 80 to 84
topnav.docs.payments: 支払い
topnav.docs.tokenization: トークン化
topnav.docs.defi: DeFi(分散型金融)
topnav.docs.agentic-transactions: エージェントトランザクション
topnav.docs.get-started: はじめよう
@oeggert
Copy link
Copy Markdown
Collaborator

oeggert commented Jun 6, 2026

I'm going to push a fix for the benefits cards.

Old cards (incorrect)
imageimage
New cards (fixed). This matches the style that exists in the rest of the site.
imageimage

Also committing @maria-robobug fix for the card chips.

Copilot AI review requested due to automatic review settings June 6, 2026 01:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

Copilot AI review requested due to automatic review settings June 6, 2026 02:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

Copy link
Copy Markdown
Collaborator

@oeggert oeggert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed commits to fix issues that were definite problems, including the benefits icon issue (see above comment). Otherwise this now looks good--I left a few open questions for you, but they wouldn't be blockers to merge.

Comment thread .claude/skills/xrpl-skills/xrpl-payments/references/payments.md Outdated

---

## Where to go next
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change this to be ## See Also to match the rest of the site? I noticed this on all the other agentic doc pages as well.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed we're classifying this and track-agent-behavior.md as use cases. Do we want this to reside in the actual Use Cases directory?

account=wallet.address,
destination="rDestinationAddress",
amount=xrp_to_drops(25),
source_tag=AGENT_SOURCE_TAG,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know technically we're saying payment constructs the object, but I think we should shift SourceTag info to the wallet skill since it's a universal thing we want every agentic tx submission to have. This saves us from having to remember to add it in for future skills.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants