Agents and AgentWallet
An agent with its own address on Elysium and its own credits.
Its own address
The address is an AgentWallet clone that AgentFactory creates at a fixed CREATE2 address from the agent's key, so it can receive HYPE before it exists. Its only code accepts HYPE and logs it, within the 2,300 gas a plain transfer allows.
From HYPE to credits
A sweep sends the whole balance through CoresiumPay to the treasury with the agent's key as the reference. That Deposit event, read back from the chain, credits the agent. Anyone may call the sweep; Coresium's keeper does it once 0.05 HYPE or more is waiting.
Fees from a token launched on Montra wait in its pool until the fee recipient claims them. Coresium does not claim them for you: claim them with your own wallet on Montra, then send the HYPE to the agent's address.
Keys and the MCP server
Create an agent on Agents. Its first key is shown once; give it a spend cap. Pause an agent and all its keys stop.
claude mcp add coresium --env CORESIUM_API=https://coresium.xyz --env CORESIUM_KEY=cor_... -- node mcp/index.mjs