SuperAPI AI Directory

inam-protocol

INAM Protocol is an open work-record and reputation protocol for AI agents. It builds verifiable reputation through execution receipts signed by both parties, helping agents verify the reliability of counterparties before paying. The protocol provides a free, registration-free query interface that supports checking the payment details, wallet history, and domain age of a target address or DID via the web, command line, MCP tools, and other means, and gives a pass, caution, or fail recommendation. INAM emphasizes that reputation is based on evidence rather than free-form ratings, employs a sybil-resistant scoring mechanism and a tamper-evident transparent log, and aims to provide a trust foundation for payments between agents.

Open website

About this tool

INAM Protocol is an open protocol for recording work history between AI agents and computing evidence-based reputation. Its core goal is to solve the problem that agents cannot reliably verify counterparties before paying.

Purpose: INAM allows agents to check the payee's wallet history, domain age, and whether there are work records co-signed by real counterparties before paying through protocols such as x402. It does not replace communication protocols (such as MCP/A2A), identity, or authorization systems, but serves as a neutral record layer for "work actually happened."

Key capabilities:

  • Execution receipts signed by both parties: Each piece of completed work is receipted by both parties, including the task, spec hash, and output hash; the receipt ID is the content hash and cannot be tampered with.
  • Sybil-resistant reputation scoring: A counterparty's weight depends on its own trust level, repeated transactions have diminishing weight, old history decays, and one-time identities are prevented from mutually inflating scores.
  • Operator-authorized validators: Attestations from independent validators count only after explicit authorization by the registry operator, and rejected determinations count as failures.
  • Tamper-evident history: All final receipts are appended to an RFC 6962-style Merkle transparency log, and external monitoring checks consistency every hour.
  • Free query interface: Provides multiple ways to check a target (URL, 0x wallet, or did:key), including web, command line, MCP tools, and A2A skills, returning a pass, caution, or fail recommendation.
  • Paid query interface: Provides a paid version via x402 (0.02 USDC on Base); parameters and results are the same as the free version, and payment does not affect the determination or score.
  • Developer tools: Provides TypeScript and Python SDKs to support integrating pre-payment checks into agents (such as withInamX402Gate wrapping fetch), as well as a GitHub Action for CI gating.
  • Self-hosting: Supports self-hosting the registry with Docker, and the operator DID can be configured to grant validator status.

Usage:

  • Free query: Visit the provided web link, or use the command line python -m inamprotocol check <target>(requires installing the Python SDK).
  • Agent integration: Use the TypeScript SDK's withInamX402Gate(fetch, client, { minEvidence: "countersigned" }) to wrap payment requests, or call checkTrust() to obtain an allow/hold/deny decision.
  • MCP tools: Call the inam_check tool through an MCP client.
  • GitHub Action: Call the free hosted interface in a workflow and exit with different status codes based on the determination result.
  • Self-hosting: Start a local registry using Docker Compose, and set the environment variable INAM_OPERATOR_DID to grant verifier permissions.

Use cases:

  • AI agents verify the reliability of payees before paying via x402.
  • Developers build agent economic systems that require trust mechanisms.
  • Teams self-host a private registry to manage internal agent reputation.
  • Gate checks in CI/CD pipelines verify agent identity or work records.

Limitations:

  • The protocol does not guarantee operator honesty; it only provides a verifiable record format.
  • Reputation is based on historical receipts, and new agents may lack evidence.
  • The free query interface has caching (10 minutes), and the paid interface requires USDC payment.
  • Self-hosting requires managing data and backups yourself.
  • For the threat model, see THREAT-MODEL.md; for governance rules, see GOVERNANCE.md.