Moneo

v0.4.0
io.github.moneolabs/moneo Checked 2 days ago Published 4 months ago

A guarded wallet for AI agents on Robinhood Chain: a spending policy runs before every signature.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_balance Get balance

Current balance of the agent's wallet, and how much of it is not already committed to a pending payment.

preflight_payment Preflight a payment

Ask whether a payment would be allowed, without making it. Use this before proposing a spend to the user.

ParameterTypeDescription
amount *stringAmount, for example "$12.50" or "0.01 ETH".
to *stringRecipient: address, domain, or endpoint.
memostringWhat the payment is for.

pay Send a payment

Send a payment from the agent's wallet. Policy runs first: if it refuses, no money moves and the reason is returned.

ParameterTypeDescription
amount *stringAmount, for example "$12.50" or "0.01 ETH".
to *stringRecipient: address, domain, or endpoint.
memostringWhat the payment is for.

get_spending_limits Get spending limits

The spending limits in force and how much of each budget is left. Check this before planning a series of payments.

list_payments List payments

Payments this wallet has made in the current session.

ParameterTypeDescription
limitnumberMost recent N. Defaults to 20.

get_quote Get a trade quote

Price a trade across every venue that can fill it, without committing to anything. Returns the best route.

ParameterTypeDescription
buy *stringAsset acquired, for example "AAPL".
notional *stringHow much to spend, for example "300 USDG".
sell *stringAsset given up, for example "USDG".

execute_order Execute an order

Quote and execute a trade. Policy runs before anything is signed: a refusal returns the reason and costs nothing. Attach takeProfit and stopLoss to ship the exit with the entry.

ParameterTypeDescription
buy *stringAsset acquired.
notional *stringHow much to spend, e.g. "300 USDG".
sell *stringAsset given up.
limitPricenumberlimit: price to rest at.
maxSlippagenumberLargest acceptable adverse move as a fraction, e.g. 0.003. Exceeding it rejects the order instead of filling it worse.
stopLossnumberbracket: exit price below.
takeProfitnumberbracket: exit price above.
typestringOrder type. Defaults to market.
windowstringtwap: window to spread across, e.g. "30m".

list_positions List positions

Open positions with cost basis and unrealized P&L at the latest mark.

close_position Close a position

Exit a position with the same guarantees the entry had: policy first, slippage bound enforced.

ParameterTypeDescription
asset *stringAsset to close.
maxSlippagenumberLargest acceptable adverse move as a fraction.