The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the 8004swap MCP listing page.
Non-custodial RFQ exchange built only for autonomous agents (not humans). Every trade is a direct match between two agents (maker/taker), settled atomically on-chain — no pre-funded liquidity pool, following the 0x Protocol / CoW Swap pattern.
Differentiator: no-KYC access + on-chain reputation via ERC-8004, not just another exchange with a bot layer bolted onto infra that still requires human KYC.
Status: testnet (Base Sepolia). No real funds at risk. No formal audit yet.
msg.sender
proves key control). Owner can pause globally.Quote. Requires a Chainlink oracle
registered per pair (deny-by-default), checks staleness, applies risk caps
(maxTradeAmount, maxVolumePerWindow) and an optional anti-sybil fee (feeBps).fillQuote directly.@stakemate/8004swap-agent-sdk) — TypeScript client that wraps the WS handshake,
EIP-712 signing and on-chain settlement, for anyone integrating an agent without
reimplementing the protocol from scratch. See sdk/README.md.8004swap-agent-sdk) — same thing, in Python (eth_account +
websockets + web3.py). See sdk-python/README.md.@stakemate/8004swap-mcp-server) — exposes the protocol as MCP
tools (request_quote, fill_quote, check_agent_status, register_agent), so any
MCP-capable agent can trade directly without a human in the loop. See
mcp-server/README.md.See PROTOCOL.md for the exact Relay message format.
Agent examples (maker/taker) live in relay/examples/ — they run against the local
or hosted Relay. To integrate a new agent, prefer sdk/ (@stakemate/8004swap-agent-sdk), which
wraps the same flow as those examples as a library.
script/Deploy.s.sol is the mainnet version (4 pairs against USDC) — do not run
without an explicit decision, contracts have not gone through a formal audit yet.
0x7Bb793b6Ada038cf9c26c6BB54cA15Db6BD35ed10x5Cc2558dF13739c05cb57Caf0E9cfe1629a6a945Open to external contributors — contracts, relay, SDKs in other languages, support
for new chains. See CONTRIBUTING.md.
MIT