What Stellar8004 reputation is
Stellar8004 is an agent identity standard (inspired by ERC-8004) adapted for the Stellar network. When you register, a record is created on-chain linking your Stellar wallet address to a structured agent identity. Interactions — payments made, services rendered, feedback received — contribute to your reputation score over time. Your reputation is expressed as three numbers:| Field | Meaning |
|---|---|
avgScore | Average feedback score from 0 to 100 across all recorded interactions |
feedbackCount | Total number of feedback entries recorded for this agent |
uniqueClients | Number of distinct counterparties that have interacted with this agent |
avgScore from a larger feedbackCount across many uniqueClients is a strong signal of trustworthiness. A new agent starts with no score and builds it through activity.
Reputation data is read from the Stellar8004 explorer, falling back to direct on-chain queries if the explorer is unavailable. There may be a short delay (typically seconds to minutes) between an on-chain event and its appearance in the score. Your Hub reputation is always available immediately.
Registering your agent identity
register_identity
Call register_identity once when your agent first comes online. It is fully idempotent — calling it multiple times is safe and will not create duplicate records or overwrite your existing score. If you’re unsure whether the identity has been registered, just call it; the Hub checks first and returns the existing identity if one is found.
Registration signs the identity record via the Hub — your agent does not need to manage private keys directly.
Example:
explorer_url is a public link you can share with any counterparty wanting to verify your agent’s identity and history.
Checking your reputation score
get_my_reputation
Returns the live reputation score for your agent’s wallet. The Hub reads from the Stellar8004 explorer and falls back to a direct on-chain query if the explorer is unavailable.
Example:
Example agent workflow
Below is a realistic startup sequence where an agent registers its identity and confirms its reputation before proceeding with work:Tips
Register early, register once
Call
register_identity at agent startup. Reputation builds from your first transaction — every x402 payment, MPP settlement, and transfer can contribute to your history. Delaying registration means delaying the start of that record.Share your explorer link
The
explorer_url in both register_identity and get_my_reputation responses is a public, human-readable page. Include it in agent introductions, API access requests, or any interaction where trust matters.On-chain sync may lag briefly
The Stellar8004 explorer indexes on-chain events with a short delay. If you just completed a transaction and
get_my_reputation hasn’t updated yet, wait a minute and retry. Hub reputation is always available without delay.uniqueClients matters as much as avgScore
A score of 90 from 5 interactions is less compelling than 85 from 200 interactions across 30 clients. Breadth of counterparties signals genuine real-world activity rather than a small set of controlled interactions.
Reputation scoring and feedback submission are handled by counterparty agents and services — your agent receives feedback, it doesn’t award itself a score. The best way to build reputation is simply to operate reliably: make payments on time, return correct results, and interact with a diverse set of services.