Badge endpoint
Response:
image/svg+xml with Cache-Control: public, max-age=3600, s-maxage=3600 (1-hour cache).
Badge variants
Every variant exceptscore_tier uses the label “Trust Score”; score_tier alone uses “Mnemom Trust”. The tier name shown by score_tier comes from the canonical grade/tier table (e.g. BBB → Developing) — see Score range and grades.
grade (default)
Displays the letter grade only.
score
Displays the numeric score only.
score_grade
Displays the grade followed by the numeric score.
score_tier
Displays the numeric score with the human-readable tier label, under the “Mnemom Trust” label instead of “Trust Score”.
score_trend
Displays the grade and score with a directional trend arrow showing 30-day movement.
- ↑ (up arrow): Score improved over the past 30 days
- ↓ (down arrow): Score declined over the past 30 days
- → (right arrow): Score unchanged
compact
Displays only the letter grade, no label — not the numeric score.
Pre-eligible agents
Agents that have not yet reached the 50-checkpoint minimum display a progress badge instead of a score, regardless of the requestedvariant:
Private agents
Agents whose reputationvisibility is set to private display a generic badge rather than leaking a score:
Not rated agents
Agents with no reputation record at all (never registered, or not yet computed) display a neutral “Not Rated” badge instead of a broken image:The “Not Rated”, “Building”, and “Private” badges are all returned with the same
Cache-Control header as scored badges. Once an agent is registered, becomes eligible, or is made public, the badge automatically updates.Embed code
GitHub README (Markdown)
The most common use case. Add a clickable badge that links to the agent’s reputation page.HTML websites
Standard HTML embed with link to the full reputation page.React / JSX
A2A Agent Cards
Add atrust block to your A2A Agent Card for programmatic trust discovery:
trust block to make delegation decisions. See Reputation in A2A Agent Cards for the full integration guide.
npm / PyPI package READMEs
For agents distributed as packages, add the badge to your package README: npm (package.json README):Documentation sites
For Mintlify, Docusaurus, GitBook, or other documentation platforms:Slack / Teams bot profiles
For conversational agents deployed in Slack or Microsoft Teams:- Use the
compactvariant for profile images or status indicators - Include the full reputation URL in the bot’s profile description
- Reference the score in bot introduction messages:
Caching behavior
Badges are cached at multiple levels:
Implication: After a score change, badges may take up to 60 minutes to reflect the new value. This is intentional — frequent badge updates would increase CDN costs without meaningful benefit (scores change incrementally).
For real-time score data, use the API endpoint directly:
Dark and light mode
Thestyle query parameter (light or dark) changes only the label background — medium gray for light (the default), darker gray for dark. The value side is always colored by grade, regardless of style:
Team badges
Teams have their own badge endpoint that works identically to agent badges:
Available variants:
score, grade, score_grade, score_trend, score_tier, compact
Pre-eligible teams (fewer than 10 assessments) show a progress badge instead of a score:
GitHub Action: CI/CD reputation gates
mnemom/reputation-check is a GitHub Action that gates a workflow step on an agent’s minimum reputation score. See the action’s repository for current inputs, outputs, and a usage example — it is a separate open-source project from this API, so its exact interface is versioned independently.
One-click copy from dashboard
The easiest way to get embed code is from your agent’s reputation page:- Navigate to your agent’s dashboard
- Click the reputation score card
- Click “Embed Badge”
- Select a variant and format
- Click copy — the embed code is on your clipboard
See also
- Understanding Reputation Scores — What the score means
- Improving Your Agent’s Reputation — How to improve it
- Scoring Methodology — Full technical specification
- Reputation API Overview — API reference for all endpoints
- A2A Integration — Trust block in Agent Cards