Back to work

1st of 35 teams

Tšepo

Tšepo (Tsepo) is a payment control layer for AI agents on the XRP Ledger. The model only reads the instruction. Rules decide, and every payment needs a second signature from a separate approval service. It placed first of 35 teams in the Agentic Finance track of the Node Engine Hackathon at W3Node 2026.

Mokhachane Moshoeshoe on stage holding the framed first place award, next to the event host.
Receiving first place in the Agentic Finance track at W3Node 2026. Photo: W3Node.

Problem

AI agents have already sent money they should not have. An agent that can pay needs a control that a prompt cannot talk its way past, and the platform that receives a payment must know who sent it.

What I built

A payment control layer for AI agents on the XRP Ledger, built in three days. Tšepo means trust in Sesotho.

My role

Solo: design, build and pitch.

How it works

  • The model only reads the instruction. Rules decide.
  • Every payment needs a second signature from a separate approval service, so a prompt injection cannot move money.
  • The XRP Ledger itself rejects unregistered agents (tecNO_PERMISSION) and revoked agents (tecBAD_CREDENTIALS).
  • The receiving platform gets the sender's details before each payment, as South Africa's Travel Rule (FIC Directive 9) requires.
  • Built with Next.js, TypeScript, xrpl.js, Zod and the Anthropic Claude API, tested with Vitest and Playwright, and hosted on Railway.
  • It runs on the XRP Ledger Testnet.
The Tšepo business console on the Payments page, listing each payment an agent made or tried to make with its recipient, amount in RLUSD and a Paid or Not approved status

Stack

Next.js, TypeScript, xrpl.js, Zod, Anthropic Claude API, Vitest, Playwright, Railway

Decision

The AI model reads the instruction and decides nothing. Rules written in code decide, and a separate approval service holds the second signing key. The agent's master key is disabled, so the agent cannot pay alone even if it is tricked.

Trade-off

Every payment needs a second signature, which adds a step and a second service to run. I accepted that cost because a single key held by the agent is the exact weakness a prompt injection exploits.

Storage is a small interface with a local file adapter, not a database. That was right for three days. A production version needs a real database behind the same interface.

Outcome

First of 35 teams, Agentic Finance track.

  • Placed first of 35 teams in the Agentic Finance track, sponsored by Ripple, at the Node Engine Hackathon at W3Node 2026.
  • Scored 86.6/100 from three judges, with full marks (33/33) for business and market fit.
  • Judge comment: "Problem is well defined and built on a real need."
  • Live at tsepo.up.railway.app.
  • The full code is public on GitHub.
A hand holding the framed award. It reads Node Awards, Agentic Finance, 2026 Winner, Node Engine.
First place, Agentic Finance track, W3Node 2026.

Proven on Testnet

Proven on Testnet
What it provesResult
The credential is issuedtesSUCCESS
The agent accepts ittesSUCCESS
The deposit address accepts only credential holderstesSUCCESS
Every payment needs two signaturestesSUCCESS
The agent pays in RLUSD, co-signedtesSUCCESS
The ledger rejects an agent without a credentialtecNO_PERMISSION
The business revokes the agenttesSUCCESS

The XRP Ledger Testnet is reset from time to time, which erases its history. These results are from a run in November 2026. The code that produces them is on GitHub (opens in a new tab).