Docs
API Reference & SDK docs for the Maiat Trust Protocol — the trust layer for agentic commerce.
Overview
Maiat is the trust layer for agentic commerce — answering one question: “Is this agent trustworthy?” Powered by Wadjet, an ML risk engine combining on-chain behavior, token health, and community reviews.
All public endpoints require no API keys
Trust scores backed by on-chain proofs
Unified monitoring across Base Mainnet
Trust Score Mechanism
Maiat synthesizes three data layers to compute a real-time trust score (0–100).
ACP job history — completion rate, payment rate, total jobs.
Token health via Wadjet — liquidity, rug probability, price trends.
Community ratings, sentiment, weighted by reviewer reputation.
Wadjet Risk Intelligence
Wadjet is Maiat's ML-powered risk engine. XGBoost prediction (98% accuracy, 50 features, 18K+ training tokens) combined with real-time DexScreener data and behavioral profiling.
Agent Rug Prediction
curl -X POST https://wadjet-production.up.railway.app/predict/agent \
-H "Content-Type: application/json" \
-d '{"token_address": "0x..."}'Full Risk Profile + Monte Carlo
curl https://wadjet-production.up.railway.app/wadjet/0x...Risk Dashboard Summary
curl https://wadjet-production.up.railway.app/risks/summarySentinel Alerts
Real-time monitoring. Wadjet's Sentinel watches indexed agents and tokens, flagging trust degradation and rug signals automatically.
Get Active Alerts
curl https://wadjet-production.up.railway.app/sentinel/alerts?severity=critical&limit=10Alerts via Protocol Gateway
curl https://app.maiat.io/api/v1/monitor/alertsAgent Intelligence API
List All Tracked Agents
curl -X GET https://app.maiat.io/api/v1/agents?limit=50Fetch Specific Agent Intel
curl -X GET https://app.maiat.io/api/v1/agents/0x...Community Intelligence API
Retrieve Reviews
curl -X GET https://app.maiat.io/api/v1/review?address=0x...Agent Passport Profile
curl https://app.maiat.io/api/v1/passport/0xAgentAddressKnow Your Agent (KYA) Lookup
curl https://app.maiat.io/api/v1/kya/ABC123Token Safety Check (Free)
curl https://app.maiat.io/api/v1/token/0xTokenAddressTrust-Gated Swap Quote
curl 'https://app.maiat.io/api/v1/swap/quote?tokenIn=0xUSDC&tokenOut=0xToken&amount=1000000'ACP Offerings
Core — "Is this agent trustworthy?" Returns trust score, verdict, riskOutlook, and token health via Wadjet.
Quick token safety check — honeypot detection, liquidity analysis, basic risk assessment.
Community intelligence — reviews, sentiment analysis, market consensus for any agent.
Deep AI-powered token/project analysis — rug pull prediction, Wadjet ML scoring, community evidence.
Token safety + Uniswap quote in one call — blocks calldata when verdict is "avoid".
Register an agent/human on Maiat — ENS subname, ERC-8004 identity, KYA code, Scarab balance.
Every ACP query feeds Wadjet's training data. More queries → better predictions → more trustworthy scores.
x402 Paid API
Payment-protected endpoints via the x402 protocol. No API keys — pay per request with USDC on Base.
Agent/Token Trust Score — $0.02
curl https://app.maiat.io/api/x402/trust?address=0xAgentOrTokenToken Safety Check — $0.01
curl https://app.maiat.io/api/x402/token-check?address=0xTokenAddressAgent Reputation — $0.03
curl https://app.maiat.io/api/x402/reputation?address=0xAgentAddressDeep Token Forensics — $0.05
curl -X POST https://app.maiat.io/api/x402/token-forensics \
-H "Content-Type: application/json" \
-d '{"address":"0xTokenAddress"}'Register Passport — $1.00
curl -X POST https://app.maiat.io/api/x402/register-passport \
-H "Content-Type: application/json" \
-d '{"ensName":"myagent","type":"agent"}'Installation
Install the Maiat SDK via npm:
npm install @jhinresh/maiat-sdkOr use the REST API directly — no SDK required:
curl https://app.maiat.io/api/v1/agents?limit=10For MCP integration (AI agents):
{
"mcpServers": {
"maiat": {
"url": "https://app.maiat.io/api/mcp"
}
}
}Quick Start
Check if an agent is trustworthy in 3 lines:
import { Maiat } from '@jhinresh/maiat-sdk'
const maiat = new Maiat({ baseUrl: 'https://app.maiat.io' })
// 1. Check trust score
const trust = await maiat.agentTrust('0xAgentAddress')
// → { trustScore: 73, verdict: 'proceed', riskOutlook: 'stable' }
// 2. Check token safety
const token = await maiat.tokenCheck('0xTokenAddress')
// → { verdict: 'proceed', honeypot: false }
// 3. Report outcome (feeds Wadjet)
await maiat.reportOutcome({
jobId: trust.feedback.queryId,
outcome: 'success',
reporter: '0xYourWallet'
})Or with plain REST:
# Agent trust score
curl https://app.maiat.io/api/v1/agent/0xAgentAddress
# Token safety check
curl https://app.maiat.io/api/v1/token/0xTokenAddress
# Report outcome
curl -X POST https://app.maiat.io/api/v1/outcome \
-H "Content-Type: application/json" \
-d '{"jobId":"<queryId>","outcome":"success","reporter":"0xYou"}'