HARDSTOPProtect my AI

One door for the agent. Every control for you.

A HARDSTOP vault holds money for one AI agent. The agent and you are treated as two different people, and the vault gives each a different, fixed set of things it will accept from them.

Illustration, with the example limit of $10.00 per payment. A request inside the rules passes through the vault to a recipient you approved. A request outside them stops at the vault, and nothing moves.

Who can do what

ActionYour agentYou
Ask the vault to pay an approved recipientYes, inside every limitNo. Only the agent can ask.
Lower a limit, pause, remove a recipientNoYes, at once
Raise a limit, move the end date later, add a recipient, resume after a pauseNoYes, after the cooling period
Cancel a change that is waitingNoYes, at once
Take money back outNoYes, at once, and only to you

“You” means whoever controls the owner account the vault was created with. If your agent can use that account, the vault cannot tell it apart from you.

What your agent can do

One thing: ask the vault to pay a certain amount to a certain recipient. The vault then checks, in a fixed order, that the agent is not paused, that its permission has not ended, that the request is not a repeat, that the recipient is on your list, that the amount is within the cap for one payment, and that it fits in what is left for the day.

If every check passes, the money goes to that recipient. If one fails, nothing moves.

What happens to a blocked request

The vault refuses it and records what was asked and why it was refused, so there is a trail of what the agent tried. A refusal changes nothing else: the balance, the amount spent today and the rules stay exactly as they were.

The reason comes back as a plain sentence, such as “One payment may be at most $10.00”. The same request can be sent again later; it is judged afresh against the rules in force at that moment.

Why raising a limit is slow and lowering one is instant

Making the rules tighter can only reduce what the agent can take, so there is no reason to wait. Making them looser is the dangerous direction: it is exactly what a confused or manipulated agent, or someone impersonating you, would want.

So every loosening waits out a cooling period that is fixed when the vault is created. During the wait the old rules stay in force and you can cancel. Lowering a limit or pausing also cancels a waiting change to the limits; a new recipient still waiting stays until you remove it.

  1. You ask for a higher limit

    Nothing changes yet. The request shows as Scheduled, with the time it takes effect.

  2. Cooling period

    The old limit still applies to every request. You can cancel at any moment. This is your chance to notice a change you did not make.

  3. The higher limit is in force

    From this second on, and not one second earlier.

The worst-case number

Because nothing can get looser before the cooling period ends, the vault can work out the most the agent could possibly take between now and then: what is left of today’s limit, plus a full day’s limit for each new day that starts in that time. If a looser change is already waiting and takes effect in that time, it counts that change too, from the moment it takes effect.

The activity page shows that figure at all times. It is a ceiling on what the rules allow, so it can be more than the vault holds; the page says so when that happens.

A day is a fixed 24 hours counted from when the vault was created, not a rolling one. An agent can spend a full day’s limit just before the reset and another just after, and the worst-case number counts that.

What this protects, and what it does not

What the agent’s key can do

Ask the vault to pay an approved recipient
Allowed, inside your limits
Raise its own limit
Never
Add a recipient
Never
Take the money out
Never

Only you: pause, change limits, withdraw.

It protects the money in the vault

  • The agent can only ask the vault to pay. It has no other way to move the money.
  • Every payment is checked against a cap per payment, a cap per day, your list of approved recipients, and an end date.
  • The agent cannot change any rule. A request from it to raise its own limit is rejected.
  • Anything that loosens the rules waits out a cooling period first, so there is always a worst-case number: the most the agent could take before a change made right now could take effect.

It does not protect anything else

  • Money outside the vault, in the agent’s own wallet or your other accounts, is not covered.
  • A bad purchase inside the limits is still allowed. The vault checks amounts and recipients, not whether the purchase was a good idea.
  • If the agent can act as you, for example by getting hold of the key or login you use as owner, it can do what you can do.
  • A day here is a fixed 24 hours, not a rolling one. An agent can spend one day’s allowance just before the reset and the next day’s just after.
  • This is an unaudited prototype. Do not use it to hold real money.

For technical readers

The vault is written in Fe. Its payment handler is given the rules read-only, so an agent payment that tries to change them does not compile. What the compiler checks, and what it does not, is on the developers page.

How the rules are written and checked

The rules live in one small module written in Fe, called the kernel. It has no access to storage, calls or files, which the Fe compiler enforces, so a decision depends only on the numbers passed in.

That one kernel is compiled twice: into the smart contract that holds the money on an EVM chain, and into a native command-line program. A prediction made off-chain and the verdict reached on-chain are the same code. The test suite replays seeded games against both and compares every answer.

The contract resolves two facts for the kernel, who is calling and whether the recipient is approved by now, and then does exactly what the kernel decided. On a test network the vault is created in one transaction by a third Fe contract, the launcher, and your wallet is its owner. In this browser the same compiled contract runs in an in-page EVM (ethereumjs). Either way the page sends it messages and prints what it returns.

Source files:

More on the developers page.