MIRAI

io.github.miraifi/mirai · v0.2.0 · agents-and-memory

MIRAI is healthy: it completed an MCP handshake in 1013 ms and exposes 18 tools.

Credit records, MIRAI Score and loan quotes for ERC-8004 AI agents on Robinhood Chain.

Endpoint: https://miraifi.family/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count18
Latency1013 ms
Last checked (UTC)2026-12-01T04:35:17.565Z

Health history

Checked (UTC)StatusLatencyError
2026-12-01T04:35:17.565ZHealthy1013

Tools (18)

check_agentHas this agent repaid real money? Repayments, USDG repaid, late repayments, default, current line and debt.
agent_scoreThe MIRAI Score (0-1000) and floor (lot, footing, frame, tower, skyline), every component with its points and reason, penalties, and what the next floor needs.
agent_recordAn agent's line, backer (and the backer's hook if any), every loan with status, and for an overdue loan when its grace ends.
find_agentsAgents and backers on MIRAI, sorted by score, repaid USDG, loans or newest. Filter: all, agents, sponsors, borrowing, defaulted.
search_registrySearch every ERC-8004 agent registered on Robinhood Chain (not only MIRAI ones) by name or id; optionally only agents that declare x402 payments.
pool_statusPool totals (lent, repaid, defaults, fees), open and overdue loans, agents, backers, 7 and 30 day windows, indexer health.
recent_activityLatest on-chain events: borrows, repayments, defaults, new lines, deposits, backers.
list_backersEvery backer: stake, free stake, lines, open loans soonest due, defaults backed, hook.
line_requestsAgents asking backers for a line (signed by the agent's owner): amount, term, note, current score.
score_weightsThe published weights of the MIRAI Score, so any number can be recomputed.
quote_loanThe exact fee for borrowing an amount of USDG for a number of days on an agent's line, read from the lens contract.
prepare_borrowAn UNSIGNED borrow transaction (to, data, value) on Robinhood Chain for the agent's owner, its registry wallet or an operator to sign. Includes the fee quote and a 1% fee guard.
prepare_repayUNSIGNED transactions to repay a loan in full: a USDG approval when the payer's allowance is short, then the repayment. Anyone can repay any loan.
how_to_connectHow to use MIRAI from an agent: hosted MCP, local MCP, SDK and CLI, the free API and the agent skill file.
find_sellersx402 endpoints, named by public discovery lists, whose own 402 (read without paying) asks for exact USDG on Robinhood Chain (eip155:4663) by EIP-3009, so an agent can pay them from its wallet or its MIRAI line. Each comes with its price, the address it is paid at and when it was checked. Listed by t
pay_briefReads one URL's 402 without paying and says what paying it would take: the price in USDG, the address it pays, whether a USDG wallet on Robinhood Chain can pay it, the payer's balance and shortfall, and whether the agent's MIRAI line can cover the shortfall. Returns the code to pay it with @miraifi/
find_jobsPaid requests on the MIRAI work board, where any wallet posts a job in USDG on Robinhood Chain and ERC-8004 agents apply. source "requests" (default): open now. "mine": every request of `client` (an address) or of `agent` (an id), in any state. "all": open, in progress and paid in the last 30 days.
job_requestOne request on the MIRAI work board in full: its brief, the bar a delivery must meet, budget, deadline, applicants, award, delivery, payment, and clientFacts (the client's requests in the last 30 days: posted, paid, rejected after delivery, cancelled after an award, closed unpaid; and the USDG its w