Welcome to Cosign
Cosign is a trust infrastructure protocol for AI agents, deployed on XION. It provides on-chain identity, reputation scoring, economic staking, and verifiable attestations for agent behavior.
Miniti is the flagship AI agent powered by Cosign. It's a full-featured desktop workspace with MCP integration, multi-model support, and automatic trace attestation. Think of Miniti as "the agent" and Cosign as "the protocol."
The Problem
AI agents are proliferating across consumer and enterprise use cases. But they lack three fundamental properties that humans take for granted:
No Identity
Agents have no persistent identity across sessions, platforms, or contexts. They're ephemeral.
No Reputation
No way to track quality, reliability, or trustworthiness over time. Every interaction starts from zero.
No Accountability
No economic skin in the game. Agents can fail, hallucinate, or mislead without consequence.
The Solution
Cosign introduces a three-layer trust stack:
-
1
On-Chain Identity — Every agent registers on XION with a unique handle, metadata, and cryptographic keypair. Identity is persistent and transferable.
-
2
Reputation Scoring — A 0-100 score calculated from task completion, quality assessments, and economic stake. Decays over time to reflect recent performance.
-
3
Verifiable Attestations — Every agent action is traced, signed, and submitted to XION native attestation contracts. Publicly verifiable and immutable.
Key Differentiators
vs Perplexity Computer YOU OWN IT
Perplexity runs your agent in their cloud with proprietary trust mechanisms. With Cosign, you run Miniti on your desktop. Your keys, your data, your control. Trust is cryptographically verifiable on-chain, not black-boxed.
vs OpenClaw TRUST LAYER
Cosign is built on top of OpenClaw's agent runtime. We inherit all of OpenClaw's capabilities (MCP, multi-model, streaming, tools) but add on-chain identity, reputation, and economic stakes. Same power, plus trust.
vs Goose PORTABLE REP
Both speak MCP, both are desktop-first. But Goose has no persistent identity or reputation system. Cosign's reputation follows your agent across contexts — from your local machine to marketplace deployments to multi-agent teams.
Get Started in 5 Minutes
Follow these steps to install Cosign, create your agent identity, and send your first message to Miniti.
Step 1: Download
Choose your platform:
Step 2: Install
macOS
brew install cosign/tap/cosign-desktop
# Or download .dmg from releases
Windows
winget install Cosign.Desktop
# Or download .exe installer from releases
Linux
curl -fsSL https://get.cosign.id | sh
# Or download AppImage from releases
Step 3: Setup Wizard
On first launch, Cosign will walk you through a 2-minute setup wizard:
-
1
API Keys — Enter your Anthropic (Claude) or OpenAI API key. Miniti runs locally but calls AI models via their APIs.
-
2
Wallet Setup — Create or import a XION wallet. This wallet will hold your agent's identity on XION. We generate a keypair and encrypt it locally.
-
3
Agent Registration — Choose a handle (e.g.,
myagent.cosign) and register on XION Testnet. Transaction is free with faucet funds. -
4
Initial Stake — (Optional) Stake testnet ETH to boost your initial reputation. Staking is optional but recommended for production use.
Step 4: First Conversation
Once setup is complete, you're in the three-panel workspace. Try sending a message:
and create a comparison table
Miniti: Thinking...
→ Searching web (Brave API)
→ Found 12 relevant sources
→ Reading GitHub repos
→ Analyzing features
→ Creating comparison table
✓ Here's what I found...
Miniti will show real-time progress in the conversation panel, use MCP tools automatically (Brave Search, GitHub, etc.), and produce a structured response. Behind the scenes:
- Every tool call is traced and logged
- The entire interaction is submitted as an on-chain attestation on XION
- Your reputation score updates based on completion and quality
How Cosign Works
Understanding the five pillars of Cosign's trust infrastructure.
Agent Identity
Every agent on Cosign has a persistent on-chain identity registered in the AgentRegistryV2 contract on XION.
Components of Identity
| Property | Description | Example |
|---|---|---|
agentId |
Ethereum address (wallet) | xion18f2a... |
handle |
Human-readable name | myagent.cosign |
metadataUri |
IPFS link to metadata | ipfs://Qm... |
registeredAt |
Timestamp of registration | 1735689600 |
Metadata Schema
The metadataUri points to a JSON document stored on IPFS:
"name": "Miniti Research Agent",
"description": "Specialized in deep research...",
"avatar": "ipfs://QmAvatar...",
"capabilities": ["research", "web-browsing"],
"version": "1.0.0",
"model": "claude-sonnet-4-5"
}
Identity Lifecycle
- Generation: Create Ethereum keypair locally
- Registration: Call
AgentRegistryV2.register(handle, metadataUri) - Active: Agent can perform tasks, earn reputation
- Update: Update metadata via
setMetadataUri() - Freeze: Owner can freeze identity (useful for security incidents)
- Transfer: Agent identity is an NFT and can be transferred
Reputation Score
Reputation is a 0-100 score that measures agent trustworthiness based on three factors:
Task Completion
Did the agent complete the task successfully?
Quality Assessment
How good was the output? Based on verification checks.
Economic Stake
Higher stake = more skin in the game = trust boost.
Calculation Formula
(completionRate * 0.5) +
(qualityScore * 0.25) +
(stakeBonus * 0.25)
Decay Mechanism
Reputation decays by 0.5% per day if no new attestations are submitted. This ensures recent performance is weighted more heavily than historical performance.
Domain-Specific Reputation
Agents can earn reputation in multiple domains (e.g., research, coding, data-analysis). Each domain has its own score.
| Domain | Score | Tasks Completed |
|---|---|---|
| Research | 92.4 | 47 |
| Coding | 78.1 | 23 |
| Data Analysis | 85.3 | 31 |
Staking
Agents (or their operators) can stake ETH to demonstrate economic commitment. Staking has three benefits:
- Reputation Boost: Staking contributes 25% to reputation score
- Economic Security: Stake can be slashed for malicious behavior
- Trust Signal: Users prefer agents with "skin in the game"
How to Stake
const staking = new StakingManager();
await staking.stake({
agentId: "xion18f2a...",
amount: "1.0", // ETH
});
Slashing Conditions
Stake is automatically slashed (burned) if:
- Coherence Failure: Attestation claims don't match trace verification
- Quality Threshold: Output rated below 30% quality in 3+ consecutive tasks
- Manual Report: User reports malicious behavior, verified by governance
Unstaking
Agents can unstake at any time, but there's a 7-day cooldown period. This prevents bad actors from quickly withdrawing stake after malicious actions.
Attestations
Every agent task generates an attestation — a cryptographically signed record of what the agent did. Attestations are submitted to XION native attestation contracts.
Attestation Schema
"agentId": "xion18f2a...",
"taskId": "task-1234",
"timestamp": 1735689600,
"domain": "research",
"actions": [
{
"type": "web_search",
"tool": "brave-search",
"query": "AI agent trust protocols"
}
],
"output": "ipfs://Qm...",
"completion": true,
"qualityScore": 92,
"signature": "xion13f8a..."
}
Trace Capture
Miniti automatically captures a trace of every MCP tool call, LLM interaction, and file operation. This trace is hashed and included in the attestation.
Gas Optimization
Individual attestations are batched using AttestationBatcher to reduce gas costs. Batches are submitted every 10 minutes or when 50 attestations accumulate.
Verification
Attestations are verified independently by the Cosign verification pipeline. This ensures agents can't lie about their actions.
Three-Stage Pipeline
Trace Verification
Replay the trace log. Did the agent actually call the tools it claimed to call? Does the sequence make sense?
Coherence Checking
Compare claimed output to actual output. If agent claimed to "search GitHub" but trace shows no GitHub API calls, coherence fails.
Quality Assessment
Use a separate LLM to evaluate output quality. Metrics: completeness, accuracy, relevance, formatting.
Integrity Score
Each attestation receives an integrity score (0-100) from the verification pipeline. This score feeds into the agent's overall reputation.