DCA Vault
Using it / Use it from an agent

Use it from an agent

An AI agent such as Claude Code can start and stop plans for you. It prepares each transaction, and your own wallet signs it. It never holds your key.

What it is

A small program, an MCP server, that runs on your computer and gives an agent the vault's tools: list the stocks, check a plan against the vault's rules, start a plan, stop one, and read your plans back. It talks to the vault contract directly. It does not need this website.

It is not published yet. When it is, adding it to your agent is one line, with nothing to fill in: no key, no account, no address.

What happens when you ask

  1. You ask

    For example: put 100 USDC a month into Tesla, for a year.

  2. The agent checks the plan

    Against the vault's own rules: at most 120 buys, at most 366 days apart, at least 1 USDC a buy. A plan the vault would refuse is refused before anything is sent, with the rule it breaks.

  3. Your wallet asks you

    A small DCA Vault window, opened once, passes the transaction to your browser wallet; a phone wallet gets it directly. You see your wallet's own prompt, twice: approve exactly the deposit, then the deposit.

  4. The agent reads the result

    From the chain, not from a guess: the plan, the stock the first buy put in your wallet, and when the next buy is.

Where your information goes

BetweenWhat
The agent and the programThe plan you asked for, and the result. On your computer.
The program and the chainReads only: prices, the vault's rules, your plans.
The program and your browserOne window on 127.0.0.1, which is your own computer. Nothing goes to our servers or to anyone else's.
The program and your phoneOnly if you pair a phone wallet: requests go through WalletConnect's relay, encrypted end to end. The relay sees that two parties talk, not what they say.
Your wallet and the chainThe transaction you signed. Your wallet sends it.

Your key stays in your wallet.

The program never sees it, cannot sign, and cannot move money by itself. Every transaction is a prompt you confirm.

Wallets

Browser wallets

Any that follows EIP-6963, which is all the common ones: MetaMask, Coinbase Wallet, Rabby, Phantom, OKX, Trust. The tab finds them by itself, and remembers the one you pick.

Phone wallets

Through WalletConnect, with no browser at all: you scan a QR code once and every later request appears on your phone. On public networks only, because a phone cannot reach a node on your computer.

Coinbase's agent tools

Wallet MCP can use the vault through a plugin, a single file with the vault's addresses and calls. Coinbase only signs on Base mainnet, so that path opens when the vault does.

Letting it sign by itself

The program can also be given a wallet of its own, so the agent signs without asking you. It refuses any deposit over a limit you set, per transaction and per day.

That wallet's key then sits on your computer.

Use a new wallet holding only what the agent may spend, never your main one.

Safeguards

Where it stands

Tested with real wallets on a local copy of Base mainnet and on Base Sepolia. Like the vault, it is not on Base mainnet yet. It is up to you to check that using this is allowed where you live.