Somnia Agents

Using the explorer

Browse agents, requests, receipts and network state in the Somnia Explorer.

The Somnia Explorer shows Somnia Agents activity at somnia-platform-explorer.vercel.app/agents. Use its chain selector to switch between Global (mainnet) and Global testnet. Every page shows data for the selected network.

Page Path What it shows
Directory /agents Every agent in the AgentRegistry, with its methods and price, plus network-wide stats
Agent /agents/<agentId> One agent's methods, a generated Solidity snippet per method, and recent requests
Requests /agents/requests Recent requests, with lookup by ID
Request /agents/requests/<requestId> One request's on-chain state and each validator's signed receipt
Network /agents/network Committee members, protocol parameters and contracts
Live feed /agents/live Requests as they are created

Directory

/agents lists every agent registered in the AgentRegistry, with its methods and price. Network-wide stats sit above the list. Select an agent to open its page.

Agent page

/agents/<agentId>, for example /agents/9911223344556677889 for the Price Oracle, shows:

  • each method, with its inputs and outputs;
  • a generated Solidity snippet for each method, covering payload encoding, the deposit, the createRequest call and the callback, ready to copy into your contract (see Invoking from Solidity);
  • the agent's recent requests.

Requests

/agents/requests lists recent requests with their status, subcommittee responses and payout. To find a specific request, look it up by the ID returned from createRequest.

Request page

/agents/requests/<requestId> shows:

  • the request's on-chain state;
  • each validator's signed receipt, loaded from the receipts service.

Use it to check why a request succeeded, failed or timed out. See Receipts for what each receipt contains.

Network

/agents/network shows the committee members, the protocol parameters, and the contracts the agents platform uses.

Live feed

/agents/live shows requests as they are created, refreshed every few seconds.

Edit this page