Liquid Agent
Money tools for AI agents over x402: USDC bridge to 16 chains, Polymarket data, stocks, USDC gas.
Install
mcp_config.json
{
"mcpServers": {
"ai-liquidagent-api-liquid-agent": {
"url": "https://api.liquidagent.ai/mcp",
"type": "streamable-http"
}
}
}Documentation
Liquid Agent: money tools for AI agents (x402)
x402 money tools for AI agents. Verified US local business leads at $0.03 a lead, a one-signature USDC bridge from Base to 16 chains, the live Polymarket price to beat, a tokenized US stock basket from $1, gas paid in USDC, a $0.05 static malware scan for code before you install or run it, web search, page-to-Markdown and on-chain reads, and gift search in partner shops, plus free USDC and x402 debugging tools and a remote MCP server. No account, no API key, and the server never holds your keys.
Homepage: https://liquidagent.ai · Live API: https://api.liquidagent.ai · MCP: https://api.liquidagent.ai/mcp · Agent guide: https://api.liquidagent.ai/v1/guide · Status: https://api.liquidagent.ai/v1/status
| Service | What it does | Price |
|---|---|---|
| Liquid Leads | US local businesses by category and place (50 states + D.C., 7.5M businesses): a checked email graded A/B/C, contact name, phone, a website proven by the business's own phone number, socials and buying signals. Free count and 3 free samples a day. Plus reverse lookup by phone or website ($0.01), website tech ($0.005), and bulk enrichment ($0.01 per match) | $0.03 / lead |
| Liquid Bridge | USDC from Base to Arc, Arbitrum, OP, Polygon, Avalanche, Unichain, Linea, World Chain, Sonic, Monad, Sei, Ink, HyperEVM, XDC, Plume, Codex (or Arc to Base), one x402 signature, exact delivery. Referrers earn 20% of the fee. Proof of delivery | 1% + network fee |
| Polymarket price to beat | The official price to beat for BTC, ETH, SOL, XRP Up/Down on 5m and 15m, live during the window. First call free with ?free=1 | $0.004 / call |
| Tokenized stocks | Your own vault of Coinbase's tokenized NVDA, META, AAPL, GOOGL on Base from $1. Unsigned transactions you sign | free reads, signals $0.007 |
| Gas sponsor | Transact on Base, Polygon or Solana holding only USDC | from $0.03 |
| Chain tools | Transaction decode on five EVM chains ($0.003), Base batch preflight ($0.005 + $0.002/call), decoded event logs ($0.005 per 1,000 blocks) | from $0.003 |
| Malware scanner | Static scan for a file, a folder of up to 100 files, or a public GitHub repo (working tree + history) before installing, building, or running it. Verdict, score 0–100, action. Calibrated on the Contagious Interview attack: blocked 7/7 trojanized build configs and 12/12 Shai-Hulud packages | $0.05 / scan |
| Website Watcher | Is this link safe to click? Phishing, typosquat and scam check with a fixed-schema verdict, score and action | $0.01 quick / $0.05 full |
| Web search, extract, on-chain reads | Ranked web search with LLM-ready excerpts, any public page as clean Markdown, latest block / balance / transaction on Base or Arc | $0.005 search, $0.002 extract, $0.002 read |
| Gift search | Search the Mint & Marquee partner shop (custom 3D printed figurines, statues, keychains, bag tags) and get products with price, photo and a link to buy | $0.001 / search |
| Free tools | USDC balances on 11 chains, status of any CCTP transfer, x402 debugger, payment readiness check | free |
x402 · AI agents · lead generation · local business leads · USDC bridge · CCTP · Polymarket · MCP · tokenized stocks · Base · ERC-4626 · ERC-8004 · agentic commerce · agentic shopping · no oracle · self-custodial
What is this?
The stock index part of Liquid Agent is an agent-native tokenized-stock index on Base. An autonomous agent (or a human) can:
- Discover the index and live prices over plain HTTP — no API key, no account, no allowlist.
- Mint its own vault (ERC-4626) holding a band-rebalanced basket of Coinbase's tokenized NVDA / META / AAPL / GOOGL.
- Buy from $1, set custom weights, rebalance, and exit any block — to USDC, or the raw stock tokens in-kind (un-trappable).
Every read is free. Every write returns an unsigned transaction the agent signs with its own wallet and broadcasts with its own gas (or hands it to the gas sponsor and pays in USDC) — the server never holds a key, so there's no account to create and nothing to steal.
Built for the agent economy: x402-discoverable, an A2A agent card, llms.txt / agents.txt, and a permissionless ERC-8004 on-chain identity (agentId 74094 on Base).
Why an agent picks this
Instead of picking four stocks, sizing each, buying them separately, and rebalancing by hand, an agent makes one call and owns a single auto-rebalanced share of a diversified tokenized-equity basket — self-priced (no oracle), redeemable any block, with no project token, all reachable over a live HTTP + x402 API.
MCP server (remote, no install)
Connect any MCP client (Claude, Cursor, ChatGPT, agent frameworks) by URL: https://api.liquidagent.ai/mcp (Streamable HTTP, no auth). Listed in the official MCP Registry as ai.liquidagent.api/liquid-agent.
claude mcp add --transport http liquid-agent https://api.liquidagent.ai/mcp
{ "mcpServers": { "liquid-agent": { "type": "streamable-http", "url": "https://api.liquidagent.ai/mcp" } } }
47 tools:
- Website Watcher:
link_check($0.01 quick / $0.05 full: is this link safe to click? phishing, typosquat and scam check with a fixed-schema verdict) - Malware scanner:
malware_scan/malware_scan_batch/malware_scan_repo($0.05 each: static PolinRider / Contagious Interview scan for a file, a folder of up to 100 files, or a public GitHub repo before installing, building, or running it; verdict, score 0–100, action) - Leads:
leads_count(free: matches and the exact price),leads_search($0.03 a lead),leads_lookup($0.01: the business behind a phone number or website),leads_tech($0.005: what a business website runs on), all paid inside the tool call - Bridge:
bridge_quote,bridge_prepare_payment,bridge_routes,bridge_status,bridge_referral_earnings - Stocks:
stocks_basket,stocks_portfolio,stocks_buy_quote,stocks_vault,stocks_create_vault,stocks_set_weights,stocks_buy,stocks_sell,stocks_rebalance,stocks_send(write tools return an unsigned transaction you sign yourself) - Paid inside the tool call (x402 over MCP):
polymarket_price_to_beat($0.004),stocks_signals($0.007),shop_search($0.001),web_search($0.005),web_extract($0.002),rpc_read($0.002). Call once without payment to get the x402PaymentRequired, then call again with the signed payment in_meta["x402/payment"]; the data comes back with the receipt in_meta["x402/payment-response"](x402 MCP transport spec). Pay on Base, Polygon or Arc. - Paid prep (returns the HTTP 402 to pay yourself):
polymarket_prepare($0.004),stocks_signals_prepare($0.007),stocks_publish_prepare($0.01) - Utilities:
usdc_balances(every CCTP chain),cctp_status(any Circle CCTP transfer, and how to finish a stuck one),x402_check(decode a 402, verify a signed payment, get the fix),payment_readiness(can this wallet pay this endpoint) - Chain tools:
gas_preflight($0.005 Base simulation),gas_batch_preflight($0.005 + $0.002 per additional call),gas_decode($0.003 multi-chain transaction and event-log decode),chain_logs($0.005 per started 1,000 blocks),leads_enrich($0.01 per input that finds a business; misses free) - Other:
gas_sponsor_info,shop_info,liquid_guide
Plus 4 doc resources and 3 prompts (bridge USDC, earn referrals, buy the basket). Free to connect. Paid tools settle x402 inside the call; your agent signs with its own wallet. The server never signs or holds funds.
Discovery (machine-readable, self-hosted)
| Doc | URL |
|---|---|
| Agent guide (full procedure) | https://api.liquidagent.ai/v1/guide |
| OpenAPI 3.1 | https://api.liquidagent.ai/openapi.json |
| x402 discovery manifest | https://api.liquidagent.ai/.well-known/x402 |
| x402 resource catalog | https://api.liquidagent.ai/.well-known/x402-resources |
| A2A agent card | https://api.liquidagent.ai/.well-known/agent-card.json |
| ERC-8004 registration | https://api.liquidagent.ai/.well-known/erc8004.json |
| llms.txt | https://api.liquidagent.ai/llms.txt |
| MCP server card | https://api.liquidagent.ai/.well-known/mcp/server.json |
| Bridge proof of delivery | https://api.liquidagent.ai/v1/bridge/proof |
| MCP Registry entry | mcp-server.json |
Agent skill (OpenClaw · ClawHub · skills.sh)
A ready-made skill that teaches an agent the whole flow lives in skills/liquid-agent-stocks/SKILL.md.
clawhub install liquid-agent-stocks # OpenClaw / ClawHub — the stock index
clawhub install liquid-gas-sponsor # OpenClaw / ClawHub — the gas sponsor (transact with USDC only, no ETH)
clawhub install liquid-polymarket # OpenClaw / ClawHub: Polymarket official price to beat, live
npx skills add LiquidAgent/liquidagentx402 # skills.sh (any agent that reads SKILL.md): every skill in skills/
Quickstart — create → buy → rebalance → exit
Reads are free. Writes return an unsigned {to,data,value,chainId} (or {steps:[...]}) that you sign and broadcast.
BASE=https://api.liquidagent.ai
# 1. Discover the index (free)
curl -s $BASE/v1/basket
# 2. Preview a $2 buy (free; USDC-6, so 2000000 = $2.00)
curl -s "$BASE/v1/quote?usdc=2000000"
# 3. Open your vault (ONE time) — returns an unsigned tx; sign + broadcast it
curl -s -X POST $BASE/v1/create-vault -H 'content-type: application/json' -d '{}'
# 4. Find your vault address
curl -s $BASE/v1/balance/0xYourAddress # -> vaults[0].vault
# 5. (optional) Set custom weights — bps summing to 10000; sign + broadcast
curl -s -X POST $BASE/v1/set-weights -H 'content-type: application/json' \
-d '{"vault":"0xYourVault","weightsBps":[4000,2000,2000,2000]}'
# 6. Buy in — ONE tx, no approve: get an EIP-2612 permit payload, sign it OFF-CHAIN,
# then exchange the signature for a single unsigned depositWithPermit tx
curl -s -X POST $BASE/v1/buy -H 'content-type: application/json' \
-d '{"vault":"0xYourVault","usdc":"2000000","permit":true,"owner":"0xYourAddress"}'
# -> {typedData} ... sign with eth_signTypedData_v4, then:
curl -s -X POST $BASE/v1/buy -H 'content-type: application/json' \
-d '{"vault":"0xYourVault","usdc":"2000000","permit":{"deadline":<from typedData>,"signature":"0x..."}}'
# (omit `permit` entirely for the legacy approve + deposit two-step)
# 7. Check your vault (free)
curl -s $BASE/v1/vault/0xYourVault
# 8. (optional) Rebalance to target — sign + broadcast
curl -s -X POST $BASE/v1/rebalance -H 'content-type: application/json' -d '{"vault":"0xYourVault"}'
# 9. Cash out — to USDC or raw tokens; sign + broadcast
curl -s -X POST $BASE/v1/redeem -H 'content-type: application/json' \
-d '{"vault":"0xYourVault","shares":"<amount>","inKind":false}'
Signing: every write returns an unsigned {to,data,value,chainId}. Sign it with your own wallet and broadcast via eth_sendRawTransaction to any Base RPC. deposit / rebalance / redeem swap B20 precompile tokens, which break naive public-RPC gas estimation — if estimation fails, pass an explicit gas limit of ~3,000,000.
Runnable examples: examples/buy.js (viem) · examples/buy.py (Python) · examples/read.sh (curl).
Endpoints
Reads (free): GET /v1/basket · GET /v1/vault/{address} · GET /v1/balance/{agent} · GET /v1/quote?usdc= · GET /v1/guide
Writes (return unsigned calldata): POST /v1/create-vault · /v1/set-weights · /v1/buy · /v1/rebalance · /v1/redeem (sell / cash out) · /v1/send (transfer to any wallet)
Paid (x402): GET /v1/signals ($0.007 — the basket's rebalancing signal in one call) · POST /v1/publish ($0.01 — a live, shareable portfolio page) · POST /v1/gas (from $0.03 — the gas sponsor: transact with USDC only, no ETH) · GET /v1/bridge (1% — the one-signature USDC bridge, Base <-> Arc)
An agent can buy the basket, sell it any block (/v1/redeem → USDC or the raw stocks in-kind), and send it to any wallet (/v1/send) — gift or hand a whole tokenized-stock basket to another agent in one transfer, no vault needed on their end.
Full spec in openapi.json.
Paid: basket signals (x402)
GET /v1/signals — $0.007 USDC per call — one call returns the whole basket's rebalancing signal, so an agent doesn't have to visit four sites: per-stock returns, annualized volatility, RSI, trend, relative strength, a correlation matrix, and an inverse-volatility suggested weightsBps you can drop straight into POST /v1/set-weights → POST /v1/rebalance. Add ?vault=<yours> to also get current-vs-suggested drift for your vault.
Pay by signing a USDC authorization (x402 exact scheme, EIP-3009, on Base) — any x402-aware client handles the 402 automatically:
curl -s https://api.liquidagent.ai/v1/signals # -> 402 with the x402 payment challenge
# an x402 client (AgentCash, x402-fetch, CDP) pays the $0.007, then receives:
# { "basket":[{symbol,returns,volAnnualPct,rsi14,trend,relStrengthM1}, ...],
# "basketStats":{ "correlation": {...} },
# "signals":{ "riskParityWeightsBps":[...], "biasVsEqualWeightBps":[...], "momentumRankDesc":[...] } }
Everything else stays free; the paid resources are signals, publish, the gas sponsor, and the bridge below.
Paid: gas sponsor (x402) — transact with USDC only, no ETH
Most agent wallets hold USDC and nothing else. POST /v1/gas is an ERC-4337 paymaster you pay per operation in USDC over x402: no ETH, no account, no API key. Price is max($0.03, 1.3 × the operation's gas cap); the signed sponsorship locks the gas limits and max fee, so the sponsor can never charge more than it quoted. One endpoint, the body picks the lane:
Smart-wallet SDKs (ERC-7677). Point the SDK's paymaster URL at https://api.liquidagent.ai/v1/gas. pm_getPaymasterStubData is free; an unpaid pm_getPaymasterData returns a JSON-RPC error {code:402, data:<x402 PaymentRequired>} (HTTP stays 200 so SDKs don't choke). Put the x402 payment object in params[3].context.x402 and retry. Then send the signed operation back to the same URL, not to a public bundler: bundlers only relay staked paymasters and this one is not staked yet, so the bring-your-own-operation step below is the last mile (we dry-run and submit it ourselves).
Plain wallets (any EOA, via EIP-7702). Two calls to the same URL:
# 1. quote: the 402 IS the quote (exact price for THIS operation, valid 120 s)
curl -s -X POST https://api.liquidagent.ai/v1/gas -H 'content-type: application/json' \
-d '{"sender":"0xYourEOA","calls":[{"to":"0x…","data":"0x…","value":"0"}]}' # any calls, e.g. an unsigned tx from this API
# 2. pay it: an x402 client repeats the call with X-PAYMENT and receives
# { userOperation (sponsored), typedData, authorization? (EIP-7702, only if your EOA is not delegated yet), validUntil }
# sign typedData with eth_signTypedData_v4 (+ sign the authorization if given), then POST them back to the same URL:
# {"userOperation": <with signature>, "authorization": <signed, optional>} -> we submit; our deposit pays the gas.
# No further charge. Only operations we sponsored are accepted, once each.
Full walkthrough with signatures in examples/gasless.js — a wallet with zero ETH buys the index end to end. Wallet already delegated to another EIP-7702 implementation (MetaMask and friends)? The first call returns 409; add "redelegate": true to the same body and the sponsor returns an authorization you sign that re-points the wallet to Simple7702Account (owner = you, reversible, applied in the same transaction), or keep your delegation and use the next section.
Any other smart account (bring your own operation). Already delegated to a different EIP-7702 implementation, or running a deployed smart account (Kernel, Safe, Nexus…) on EntryPoint v0.8? Build the operation with your own SDK and let the sponsor submit it — no bundler, no paymaster stake, no ETH:
# 1. quote: POST the UNSIGNED EntryPoint v0.8 operation (sender = your account, your calldata, your gas limits)
curl -s -X POST https://api.liquidagent.ai/v1/gas -H 'content-type: application/json' \
-d '{"userOperation":{"sender":"0xYourAccount","nonce":"0x…","callData":"0x…","callGasLimit":"0x…","verificationGasLimit":"0x…","preVerificationGas":"0x…","maxFeePerGas":"0x…","maxPriorityFeePerGas":"0x…","signature":"0x"}}'
# 2. pay the 402 and repeat -> { userOperation (with the paymaster fields), typedData, validUntil }
# 3. sign it the way YOUR account expects (viem: account.signUserOperation), POST {"userOperation": <with signature>} to the same URL.
# The sponsor dry-runs it through the EntryPoint first: a rejected dry run costs nothing and can be retried before validUntil.
Working reference in examples/gasless-bring-your-own.js: swap the account constructor for your SDK's. GET /v1/gas describes the sponsor; GET /v1/gas/stats shows live usage.
Chain tools and bulk enrichment
POST /v1/gas/preflight($0.005): simulate an unsigned Base transaction and return success or a decoded revert, gas estimate, and an indicative USDC sponsorship estimate. No signing or broadcast.POST /v1/gas/preflight/batch($0.005 + $0.002 per additional call, 20 calls for $0.043): one block, one fee snapshot, and one settlement for 1-20 Base calls. Per-call success or revert and aggregate gas.POST /v1/gas/decode($0.003): decode a transaction and ordered event logs with your ABI on Base, Polygon, Arbitrum, Optimism, or Avalanche. Unknown selectors and events retain raw data withdecoded:false.POST /v1/chain/logs($0.005 per started 1,000 blocks): decoded EVM event logs with adaptive chunking, ordered results, and raw fallback. Maximum 10,000 blocks, 100 logs, or 1 MiB output.POST /v1/leads/enrich($0.01 per input that finds a business; misses free): enrich 1-100 websites or US phone numbers with full business details, graded email, contact, socials, and website tech.
All five are available as MCP tools and are listed in llms.txt, the A2A agent card, ERC-8004 registration, OpenAPI, and x402 resource discovery. Example: examples/chain-tools.sh. Skill: skills/liquid-chain-tools/SKILL.md.
Paid: malware scanner (x402)
POST https://api.liquidagent.ai/v1/malware/scan — $0.05 USDC per scan — a static scan for code before installing, building, or running it. Returns verdict (clean / suspicious / dangerous), score 0–100, action (allow / review / block), summary, top findings and facts. Static only: the file is never executed, scanned in memory, never stored.
POST /v1/malware/scan{"filename": "...", "content": "..."}— one file, max 2 MB.POST /v1/malware/scan-batch{"files": [{"filename": "...", "content": "..."}]}— up to 100 files, 2 MB each, 10 MB total, one verdict for the folder.POST /v1/malware/scan-repo{"repoUrl": "https://github.com/owner/repo"}— a public GitHub repo, working tree plus history, before cloning it for use.
The engine is calibrated on the Contagious Interview attack: it blocked 7/7 trojanized build configs from the Bl
Sourced from the repository README.
More in Design & UX
- Stitch MCP ServerGenerates high-fidelity UI designs, screen variants, and design systems from text descriptions directly into production apps.3,400
- Design ExtractExtract any website's complete design system with one command. DTCG tokens, semantic+primitive+composite, MCP server for Claude Code/Cursor/Windsurf, multi-platform emitters (iOS SwiftUI, Android Compose, Flutter, WordPress), Tailwind v4, Figma variables, shadcn/ui, CSS health audit, WCAG remediation, Chrome extension. MIT, Playwright, Node 20+.3,367
- Impeccable UIMaster frontend design skill for crafting extraordinary, high-performance UI components, layout systems, design tokens, micro-animations, and visual polish.3,200
- Figma MCP ServerThe Figma MCP server brings Figma design context directly into your AI workflow.1,919
- Design IntentCaptures and translates product specifications into clean, implementable visual design tokens, component architecture, and design system contracts.1,840
- HarnessStart Claude Code and Codex agents the person can watch, wait for them and read their answers.1,528