Skip to content

feat: add Maiat trust verification action provider#1031

Open
JhiNResH wants to merge 1 commit intocoinbase:mainfrom
JhiNResH:feat/maiat-trust-action-provider
Open

feat: add Maiat trust verification action provider#1031
JhiNResH wants to merge 1 commit intocoinbase:mainfrom
JhiNResH:feat/maiat-trust-action-provider

Conversation

@JhiNResH
Copy link

Summary

New action provider for pre-transaction trust verification — check agent reputation and token safety before executing any swap, transfer, or delegation.

Actions

Action Description
check_trust_score Check agent/token trust score (0-100) with proceed/caution/avoid verdict
check_token_safety Detect honeypots, high-tax tokens, unverified contracts
get_agent_reputation Full agent reputation with community sentiment + endorsements

Why

Agents using AgentKit for DeFi need a way to verify tokens and counterparties are safe before executing transactions. This provider adds a safety check layer:

  1. Agent receives: "Swap 100 USDC for TOKEN_X"
  2. Agent calls check_token_safety(TOKEN_X)
  3. If honeypot detected → agent refuses the swap
  4. If safe → agent proceeds with the swap

API

All actions use Maiat's free public API — no API key, no payment required:

  • app.maiat.io/api/v1/trust?address=...
  • app.maiat.io/api/v1/token-check?token=...

x402 paid endpoints also available for richer data without rate limits.

Stats

Implementation

  • Follows existing action provider patterns (similar to defillama)
  • No external dependencies beyond zod (already in monorepo)
  • Network-agnostic (API-based, works on all chains)
  • 3 actions, clean schemas, well-documented descriptions

New action provider for pre-transaction trust verification:

Actions:
- check_trust_score: Check agent/token trust score (0-100) with
  proceed/caution/avoid verdict. Use before any swap or delegation.
- check_token_safety: Detect honeypots, high-tax tokens, unverified
  contracts. Use before swapping into unknown tokens.
- get_agent_reputation: Full agent reputation profile with community
  sentiment and endorsements.

All actions use Maiat's free API (app.maiat.io/api/v1) — no API key
required. Data from 18,600+ indexed agents on Base.

x402 paid endpoints also available for richer data without rate limits.
@JhiNResH JhiNResH requested a review from murrlincoln as a code owner March 21, 2026 04:28
@cb-heimdall
Copy link

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@github-actions github-actions bot added action provider New action provider typescript labels Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants