HaxenMed Restock Agent

Say what you need. Tap Pay. The supplier gets cedis.

Built for pharmacies in Ghana. The pharmacist tells the agent what to order on Telegram, typed or as a voice note, or the agent spots low stock itself. It prices the order in cedis, asks the owner, and only after they tap Pay converts dollars to the cedi stablecoin (GHSm) on Mento and pays the supplier on Celo. No wallet screens, no exchange: the agent works from a wallet the owner controls, inside limits the chain enforces.

πŸŽ™ β€œOrder eight ORS sachets and five paracetamol.”
HaxenMed Restock Agent
πŸŽ™ I heard: "Order 8 ORS sachets and 5 paracetamol." β€’ 8 Γ— ORS sachet: 20 GHSm β€’ 5 Γ— Paracetamol 500mg strip: 15 GHSm Total: 35 GHSm Pay this order?
βœ… Pay❌ Don't pay
HaxenMed Restock Agent
Paid: 35 GHSm to the supplier's own wallet, with a Celoscan link.

An example of the real Telegram flow. Voice notes are turned into text on the owner's own computer; nothing is paid without the owner's tap.

What it does

1

Hears the order, or reads stock

The owner says or types what they need, matched word by word against the pharmacy's catalogue; anything unclear is asked back. Or it reads stock levels from HaxenMed, the pharmacy system we run for pharmacies in Ghana.

2

Plans the reorder

Anything at or below its reorder point gets enough whole cartons to cover the supplier's lead time plus two weeks. Every line says why.

3

Converts on Mento

Swaps just enough USDC to Ghana cedis (GHSm) on Mento that even the worst allowed price covers the invoice. Swaps that point at an unknown contract are refused.

4

Pays and reconciles

Cedis go to the supplier's own wallet. Then the agent checks its books against the chain and flags anything it can't explain.

The owner stays in control

The agent never holds the wallet's key. It holds a session key the owner granted, and the chain refuses anything outside it.

Non-custodial wallet

An Altana smart agentic wallet. The owner's key controls it; Altana holds no keys.

Daily caps, allowlist, expiry

The session key can only approve USDC, call Mento's Router, and transfer cedis or USDC, up to a daily cap per token, until it expires.

Off in one transaction

The owner revokes the key with one transaction. After that, every call the agent makes is refused onchain.

Its own limits too

Per-order and per-run limits stop the agent before it even asks for a quote.

Built like a payments backend

Double-entry ledger

Every movement balances to zero per currency. Integer token units, never floats. Postings can't be edited or deleted.

Never pays twice

The purchase order id is the idempotency key. Re-running, retrying or crashing can't create a second payment.

Recovers by asking

After a crash, it searches the chain for the swap and the transfer, and only counts a swap that spent exactly its own dollars. It waits for confirmations before deciding anything never happened.

Reconciles with the chain

Books owner deposits and relay fees, matches every payment, checks the attribution tag, and flags money that left without the agent sending it.

See it handle a crash β†’