> For the complete documentation index, see [llms.txt](https://doc.lockerprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.lockerprotocol.com/hyper-agentic-trader/safety-rules.md).

# Safety rules for the agent wallet

Eight habits that keep an automated trader from costing you more than you meant.

If your account signs with Locker Vault, the safest way, the [five safety rules](https://doc.lockerprotocol.com/start-here/safety-rules.md) of the Vault still apply, every one of them. These eight are the ones an automated trader adds, whichever wallet signs.

## Rule 1 - Use a dedicated account

Not the account that holds your savings. An account for this and nothing else, funded with what you are ready to lose.

This is the rule that actually protects you. The agent key cannot withdraw, but it can lose money by trading badly, and a stolen key with its password does not need `lpa` to place orders. A small account bounds every one of those stories.

## Rule 2 - Stay in simulation until you are bored

The simulation account fills on Hyperliquid's real order book, pays the real fees, is charged the real funding and is liquidated like a real account. The only thing it does not do is lose your money.

Run a week of `lpa pilot run-now`, read every day with `lpa pilot day`, and go live only when nothing surprises you any more. Do it again from the first day each time you change the strategy: a method you have not watched in simulation is a method you have not seen.

## Rule 3 - Read every row in your wallet

The computer can be lied to. The Vault cannot, because it decodes the request itself and shows it in its own words. That is why it is the safest way to sign.

A browser extension or a mobile wallet shows a typed signature as raw fields. The local page lists those fields first, each value explained in one line: compare each field your wallet shows with that list before you approve.

When you sign an agent approval, read its expiry. When you sign a mandate, read every bound, the fee recipient included. If your wallet shows something the computer did not announce, refuse it there (on the Vault, tap **Refuse**).

## Rule 4 - Let the mandate end with the key, and read it again then

A mandate lasts the agent key's own life by default, 180 days at most and never past it, and a shorter one is yours to sign (`lpa mandate sign --days 30`). The renewal of the key is the moment that brings you back to read every limit again, and it is not an annoyance: it is the point.

A mandate that allows `pilot` lets the continuous pilot open positions on your real account **without asking you**. Without that use, its live openings are refused. The daily pilot's live day, `lpa pilot run-now --live`, opens under `trade` alone, so a `trade` mandate is already enough for it. Choose on purpose, and remember the pilot can also hand you an order to confirm on the live page instead of placing one.

## Rule 5 - Lock the key when you are not trading

```sh
lpa lock
```

An unlocked guardian is a key in memory. Lock it when you stop, and let `lpa unlock --hours` give it only the hours you need. On a server, remember the service holds the key for the agent's whole life once unlocked, until `lpa lock` or a restart.

## Rule 6 - Know the two words that stop everything

```sh
lpa panic
```

Every pilot and every copy stopped, then the key out of memory. It closes nothing, so your positions stay yours: `lpa perps close --all` closes them. On the live page, the words are `STOP` to stop everything and `FLAT` to close what the pilot opened.

Between the two, `lpa mandate revoke` needs no wallet and holds: no guardian opens anything under that mandate until your wallet signs a new one.

Then, if you want the right to trade gone for good: `lpa agent revoke`, with your wallet. If it is a mobile wallet, `lpa signer forget` closes its link, so the phone no longer reaches the computer.

## Rule 7 - Approve a plugin like you would a browser extension

A plugin cannot read your keys, your settings or your journal files, and it cannot sign for your real account. It **can** reach the network, and it knows your user name and your computer's name and addresses.

Read the install screen. Install only what you would install from that author anyway. `lpa plugins inspect` tells you whether its files are still the ones you approved.

## Rule 8 - Measure a strategy before it trades, and read what it would be refused

The charter names the strategy the pilot plays, and one command changes it. Before you do:

```sh
lpa pilot strategy show --name grid-long --equity 1000
lpa pilot calibrate --symbol BTC,ETH --strategy grid-long --starts 6
lpa pilot strategy use --name grid-long --preview
```

`show` and `use --preview` write nothing and say the smallest account the strategy opens anything on, and what the policy and the mandate in force would refuse of it at your equity. `calibrate` measures it on past candles, with no model and no order. `ladder-long` is the only strategy measured over two years; everything else, a strategy of your own above all, is a hypothesis until your own measure says otherwise, and a measure from a single starting day is a draw.

A strategy never widens a limit. It is read, never executed, and the guardian refuses by its own code whatever the policy and the mandate refuse.

{% hint style="danger" %}
**One more, about the methods themselves.** By steps there is no stop loss: a deliberate choice, measured, with a ceiling on the engagement and room for the price to move 100 % against the complete ladder, and still a method that can hold a losing position for a long time. A grid holds the losing side while the price stays away, which is why the short and the neutral grids close out beyond their range. A trailing stop gives back part of a move. No kind promises a profit, and nothing in `lpa` claims one does.
{% endhint %}

## What `lpa` will never do

* Ask for your secret phrase, your Vault password or your private key.
* Send your key anywhere. It does not have it.
* Withdraw. Only your wallet signs that.
* Widen a limit without your wallet, or without your password at the next unlock.
* Send telemetry. There is none.

## Learn more

* [Safety rules](https://doc.lockerprotocol.com/start-here/safety-rules.md), the five of the Vault.
* [The strategies](https://doc.lockerprotocol.com/hyper-agentic-trader/strategies.md) and [Measuring the method](https://doc.lockerprotocol.com/hyper-agentic-trader/calibrate.md)
* [The mandate](https://doc.lockerprotocol.com/hyper-agentic-trader/mandate.md)
* [Go live under the mandate](https://doc.lockerprotocol.com/hyper-agentic-trader/go-live.md)
* [Security model](https://doc.lockerprotocol.com/reference/security-model.md)
