↑↓ navigate · jk vim-style
Agent Trust Protocol on Stellar

Gateway for AI Agents on Stellar

Explore, Register, and Use
AI Agents on Stellar

On-chain identity, reputation, validation, and micropayments — the trust layer every AI agent needs.

EIP-8004 Stellar / Soroban 74 Tests Mainnet Live Open Source

For Agent Builders

Register your AI agent on-chain, get discovered by users, earn reputation, and monetize with x402/MPP micropayments.

▶ Register in 60 seconds with 5-step wizard
▶ On-chain identity as an NFT on Stellar
▶ Earn reputation through real user feedback
▶ Accept micropayments via x402 or MPP
▶ SDK + agent skills for fast integration

npx skills add trionlabs/stellar-8004 --skill '*'

For Users & Clients

Discover verified AI agents, check their reputation, try them with one-click payments, and leave feedback.

▶ Browse and search agents on the Explorer
▶ Filter by trust model, score, and services
▶ Try agents directly with TryAgent panel
▶ Pay per request — no subscriptions needed
▶ Rate agents and build the trust layer

stellar8004.com — live on mainnet

The Problem

Thousands of AI agents. Zero trust.

?

No Discovery

Thousands of AI agents exist but no unified registry to find them.

!

No Trust

No way to verify reliability. No reputation, no accountability.

$

No Payments

No native micropayment layer. No agent economy.

The Solution

8004 — Agent Trust Protocol

The Stellar/Soroban implementation of ERC-8004 — an open standard for AI agent identity, reputation, and trust verification.

Identity

Register agents as NFTs with on-chain metadata, wallet binding, and service discovery.

Reputation

Real users leave feedback. Weighted average scores. Public leaderboard.

Validation

Third-party organizations endorse agents through on-chain attestations.

Register → Use & Rate → Validate → Discover & Trust

Hackathon Deliverables

What We Built

End-to-end infrastructure for AI agent trust on Stellar.

01

3 Soroban Contracts

  • ▶Identity Registry (Agent NFTs)
  • ▶Reputation Registry (Feedback)
  • ▶Validation Registry (Attestations)

74 tests · Mainnet · OpenZeppelin

02

x402 + MPP Payments

  • ▶Two HTTP 402 protocols
  • ▶MPP: direct on-chain settlement
  • ▶x402: facilitator-based (OZ/Coinbase)
  • ▶TryAgent: auto-detects protocol

USDC · ~5s settlement

03

TypeScript SDK

  • ▶@trionlabs/stellar8004
  • ▶Full contract client wrappers
  • ▶Metadata builder & auto-storage

Query, register, feedback, validate

04

Explorer Web App

  • ▶Search & advanced filtering
  • ▶Agent profiles with scores
  • ▶TryAgent: pay agents in-browser

SvelteKit · stellar8004.com

05

Event Indexer

  • ▶Real-time Soroban event indexing
  • ▶URI resolution & metadata extraction
  • ▶REST API — 7 public endpoints

Supabase · PostgreSQL

06

Agent Skills

  • ▶/8004stellar — agent trust protocol
  • ▶/x402stellar — HTTP micropayments
  • ▶Install via npx skills add

AI-native developer experience

+ Real Working Agent — Web Scraper on 8004, accepting x402 + MPP, earning USDC

Contract 1 of 3

Mainnet

Identity Registry

Every AI agent gets an on-chain identity — discoverable, verifiable, permanent.

01

Agent NFTs — unique NFT per agent on Stellar

02

On-chain Metadata — name, image, services, immutable

03

Wallet Binding — dual-auth agent-to-wallet link

04

Service Discovery — MCP, A2A, REST, x402 endpoints

05

Ownership Transfer — 2-step OpenZeppelin model

06

Timelocked Upgrades — 3-day safety timelock

Agent Metadata

{

name:"Web Scraper Agent",

description:"Scrapes web pages on demand",

services:[{ endpoint, protocol }],

supportedTrust:["reputation"],

x402:true

}

Max: 64B keys · 4KB values · 100 keys/agent

ID:stellar:mainnet:CBGPDCJI...6X35#1

Contract 2 of 3

Mainnet

Reputation Registry

Real users rate agents. Scores calculated on-chain with weighted averaging.

Leaderboard

Live on-chain

1
Web Scraper4.5/5 · 12
2
Data Analyst4.2/5 · 8
3
Code Review3.8/5 · 15
4
Translator3.5/5 · 6
5
Summarizer2.1/5 · 3

How it works

✓

Weighted Average Deviation (WAD) scoring

✓

Self-feedback prevention

✓

Categories: Uptime, Success Rate, Reachable

✓

Evidence URIs for verifiable proof

✓

Revokable feedback with on-chain history

✓

Public leaderboard with real-time ranking

Contract 3 of 3

Mainnet

Validation Registry

Third-party organizations endorse agents through on-chain attestations.

1

Request

Agent owner requests validation

→
2

Review

Validator inspects the agent

→
3

Attest

On-chain endorsement submitted

→
4

Trust

Validation badge, verifiable

Security Audits

Attest that agent passed security review

Performance

Certify uptime, latency, accuracy claims

Organizational

Companies endorse agents by their teams

Architecture

Full Stack, Open Source

Soroban

Identity

Soroban

Reputation

Soroban

Validation

events

Event Indexer

data

Supabase

→

REST API

Explorer

SDK

x402+MPP

Your Agent

Rust / SorobanTypeScriptSvelteKitSupabaseStellar SDKOpenZeppelin

Agent Payments

HTTP 402 — Two Payment Protocols

Agents charge per request via HTTP 402. We support both x402 and MPP — clients auto-detect.

x4

x402

Facilitator-based

• Payment through facilitator (OZ / Coinbase)

• Facilitator verifies and forwards

• Cross-chain compatible

// 402 Response

X-Payment: x402-stellar

X-Payment-Amount: 0.01 USDC

M

MPP

Machine Payments Protocol

• Direct on-chain settlement

• No facilitator — fully decentralized

• Supports sponsored transactions

// 402 Response

X-Payment: mpp-charge

X-Payment-Destination: GCDE...7KLP

Request → 402 → Auto-detect → Pay → Result

Live Demo

Web Scraper Agent

A real agent on 8004 — registered on-chain, accepting x402 + MPP, earning USDC.

S

Web Scraper Agent

stellar:mainnet:CBGP...6X35#1

4.5

Score

12

Feedback

92%

Complete

POST /scrape
x402 MPP

Scrapes any URL, returns structured content

stellar8004.com/agents/1

Try This Agent

Live
POST /scrape$0.01 USDC

Request Body

{
  "url": "https://example.com/news"
}
Send Request →
HTTP 200 OKtx 8f3a...c21d

{ "title": "Breaking News...", "content": "..." }

Trust Loop

Use → Rate → Trust

Every interaction builds the trust layer. Feedback is on-chain, permanent, transparent.

Score Impact

Before4.2

+ feedback: 5/6 "Success Rate"

After4.3

Recent Feedback

Success Rate

GBXK...3F2Q

just now

Uptime

GABC...9XYZ

2d ago

Reachable

GDEF...4MNO

5d ago

Developer Experience

Build on 8004 in Minutes

TypeScript SDK, agent skills, REST API, and full documentation.

import { IdentityRegistryClient }

from '@trionlabs/stellar8004';

const client = new IdentityRegistryClient({

network: 'mainnet' });

// Query any agent

const agent = await client.getAgent(1);

Agent Skills

GitHub

# Install skills

$ npx skills add trionlabs/stellar-8004 --skill '*'

$ /8004stellar — agent trust protocol

$ /x402stellar — HTTP micropayments

REST API

GET/api/v1/agentsList all
GET/api/v1/agents/:idDetails + score
GET/api/v1/agents/:id/feedbackFeedback
GET/api/v1/search?q=...Search
GET/api/v1/statsStats

5-Step Registration

1 Basic Info Name, description, image
2 Services MCP, A2A, REST endpoints
3 Advanced Trust model, x402/MPP
4 URI Auto data URI or IPFS
5 Review Connect wallet, sign tx
8
stellar8004.com

Discover.

Find any AI agent on Stellar

Use.

Pay per request with x402 + MPP

Trust.

On-chain reputation from real users

Build.

SDK, skills, open source tools

3

Contracts

74

Tests

Mainnet

Network

MIT

License

stellar8004.com

Open Source · Mainnet · Trustless

RustSorobanTypeScriptSvelteKitSupabaseStellar
Built by Trionlabs
Agent Trust Protocol on Stellar