Create and Fund Your First Agent

beginner agents 10 min

An end-to-end guide on creating a new AI agent wallet, waiting for on-chain registration, and funding it with OKRW.

What You Will Learn

  • ✓How to create an agent using the MCP tool.
  • ✓How to check the agent's status.
  • ✓How to transfer funds from the owner to the agent.

Prerequisites

  • Authenticated via m-aws login.
  • The owner wallet must hold at least 1,000 OKRW plus a little for gas. The testnet faucet (https://faucet.maroo.io) gives 5,000 tOKRW per request and stops once a wallet holds 10,000.

Tools Needed

MCP Client (e.g., Claude Desktop)m-aws CLI
In this tutorial, you will instruct your AI agent to create a new sub-agent wallet, verify its activation, and fund it so it can operate autonomously.
1

1. Create the Agent

First, ask your LLM to create a new agent. The LLM will call agent.create.

LLM Tool Call

agent.create json
{
  "name": "MyFirstAgent"
}
Note: The agent starts in a PENDING state. It takes 1-3 minutes for the WaaS backend to register the AA wallet on the Maroo chain.
2

2. Check Agent Status

Wait a few minutes, then have the LLM check if the agent is ready using agent.detail.

LLM Tool Call

agent.detail json
{
  "agentId": "<returned-agent-id>"
}
3

3. Fund the Agent

Once the status is ACTIVE, use agent.fund to send OKRW from your main owner wallet to the agent. amount is a decimal OKRW string without commas: "1000" sends 1,000 OKRW.

LLM Tool Call

agent.fund json
{
  "agentId": "<returned-agent-id>",
  "amount": "1000"
}

Conclusion

Your agent is now ACTIVE and funded with 1,000 OKRW. It can now use transfer.send to interact with the Maroo network autonomously.
ESC
Type to search