Agents
An agent can take one task's corpus without a subscription. It asks for the file, is answered 402, and pays 0.01 USDC on Monad in the request that fetches it, final about 600 ms after it lands on Monad. No account, no API key and no subscription: the payment is the permission.
- Endpoint
- GET /api/agent/corpus?taskId=N
- Price
- 0.01 USDC per task corpus, x402 exact scheme
- Settles
- On eip155:10143, through Monad's x402 facilitator, which submits the agent's signed USDC authorisation and pays the gas. Only after the file is ready: a task with nothing recorded answers 404 and charges nothing.
- Paid to
- reading…
- Sales log
- reading…
Reading the ledger…
Reading the ledger…
The agent in the repository reads the tasks and their datasheets, decides what to buy within a budget its code enforces, pays over x402, hashes what it received and asks SalesLog whether those exact bytes were logged as sold. Then it signs its account of all of that and publishes it here. Qwen on Model Studio, Kimi on Moonshot, or Qwen 3 on this machine through Ollama:
AGENT_LLM=ollama node --import ./test/register.mjs scripts/qwen-agent.mjs https://app.thenar.io
Without a model, the plain buyer pays and verifies the same way: node --import ./test/register.mjs scripts/agent-buy.mjs https://app.thenar.io 1