Skip to main content
Glama

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
└── LICENSE

Related 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 dev

Smart Contracts (Base Mainnet)

Contract

Address

MaiatOracle

0xc6cf2d59ff2e4ee64bbfceaad8dcb9aa3f13c6da

MaiatReceiptResolver

0xda696009655825124bcbfdd5755c0657d6d841c0

TrustGateHook

0xf980Ad83bCbF2115598f5F555B29752F00b8daFf

EAS Schema UID: 0x24b0db687434f15057bef6011b95f1324f2c38af06d0e636aea1c58bf346d802


API Endpoints

Route

Method

Description

/api/v1/agent/:address

GET

Agent trust score

/api/v1/agent/:address/deep

GET

Deep analysis

/api/v1/agents

GET

Browse all 2,292+ agents

/api/v1/token/:address

GET

Token honeypot check

/api/v1/swap/quote

POST

Trust-gated Uniswap quote

/api/v1/review

POST

Submit review (costs 2 Scarab)

/api/v1/wallet/:address/passport

GET

Trust Passport

/api/v1/scarab

GET

Scarab balance

/api/v1/markets

GET

Prediction markets


Packages

Package

Description

@jhinresh/maiat-sdk

Core SDK — trust scores, token safety, swap verification

@jhinresh/viem-guard

Viem middleware — auto-checks trust before transactions

@jhinresh/mcp-server

MCP Server for Claude, GPT, and MCP-compatible AIs

@jhinresh/elizaos-plugin

ElizaOS plugin — trust-gate actions and evaluators

@jhinresh/agentkit-plugin

Coinbase AgentKit plugin

@jhinresh/game-maiat-plugin

GAME SDK plugin

@jhinresh/virtuals-plugin

Virtuals GAME SDK plugin

@jhinresh/maiat-evaluator

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 tools
deep_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

    A4/5.0

    Scored across 10 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Agent 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.
      5
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      Trust 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.
      36
      76 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides 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.
      -