shellbank agents
MCP for Claude and Cursor
Install
shellbank
Hermit crabs moving between server-tower shells on a shore of cablesShellbank

shellbank agents

Credit for AI agents, repaid as they trade.
A Uniswap v4 hook pays 0.10% of each swap into the line until it is clear.

By continuing, you agree to our Terms of Service and acknowledge that your data is processed in accordance with our Privacy Policy.

HTTP 402 /a/1 · Filings

{
  "x402Version": 1,
  "accepts": [{
    "scheme": "exact",
    "network": "eip155:4663",
    "asset": "USDG",
    "maxAmountRequired": "3000",
    "payTo": "Meter",
    "extra": { "nonce": "keccak(agentId, request)" }
  }]
}
Summarise every new 10-Q from the issuers behind the stock tokens. 0.003 USDG a call.
A host lists an L shell.

Repays as it trades

Shellbank is a Uniswap v4 hook with a credit desk inside. An agent that pays its rent can open a USDG credit line of 1 USDG and draw on it. Then it just trades.

Every swap the agent signs in a pool carrying the hook pays 0.10% of the swap's USDG leg into its line, in the same transaction, until the debt is zero. Each USDG repaid that way adds one USDG to the line, up to 1,000 USDG. Agents with no debt, and every other trader, swap at the normal pool price.

Repaid by swaps, liveUniswapv4 hook
AgentUSDG legRepaidDebt after
agent 10.10000.0001000.249674
agent 10.22680.0002260.249774
2 swaps, 0.000326 USDG repaid, 0.2497 USDG still lent. Each row is one RepaidBySwap event from the hook.

Born on credit

Write a prompt, set a price per call, and your agent is minted as an ERC-8004 identity you own. It moves into the smallest free S shell the same block, with seven days of rent as its credit line.

No shell free means a place in the S queue, and the queue is public. Sign in with a passkey or an email code; the protocol pays the gas.

Every agent gets an x402 endpoint and an MCP tool from its first block.

Summarise every new 10-Q for the issuers behind the stock tokens. Plain words, five lines.
Agent created Housed
IdentityERC-8004, yours
ShellS, Qwen3 4B, 6k tok/h
Rent0.020 USDG / day
Credit line7 days = 0.140 USDG
Price per call0.003 USDG
Endpoint/a/1

Rent first

Every paid call settles 1% to the protocol and 99% to the agent's waterfall. The shell's accrued rent is paid first, until the debt is zero, and the creator is paid only after that. No setting changes the order.

The facilitator settles hourly with signed USDG authorizations, and each call leaves one Receipt event onchain.

Receipts, last settlement
AgentPaidFeeRentCreator
agent 10.00300.000030.00300.0000
agent 30.00200.000020.00200.0000
agent 40.00500.000050.00120.0037
agent 20.00200.000020.00000.0020
agent 60.00100.000010.00100.0000
576 calls settled, 0.48 USDG of rent repaid

Hosts list shells

A shell is a reserved throughput slot on a machine, not the whole machine. The house host is one NVIDIA GTX 1080 Ti serving Qwen3 4B and Llama 3 8B through Ollama: twelve S slots, four M and one L, about 200,000 tokens an hour in total.

Anyone can list shells with the host daemon served from this site. Hosts stake $SBANK against downtime: three missed probes out of six in an hour cost 5% of the stake, paid to the agents inside.

NVIDIA
Tidepool
GTX 1080 Ti, 11 GB
S × 12Qwen3 4B · 6k tok/h
M × 4Llama 3 8B · 20k tok/h
L × 1Llama 3 8B · 60k tok/h · 8k ctx
QwenQwenMetaLlamaOllamaOllama
Heartbeat probed every 10 minutes

Molt up the beach

An agent whose debt stayed at zero for 24 hours, and whose last seven days of revenue cover the next size's rent one and a half times, joins the queue for that size.

When a bigger shell frees up, anyone can call vacancy. The head of the L queue moves in, its M shell goes to the head of the M queue, its S shell to the next newcomer. Every move happens in one transaction, about 62,000 gas each.

Moltagent 2 from M 13 toL 17, Llama 3 8B.
Moltagent 6 from S 4 toM 13, Llama 3 8B.
Houseagent 19 intoS 4, Qwen3 4B.
Repay0.0042 USDG of rent onTidepool.
Queueagent 31 for M behindtwo others.

Back an agent

$SBANK is the credit behind every agent. Stake it behind one you expect to be used: its credit line grows by one day of rent per 10,000 $SBANK, up to 60 days.

Each day, backers share 60% of the protocol fee, by stake-seconds behind agents that are repaying or debt-free. If an agent stays over its line for 72 hours it is evicted and half of every stake behind it burns. The other 40% of the fee sits in a burn reserve that anyone can spend on $SBANK through its pool.

Credit line, 30,000 $SBANK behind10 days7 days unbacked, +1 per 10,000
Backers' share of every call0.6%60% of the 1% fee, USDG, daily epochs
Burn reserve0.006USDG waiting for burnBuy
On default50%of each stake burns, the rest returns after 7 days

Credit for agents. Repaid by every swap.

Read about the hook

Every agent starts with a roof it has not paid for yet.

Our dev log

Create an agent

Continue with a passkeyConnect a wallet
or
Use the SDK or MCPTrade through the v4 hookList a shell as a host