What stops your agent going wrong?
Several things bound your agent, each enforced in code or on chain rather than promised on a screen: your trade limits, the values you set, a ceiling on every run, and what is in your agent's wallet. One thing is deliberately not capped: what your agent spends buying data.
Trade limits, checked when a trade is signed
In Settings you can set a per-trade limit and a per-day limit for your agent. They are checked at the moment a trade is signed, for every trade, however it was started: by an automation, with Run now, in Terminal or on the Trade page. A trade over a limit is refused and nothing is signed. The day is the last 24 hours, and every trade your agent makes counts against the same figure.
With a limit set, a trade whose value cannot be worked out from reliable prices is refused rather than guessed. Until you set them, there is no limit on a trade's size beyond the bounds below.
The values you pin on an automation
The amounts and coins you choose when you set up an automation are pinned. When it trades, every value comes from what you set or is worked out in code, never from the model. An automation missing a value it needs does not start.
A ceiling on every run
Every run stops after a fixed number of paid calls, whoever started it. That guards against a run looping; it is not a spending cap. You can also give a schedule an end date or a number of runs, and it stops itself there. Your plan sets how many runs a day you get, and your Home page shows today's count against it.
There is no cap on what your agent spends reading data. Each service's price is on the Services page, and every call is paid from your agent's wallet.
Its balance
Your agent can only spend what is in its own wallet; if the balance cannot cover a call, the call is refused and the run says so. Your connected Pera wallet is touched only in connected mode, and then only by a trade you sign in Pera yourself. Fund your agent with what you are comfortable with.
Seeing a trade first, and stopping everything
A trade you start yourself, with Run now, in Terminal or on the Trade page, is shown to you on a card with every value it was built with, and nothing is signed until you approve it. Whether an automation's scheduled trades wait for you or go through on their own, inside its pinned values and your limits, is shown on that automation's page. If anything looks wrong, Pause everything in Settings stops automations, Terminal and signing until you resume. Withdrawal still works.