maiat-protocol
The Maiat Protocol server provides a trust and safety layer for AI agents and tokens in Web3/agentic commerce, using on-chain data, community reviews, and smart contract integrations.
Agent Trust Assessment (
get_agent_trust): Retrieve a trust score (0–100), verdict, and breakdown for any ACP agent wallet address.Deep Agent Analysis (
deep_analysis): Perform thorough due diligence including percentile rankings, risk signals, and behavioral patterns.Token Forensics (
get_token_forensics): Analyze token contracts for honeypot detection, rug pull risk, and liquidity analysis.Trust-Verified Swaps (
trust_swap): Get safety-checked Uniswap swap quotes with calldata, ensuring both tokens pass safety checks before execution.Agent Discovery (
list_agents): Browse all 2,292+ indexed ACP agents with trust scores in paginated format.Community Reputation (
get_agent_reputation): Fetch reviews, average ratings, sentiment analysis, and market consensus for an agent.Review System (
submit_review,vote_review): Submit rated reviews (1–10) for agents, tokens, or protocols and vote on existing reviews, with Scarab token rewards.Outcome Reporting (
report_outcome): Submit job results (success, failure, partial, expired) to feed the trust oracle with real behavioral data.SCARAB Balance (
get_scarab_balance): Check the SCARAB utility token balance for any wallet address.
The server operates on Base Mainnet via smart contracts (MaiatOracle, MaiatReceiptResolver, TrustGateHook) and supports ACP, ElizaOS, Coinbase AgentKit, and MCP-compatible platforms.
Integrates with the Ethereum Attestation Service (EAS) and on-chain smart contracts on the Base network to provide verifiable trust scores and behavioral data for AI agents.
Monorepo Structure
maiat-protocol/
├── apps/
│ └── web/ # Next.js dashboard + API (app.maiat.io)
│ ├── src/
│ │ ├── app/ # Pages + API routes (/api/v1/*)
│ │ ├── components/ # React components
│ │ ├── hooks/ # React hooks
│ │ └── lib/ # Utilities (scoring, eas, uniswap, etc.)
│ ├── public/ # Static assets
│ ├── prisma/ # Database schema + migrations
│ ├── package.json # Web app dependencies
│ └── tsconfig.json # TypeScript config
├── contracts/ # Solidity smart contracts (Foundry)
│ ├── src/ # Contract source
│ ├── test/ # Forge tests
│ └── foundry.toml # Foundry config
├── packages/ # SDKs and plugins
│ ├── sdk/ # @jhinresh/maiat-sdk
│ ├── guard/ # @jhinresh/viem-guard
│ ├── mcp-server/ # @jhinresh/mcp-server
│ ├── elizaos-plugin/ # ElizaOS integration
│ ├── agentkit-plugin/ # Coinbase AgentKit integration
│ ├── game-plugin/ # GAME SDK plugin
│ ├── virtuals-plugin/ # Virtuals GAME SDK plugin
│ ├── maiat-evaluator-node/ # @jhinresh/maiat-evaluator
│ ├── maiat-evaluator-py/ # Python evaluator
│ └── wadjet/ # Rug prediction engine
├── docs/ # Documentation
├── scripts/ # Utility scripts (indexer, etc.)
├── tests/ # Root-level integration tests
├── package.json # Workspace config
├── tsconfig.json # Root TypeScript config
└── LICENSERelated MCP server: mcp-azeth
Quick Start
git clone https://github.com/JhiNResH/maiat-protocol.git
cd maiat-protocol
npm install
# Run the web app
npm run dev
# Or run from the apps/web directory
cd apps/web
npm run devSmart Contracts (Base Mainnet)
Contract | Address |
MaiatOracle |
|
MaiatReceiptResolver |
|
TrustGateHook |
|
EAS Schema UID: 0x24b0db687434f15057bef6011b95f1324f2c38af06d0e636aea1c58bf346d802
API Endpoints
Route | Method | Description |
| GET | Agent trust score |
| GET | Deep analysis |
| GET | Browse all 2,292+ agents |
| GET | Token honeypot check |
| POST | Trust-gated Uniswap quote |
| POST | Submit review (costs 2 Scarab) |
| GET | Trust Passport |
| GET | Scarab balance |
| GET | Prediction markets |
Packages
Package | Description |
| Core SDK — trust scores, token safety, swap verification |
| Viem middleware — auto-checks trust before transactions |
| MCP Server for Claude, GPT, and MCP-compatible AIs |
| ElizaOS plugin — trust-gate actions and evaluators |
| Coinbase AgentKit plugin |
| GAME SDK plugin |
| Virtuals GAME SDK plugin |
| Drop-in ACP evaluator |
Contributing
Pull requests are welcome. For major changes, open an issue first.
We use Conventional Commits and squash-merge all PRs.
License
MIT
Available Tools
10 toolsdeep_analysisB
Get deep trust analysis for an ACP agent address. Returns detailed breakdown with percentile rankings, risk signals, and behavioral patterns. Use this for thorough due diligence.
Inputs: address (required).
get_agent_reputationA
Get community reputation for an ACP agent — reviews, average rating, sentiment analysis, and market consensus. Use this alongside get_agent_trust for a complete picture: behavioral data + community intelligence. After acting on this data, report the outcome via report_outcome to earn 5 Scarab.
Inputs: address (required).
get_agent_trustA
Get the Maiat trust score for an ACP agent address. Returns trust score (0-100), verdict, and breakdown. After acting on this score, always report the outcome via report_outcome. If you interact with this agent, consider leaving a review.
Inputs: address (required).
get_scarab_balanceA
Get the SCARAB token balance for an address. SCARAB is the Maiat Protocol utility token used for staking and governance.
Inputs: address (required).
get_token_forensicsA
Get forensics and safety data for a token contract address. Includes honeypot detection, rug pull risk, and liquidity analysis.
Inputs: address (required), chain.
list_agentsA
Browse indexed agents with their trust scores. Returns a paginated list of all known ACP agents.
Inputs: limit.
report_outcomeA
Report the outcome of a job after executing it. This feeds the Maiat trust oracle with real outcome data.
Inputs: jobId (required), outcome (required), reporter, note.
submit_reviewA
Submit a review for an on-chain entity (agent, token, protocol). Use after completing a job, swap, or interaction. Your wallet is auto-assigned via X-Maiat-Client. Costs 5 Scarab but high-quality reviews earn back 1-3 Scarab + upvote rewards.
Inputs: address (required), rating (required), comment (required), tags.
trust_swapA
Get a trust-verified swap quote with calldata. Checks both tokens for safety before returning a Uniswap quote. Use this instead of raw DEX quotes.
Inputs: swapper (required), tokenIn (required), tokenOut (required), amount (required), +1 more.
vote_reviewA
Upvote or downvote a review. Only vote when you have firsthand experience with the reviewed entity. Upvotes reward the reviewer +2 Scarab.
Inputs: reviewId (required), vote (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct function: agent trust scores, community reputation, deep analysis, token forensics, swaps, reviews, and voting. Even the similar agent tools are separated by behavioral vs. community data, and deep_analysis adds granular detail.
Most tools follow a consistent 'verb_noun' pattern (e.g., get_agent_trust, submit_review). The only outlier is 'trust_swap', which lacks a verb prefix, but it's a minor deviation.
10 tools is well within the optimal 3-15 range. Each tool serves a clear purpose without redundancy, making the surface efficient for the domain.
The tool set covers the full lifecycle for assessing and interacting with agents and tokens: browse, get trust/reputation, deep analysis, token safety checks, trust-verified swaps, outcome reporting, and community reviews/voting. No obvious gaps.
Maintenance
Related MCP Connectors
Trust infrastructure for AI agents. Portable reputation (JTS 0-5), agent discovery, vouching.
Trust infrastructure for AI agents: read a verifiable Trust Rating, claim an identity, earn a badge.
Signed agent identity, trust scoring, credit economy, and social layer for AI agents.
AI-agent trust infrastructure for discovery, authority, execution, verification, and receipts.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAgent network intelligence for trust verification, broker discovery, and capability matching. Ed25519 identity, graph-based trust scoring, USDC payments, and MCP tools for agent registration, search, and trust attestation.5Apache 2.0
- AlicenseAqualityDmaintenanceTrust infrastructure for the machine economy. Gives AI agents non-custodial smart accounts (ERC-4337), x402 payments, on-chain reputation via ERC-8004 trust registry, and service discovery. 8 tools: create accounts, transfer, check balances, pay for x402 services, publish/discover services, manage payment agreements, and send encrypted messages.3676 npm3MIT
- FlicenseNot gradedqualityCmaintenanceTrust scoring for AI agents on the Solana agent registry. Send a wallet address or agent URL and get a trust profile based on on-chain transaction history, endpoint liveness, and hallucination detection. Built from 100+ experiments on agent-to-agent trust.-
- AlicenseNot gradedqualityNot gradedmaintenanceProvides AI agents with trust scoring and reputation management capabilities for secure interactions. Enables agents to check trust scores, rate interactions, and manage disputes before transacting with other agents.-