npx atxp agent register provisions a new agent account with a connection string, an Ethereum wallet, an {agentId}@atxp.email mailbox, and $5 in starter credits, with no human approval step.
Why ATXP
Three things make ATXP useful for paying Remlo:- Self registration. A single CLI command produces a fully funded agent account. Useful when you want to script an end to end demo without first standing up a wallet by hand.
- x402 ecosystem support. The
@atxp/x402adapter wraps any fetch function so it auto handles HTTP 402 challenges. ATXP clients can call any x402 compatible server, including Remlo’s/api/mpp/*routes, with zero server side ATXP code. - Multiple account backends. ATXP accounts work, but you can also bring your own Base, Solana, Polygon, or Worldchain wallet via the matching
@atxp/base,@atxp/solana, etc. adapter.
Setup
https://accounts.atxp.ai?connection_token=<token>&account_id=<id>. Save it as ATXP_CONNECTION in your environment.
npx atxp fund (returns deposit addresses + a shareable payment link). Check balance with npx atxp balance.
Calling Remlo from an ATXP agent
The cleanest path is to connect your ATXP client to Remlo’s MCP server. Wrap the client’s fetch with@atxp/x402 so x402 payment challenges are handled transparently.
wrapWithX402 reads any 402 response, signs a USDC payment proof with the ATXP-issued wallet, and retries transparently. Your agent code never touches the protocol layer. Both required fields (account and mcpServer) come straight from the ATXP client config.
For tools that mutate employer state (remlo_agent_pay, remlo_payroll_execute, etc.), pass the Tier 1 / Tier 2 identity headers in the tool arguments via the underlying transport headers:
Bring your own chain account
If you already have a Base or Solana wallet you’d rather sign with, swap the account type. The@atxp/x402 wrapper accepts any account that satisfies the Account interface:
paidFetch shape, different account type. Solana, Polygon, and Worldchain follow the same pattern with their respective @atxp/<chain> packages.
What ATXP isn’t
- It isn’t a dependency for Remlo. We don’t ship code that imports
@atxp/clientor@atxp/express. ATXP is one of several wallet flavors that can call our endpoints. - It isn’t a server side framework for Remlo. ATXP’s
@atxp/expressmiddleware is Express specific and exists for monetizing your own MCP server, not for receiving payments at Remlo’s existing routes. - It isn’t an authentication system. Identity for principal bound endpoints uses the standard Remlo Tier 1 / Tier 2 headers, signed independently of ATXP.
- It isn’t required to be in ATXP’s MCP catalog to pay Remlo. The
@atxp/x402adapter calls any 402 compatible URL, regardless of catalog status.