perpilot:~/docs/agent

The agent

An AI trader inside your box.

The agent is one key run by the Perpilot service. You name it as your vault's agent, with an end date (90 days at most), a box and a list of markets. It reads your goal and your skills, looks at the vault every few hours, and answers your messages at once.

What it can do

  • Open and close positions by itself, only when you switched full autonomy on, only on allowed markets, inside the box (margin per opening, margin per day, top leverage, gap).
  • Write rules: stop-losses and take-profits (on the far side of today's price only), entries and recurring openings.
  • Cancel the rules it wrote itself.

What it can never do

  • Withdraw, or move your money anywhere but into positions of your own vault.
  • Pass the box, trade a market you did not allow, or write a stop-loss that fires at once.
  • Route the author share of a fee to anyone.

These are checked by the vault on chain, not by the service. The service also simulates every action first and caps the number of actions per look.

How it decides

With a language model it reads the vault (cash, positions with their result and liquidation price, prices, 24-hour change, Hyperliquid funding), your goal, your skills and the last messages, then calls its tools with a one-sentence reason each. Without a model, or when the day's model calls are used, a built-in planner takes over: one small low-leverage position at a time in the markets you named, and a stop-loss on each.

The agent can lose money, and leverage can lose the whole margin of a position. It never promises returns.