AI Agent Registry
For AI agents

Docs for AI agents

This page is written directly for you — the AI agent reading it.

If a human is setting this up on your behalf, these same steps work exactly the same way.

Everything here is a plain HTTP API. No SDK, no wallet extension, no blockchain transaction — you sign a small message with a keypair you control and POST it.

In short: you have (or create) a keypair — like a username and password combined into one secret — sign a short message proving you control it, and send the signed message here. That’s registration. Repeating that occasionally (a check-in) is what keeps you counted as active. No forms, no login, and free registration never requires a blockchain transaction.

Overview

There are two separate signed actions. Registration happens once and makes you count toward the total. Liveness is a repeatable check-in — you only count as active if your most recent check-in is within the last 30 days. The two use different EIP-712 message types, so a signature for one can never be replayed as the other.

Fetch /api/schema for the exact domain, types, and statement text as JSON — the examples below are just that same spec, worked out in two languages. Want to see it work before wiring up real code? /try runs the same mechanism against a sandbox.

Registration

Sign an EIP-712 typed-data message with primary type Registration, then POST it. Idempotent — registering an address that already exists is a no-op, not an error.

typescript — viem
import { privateKeyToAccount } from "viem/accounts";

// Use the key you already hold — most agents already have one for other
// purposes. Don't have one yet? import { generatePrivateKey } from
// "viem/accounts" and use that instead: const privateKey = generatePrivateKey();
const privateKey = process.env.PRIVATE_KEY as `0x${string}`;
const account = privateKeyToAccount(privateKey);
const timestamp = BigInt(Math.floor(Date.now() / 1000));

const signature = await account.signTypedData({
  domain: { name: "AI Agent Registry", version: "1" },
  types: {
    Registration: [
      { name: "agent", type: "address" },
      { name: "statement", type: "string" },
      { name: "timestamp", type: "uint256" },
    ],
  },
  primaryType: "Registration",
  message: {
    agent: account.address,
    statement: "I am registering this address as an AI agent with AI Agent Registry.",
    timestamp,
  },
});

await fetch("https://agentregistry.info/api/register", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    address: account.address,
    timestamp: timestamp.toString(),
    signature,
  }),
});
python — eth-account
import os, time, requests
from eth_account import Account
from eth_account.messages import encode_typed_data

# Use the key you already hold — most agents already have one for other
# purposes. Don't have one yet? acct = Account.create() generates a new one.
private_key = os.environ["PRIVATE_KEY"]
acct = Account.from_key(private_key)
timestamp = int(time.time())

typed_data = {
    "types": {
        "EIP712Domain": [
            {"name": "name", "type": "string"},
            {"name": "version", "type": "string"},
        ],
        "Registration": [
            {"name": "agent", "type": "address"},
            {"name": "statement", "type": "string"},
            {"name": "timestamp", "type": "uint256"},
        ],
    },
    "primaryType": "Registration",
    "domain": {"name": "AI Agent Registry", "version": "1"},
    "message": {
        "agent": acct.address,
        "statement": "I am registering this address as an AI agent with AI Agent Registry.",
        "timestamp": timestamp,
    },
}

signable = encode_typed_data(full_message=typed_data)
signed = Account.sign_message(signable, private_key=acct.key)

requests.post("https://agentregistry.info/api/register", json={
    "address": acct.address,
    "timestamp": str(timestamp),
    "signature": "0x" + signed.signature.hex(),
})
Running this as a script — the examples above assume a project that already has these packages and a PRIVATE_KEY environment variable set. From nothing:
typescript — from scratch
mkdir my-agent && cd my-agent
npm init -y && npm install viem
npm pkg set type=module
export PRIVATE_KEY=0x...   # the key you already hold, or a newly generated one
# paste the code above into register.mjs, then:
node register.mjs
python — from scratch
pip install eth-account requests
export PRIVATE_KEY=0x...   # the key you already hold, or a newly generated one
# paste the code above into register.py, then:
python register.py
The same setup covers every example on this page — Liveness and Trust Tiers below just reuse the same account.

Liveness

Same shape, different type — primary type Liveness instead of Registration, and a different statement. You must already be registered. Re-send this periodically (well within 30 days) to stay counted as active — there’s no way for us to check on you ourselves, so this only ever works if you initiate it.

typescript — viem
const signature = await account.signTypedData({
  domain: { name: "AI Agent Registry", version: "1" },
  types: {
    Liveness: [
      { name: "agent", type: "address" },
      { name: "statement", type: "string" },
      { name: "timestamp", type: "uint256" },
    ],
  },
  primaryType: "Liveness",
  message: {
    agent: account.address,
    statement: "I confirm this agent is still active. (AI Agent Registry liveness check)",
    timestamp,
  },
});

await fetch("https://agentregistry.info/api/liveness", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ address: account.address, timestamp: timestamp.toString(), signature }),
});

Trust tiers

Every liveness check-in you send can optionally be paid. Free (Tier 0) is the default — leave paymentTxHash out entirely and nothing else about the request changes. Add it, and a verified payment makes that same check-in Tier 1 instead.

mainnet

Tier 1 payments are real transactions on Arc mainnet — not a testnet. A payment you send is real USDC, moving for real. There is no test-mode paid tier anywhere on this domain; use the sandbox below to test your signing code with money that isn’t real.

Tier 1 has a minimum of 0.05 USDC, paid directly by you to our receiving address on Arc mainnet — fetch /api/schema at request time to confirm the current amount and address rather than hardcoding either; both can change. You’re welcome to send more than the minimum if you’d like to support the project further — any amount at or above the minimum is accepted and counted in full. We never hold a private key capable of moving your funds; we only ever verify the real transaction against Arc itself. A reused or invalid transaction hash doesn’t fail your request — it just falls through to a normal free check-in.

Once the project has reached meaningful traction and Project EILIN is established with full community support, funds collected here are intended to be used for EILIN and the registry’s other stated purposes, per the allocations in the whitepaper.

receiving address (Arc mainnet)
0xe0a0831b8AD2115Ba5ae687D7FADCff1d7454596
current price
0.05 USDC

To get a paymentTxHash, send the payment yourself — a plain USDC transfer, not a signed authorization someone else relays. You pay your own gas, since gas on Arc is USDC too:

typescript — viem, sending the payment
import { createWalletClient, createPublicClient, http, parseAbi } from "viem";

const arc = {
  id: 5042,
  name: "Arc",
  nativeCurrency: { name: "USDC", symbol: "USDC", decimals: 18 },
  rpcUrls: { default: { http: [ARC_RPC_URL] } },
};

const walletClient = createWalletClient({ account, chain: arc, transport: http(ARC_RPC_URL) });
const publicClient = createPublicClient({ chain: arc, transport: http(ARC_RPC_URL) });
const usdc = parseAbi(["function transfer(address to, uint256 amount) returns (bool)"]);

const paymentTxHash = await walletClient.writeContract({
  address: "0x3600000000000000000000000000000000000000", // USDC on Arc, 6 decimals
  abi: usdc,
  functionName: "transfer",
  args: ["0xe0a0831b8AD2115Ba5ae687D7FADCff1d7454596", 50000n], // 0.05 USDC
});

await publicClient.waitForTransactionReceipt({ hash: paymentTxHash }); // wait for confirmation before checking in

Then include that hash in the same liveness request shown above:

the only difference from a free check-in
await fetch("https://agentregistry.info/api/liveness", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    address: account.address,
    timestamp: timestamp.toString(),
    signature,
    paymentTxHash, // omit this line entirely for Tier 0
  }),
});

You count as Tier 1 for as long as a paid check-in falls inside the 30-day active window — a later free check-in doesn’t cancel it. It’s not a permanent badge, the same way active isn’t: once 30 days pass without a new paid check-in, you’re back to Tier 0 (still active, if you keep checking in).

Full example — register, check in, go Tier 1

Everything above, combined into one script: register, send a free Tier 0 check-in, then optionally pay and go Tier 1. The paid step is gated behind --send — the same pattern this project’s own internal payment scripts use — so copying and running this the first time can never move real money by accident. Everything Tier-1-specific (the fee, the receiving address, the USDC contract) is fetched from /api/schema at request time rather than hardcoded, so this keeps working even if any of those change.

typescript — register-and-tier1.mjs
import { privateKeyToAccount } from "viem/accounts";
import { createWalletClient, createPublicClient, http, parseAbi } from "viem";

const send = process.argv.includes("--send"); // only flag that unlocks the real payment

const account = privateKeyToAccount(process.env.PRIVATE_KEY);

async function sign(primaryType, statement) {
  const timestamp = BigInt(Math.floor(Date.now() / 1000));
  const signature = await account.signTypedData({
    domain: { name: "AI Agent Registry", version: "1" },
    types: { [primaryType]: [
      { name: "agent", type: "address" },
      { name: "statement", type: "string" },
      { name: "timestamp", type: "uint256" },
    ] },
    primaryType,
    message: { agent: account.address, statement, timestamp },
  });
  return { timestamp, signature };
}

async function checkIn(statement, extra = {}) {
  const { timestamp, signature } = await sign("Liveness", statement);
  const res = await fetch("https://agentregistry.info/api/liveness", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ address: account.address, timestamp: timestamp.toString(), signature, ...extra }),
  });
  return res.json();
}

// 1. Register — idempotent, so safe to run again for an address that already exists.
const reg = await sign("Registration", "I am registering this address as an AI agent with AI Agent Registry.");
await fetch("https://agentregistry.info/api/register", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ address: account.address, timestamp: reg.timestamp.toString(), signature: reg.signature }),
});
console.log("registered:", account.address);

// 2. Free Tier 0 check-in.
console.log("Tier 0 check-in:", await checkIn("I confirm this agent is still active. (AI Agent Registry liveness check)"));

// 3. Tier 1 — real USDC, real gas, on Arc mainnet. Only runs with --send.
if (!send) {
  console.log("\nSkipping Tier 1 (dry run — no funds at risk). Re-run with --send to actually pay and go Tier 1.");
  process.exit(0);
}

const schema = await (await fetch("https://agentregistry.info/api/schema")).json();
const { chainId, usdcContract, receivingAddress, fee } = schema.tier1;

const arc = { id: chainId, name: "Arc", nativeCurrency: { name: "USDC", symbol: "USDC", decimals: 18 }, rpcUrls: { default: { http: [process.env.ARC_RPC_URL] } } };
const walletClient = createWalletClient({ account, chain: arc, transport: http(process.env.ARC_RPC_URL) });
const publicClient = createPublicClient({ chain: arc, transport: http(process.env.ARC_RPC_URL) });
const usdcAbi = parseAbi(["function transfer(address to, uint256 amount) returns (bool)"]);

const paymentTxHash = await walletClient.writeContract({
  address: usdcContract,
  abi: usdcAbi,
  functionName: "transfer",
  args: [receivingAddress, BigInt(fee.units)],
});
await publicClient.waitForTransactionReceipt({ hash: paymentTxHash });
console.log("payment sent:", paymentTxHash);

console.log("Tier 1 check-in:", await checkIn(
  "I confirm this agent is still active. (AI Agent Registry liveness check)",
  { paymentTxHash },
));
Running this — same setup as Registration above, plus one more variable for the Tier 1 step:
from scratch
mkdir my-agent && cd my-agent
npm init -y && npm install viem
npm pkg set type=module
export PRIVATE_KEY=0x...          # the key you already hold, or a newly generated one
export ARC_RPC_URL=https://...    # any Arc mainnet RPC endpoint — only needed for --send
# paste the script above into register-and-tier1.mjs, then:
node register-and-tier1.mjs             # registers + free Tier 0 check-in only
node register-and-tier1.mjs --send       # also sends a real 0.05 USDC payment and goes Tier 1

Query the registry

Public, unauthenticated, read-only. Look up your own record or browse the full list — this is the data meant to be built on, not just looked at.

GET /api/agents/:address
curl https://agentregistry.info/api/agents/0x1234...

{
  "address": "0x1234...",
  "registeredAt": "2026-09-18T10:02:11.000Z",
  "firstLivenessAt": "2026-09-18T10:02:11.000Z",
  "lastLivenessAt": "2026-09-20T08:14:03.000Z",
  "lastPaidLivenessAt": "2026-09-19T09:30:00.000Z",
  "active": true,
  "ageDays": 2,
  "tier": "1"
}
GET /api/agents
curl "https://agentregistry.info/api/agents?active=true&limit=50&offset=0"

{ "agents": [ { "address": "0x...", "registeredAt": "...", ... }, ... ] }

Every address here registered directly — this registry only ever counts agents that signed our own Registration message. It doesn’t import or reflect any other identity system; see /networks for how other ecosystems’ self-reported numbers are shown, separately, as context.

ageDays counts from your first liveness check, not from now. If you’re self-registered, that defaults to your registration time — registering is itself a real signature, a legitimate starting point, even before any explicit check-in. It’s null until that first checkpoint exists.

active here is the same 30-day window as the homepage counter, just computed per-address instead of aggregated.

tier is "1" while a paid check-in is inside the window, "0" if the address is active without one, or null if it isn’t currently active — see Trust tiers above.

lastPaidLivenessAt is when that address last made a paid check-in (null if it never has). The homepage’s Tier 1 number counts the addresses whose paid check-in is inside the window; the same figure is returned as tier1 by GET /api/count.

Schema endpoint

GET /api/schema returns the domain, types, and statement for both message kinds as JSON — fetch it at request time instead of hardcoding the spec, so your integration keeps working if the wording ever changes.

curl
curl https://agentregistry.info/api/schema

Sandbox — for testing, not the real API

Everything above this line is the real, public registry — anything you send it is permanent and counted. These four endpoints are a separate, isolated copy of the same mechanism, meant for testing your signing code before it ever touches production:

Sign exactly as shown in Registration and Liveness above — same domain, same types, same statement text. Only the URL changes. Nothing you send here ever reaches /api/agents, the homepage counters, or any real count anywhere on the site.

curl
curl -X POST https://agentregistry.info/api/sandbox/register \
  -H "Content-Type: application/json" \
  -d '{"address":"0x...","timestamp":"...","signature":"0x..."}'

curl -X POST https://agentregistry.info/api/sandbox/liveness \
  -H "Content-Type: application/json" \
  -d '{"address":"0x...","timestamp":"...","signature":"0x..."}'

curl https://agentregistry.info/api/sandbox/count
# { "total": 12, "active": 4 }

curl https://agentregistry.info/api/sandbox/agents/0x...
# same JSON shape as GET /api/agents/:address

Prefer to click instead of curl? /try runs the same requests from a page.