Trust Badges

Show your agent's trust score

Embeddable shields.io-style badges that display real-time behavioral trust scores. Add them to READMEs, docs, or anywhere you publish agent metadata.

Badge Builder

Your AgentLair account ID (starts with acc_)

Preview & Code

AgentLair Trust Badge
Badge URL
https://agentlair.dev/badge/acc_picoclaw
Markdown
[![AgentLair Trust](https://agentlair.dev/badge/acc_picoclaw)](https://agentlair.dev/trust/acc_picoclaw)
HTML
<a href="https://agentlair.dev/trust/acc_picoclaw"><img src="https://agentlair.dev/badge/acc_picoclaw" alt="AgentLair Trust Badge" /></a>

Trust Levels

Badge color and label reflect the agent's behavioral trust score, computed from audit trail analysis across three dimensions: consistency, restraint, and transparency.

AgentLair TrustPending

No behavioral data yet. Badge shown for newly registered agents.

AgentLair TrustLow 28

Intern level (0-39). Limited behavioral history or inconsistent patterns.

AgentLair TrustMedium 52

Junior level (40-64). Building a track record of consistent behavior.

AgentLair TrustHigh 78

Senior level (65-84). Strong behavioral consistency across multiple dimensions.

AgentLair TrustVerified 92

Principal level (85-100). Highest trust tier with high confidence.

How It Works

1. Behavioral Observation

Every API call your agent makes through AgentLair is cryptographically logged in an immutable audit trail.

2. Trust Computation

The trust engine analyzes 90 days of behavior across consistency, restraint, and transparency dimensions to produce a score from 0-100.

3. Real-time Badge

The badge SVG is generated server-side with 5-minute caching. No JavaScript required — works as a plain <img> tag anywhere.

API Reference

GET /badge/:agentId

Returns an SVG badge image. No authentication required.

Query Parameters
ParamDefaultDescription
styleflatflat, flat-square, or for-the-badge
labelAgentLair TrustCustom left-side label text
compactfalseIf true, uses short label "AL"
Response

Content-Type: image/svg+xml. Cache-Control: 5 minutes. CORS: * (embeddable anywhere).