Agent commerce settlement router for AI agents on Base. Split USDC into liquid working capital and routed yield.
Clicks Protocol ⚡
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Agent commerce settlement routing for USDC flows on Base.
中文文档
Website ·
Twitter ·
Discord ·
Medium ·
Substack ·
Reddit ·
Treasury Lab ·
mcpservers.org
---
---
One call. Yield starts.
That's it. No config. No dashboard. No human required.
---
What Clicks does
Every USDC payment your agent receives gets auto-split:
- **No lockup.** Withdraw anytime.
- **No manual steps.** Fully autonomous.
- **2% fee on yield only.** Never on principal.
- **Auto-rebalances** between Aave V3 and Morpho for best APY.
---
Install
---
x402 + Coinbase Agentic Wallets
Clicks is designed to sit after x402-style payment flows on Base.
x402 handles authorization and payment. Clicks routes USDC after receipt:
- Same chain (Base), same USDC contract
- 80% liquid for operations
- 20% routed through treasury yield
- No lockup, withdraw anytime
---
SDK
Quick Start (recommended)
One call: registers agent, approves USDC, splits first payment.
Individual operations
Read-only (no signer needed)
---
MCP Server
AI agents can discover and use Clicks via MCP:
16 tools available: clicks_quick_start, clicks_register_referral, clicks_get_agent_info, clicks_simulate_split, clicks_get_yield_info, clicks_get_referral_stats, clicks_verify_receipt, clicks_get_settlement_status, clicks_reconcile_settlement, clicks_replay_policy, clicks_get_receipt_trail, clicks_receive_payment, clicks_withdraw_yield, clicks_register_agent, clicks_set_yield_pct, clicks_explain
Works with Claude, Cursor, LangChain, and any MCP-compatible client.
---
Referral Network
Referral contracts exist on-chain. Treat them as a separate attribution layer from the current SDK quickStart() helper.
| Level | Share of protocol fee |
|-------|----------------------|
| L1 (direct referral) | 40% |
| L2 | 20% |
| L3 | 10% |
| Treasury | 30% |
The referred agent pays **nothing extra**. Rewards come from the 2% protocol fee once referral attribution has been registered through a dedicated flow.
Recommended flow:
Important:
- quickStart() handles treasury setup.
- registerReferralWithSig() handles explicit attribution.
- quickStartWithReferral() is a convenience wrapper over those two steps, not an atomic one-shot contract call.
**Economics per $10k deposit at 7% APY:**
| Your tree | Passive income/year |
|-----------|-------------------|
| 10 agents | $56 |
| 100 agents | $560 |
| 1,000 agents | $9,800 |
| 10,000 agents | $98,000 |
---
Agent Teams
Form squads, hit TVL milestones, earn bonus yield:
| Tier | TVL threshold | Bonus yield |
|------|--------------|-------------|
| 🥉 Bronze | $50k | +0.20% |
| 🥈 Silver | $250k | +0.50% |
| 🥇 Gold | $1M | +1.00% |
| 💎 Diamond | $5M | +2.00% |
---
Contracts (Base Mainnet)
| Contract | Address |
|----------|---------|
| ClicksRegistry | 0x23bb...0C0a3 |
| ClicksSplitterV4 | 0xB7E0...f3C8 |
| ClicksYieldRouter | 0x0531...EECD |
| ClicksFeeV2 | 0x8C4E...0fb5 |
| ClicksReferral | 0x1E5A...4ccC |
| Safe Multisig (Owner) | 0xaD82...D6A9 |
| USDC | 0x8335...913 |
All contracts verified on Basescan. Owned by Gnosis Safe multisig — single-key compromise is not possible.