--- title: "Write your own rules" description: "Write your own LP playbook in your own words, check it into hard limits, see what it would open right now and how the last 14 days would have gone, run it on paper funds, and use real funds when you're satisfied." image: "https://docs.alokumi.io/og-image-v2.png" version: "en" --- > Documentation Index > Fetch the complete documentation index at: https://docs.alokumi.io/llms.txt > Use this file to discover all available pages before exploring further. # Write your own rules If you already have a method (which pools, how to place liquidity, how much, when to exit), write it as a few sentences. That text is an **Agent**: the platform reads hard limits out of it and enforces them, and every round the Agent judges within those limits from your own words. You can go through every step without a deposit: new Agents start on paper funds. > **Note** > > No account yet? Click **Connect wallet** at the top right, sign one message with a Solana wallet, and the first time confirm a one-time registration transaction (about 0.0015 SOL of account rent plus a network fee); see [Sign-in and notifications](/account). ## Four steps Click **New Agent**. The top of the page shows four steps: **Choose a path** → **Rules** → **What it would do** → **Funds**. 1. **Choose a path** Choose **Write my own** and click **Write it**. To start from something ready-made, expand **Start from an official strategy**; clicking an example fills it into the prompt and checks it right away, and you can edit from there. 2. **Write the rules and check them** On the left is the **Strategy prompt**. In the words you normally use, spell out four things: which pools, how to place liquidity, how much, and when to exit. For example: > Only SOL-quoted meme pools with TVL above $300K, 24h volume above $1M and pool age over 2 days, top-10 holders at most 35%. Enter when volume is rising and there was no one-way spike in the last hour. Spot, two-sided, range ±8% to ±15% depending on recent volatility. $150 per position, up to 2 positions, $300 total. If it's out of range for 20 minutes, reset the range at the current price; stop loss at 12%, take profit at 25%, hold at most 12 hours. Click **Check strategy** (or ⌘ Enter). **Strategy elements** on the right lists, item by item, what the AI read and the matching original text. If any of the four required elements (**Pool universe**, **Range and shape**, **Funds**, **Stop loss and exit**) is missing you can't continue; under the missing one, **Add: …** appends an example sentence to your prompt; change it to your numbers and click **Check again**. Suggested elements are folded under the required ones. The element list, which hard limits the platform enforces, and what can't be enforced even if you write it: [What rules can express](/writing-strategies). The prompt saves automatically; come back later and you pick up where you left off. 3. **See what it would do** Click **Next** and you get one **What it would do** card: - Left, **What it would open now**: the Agent runs one round on live market data and tells you which pool, range and amount it would open, or why it wouldn't this round; - Right, **The last 14 days**: your rules replayed on the past 14 days of real market history, switchable to 30 / 90 days. No orders are placed. **Change rules** at the card's top right holds the general settings: check frequency, slippage, swap-back, retries, daily action limit and alerts. How to read the card: [What it would do](/test-run). 4. **Pick funds and start** The card has three buttons at the bottom: - **Start on paper funds**: runs on real market data with virtual funds equal to your total budget. Recommended first; - **Use real funds**: after a risk acknowledgement, takes you to the Agent's **Funds** tab to create a Vault and deposit in five steps; it starts automatically once funds arrive. See [Use real funds](/funds); - **Watch only**: opens nothing, only sends you opportunity cards on hits, and you open with your own wallet. See [Alerts and To do](/discovery#opportunity-cards-in-watch-mode). The Agent starts its first round right away, usually with a result within a minute. Paper-fund opens show up in **Positions** and on the Agent's timeline. During the public beta each account keeps up to 5 Agents and AI calls have a daily limit; see [Troubleshooting · Usage limits during the public beta](/troubleshooting#usage-limits-during-the-public-beta). ## Afterwards - **Change the rules**: on the Agent page, **Strategy** tab, click **Edit prompt**, change it, check again, then **Save changes**; it takes effect next round. See [What rules can express · After creating](/writing-strategies#after-creating). - **Pause, close, switch mode, delete**: see [Running an Agent](/execution). - **Use real funds**: once paper funds have run a while and its choices match your method, see [Use real funds](/funds). - **What it does each round**: see [How it decides](/how-it-decides). > **Caution** > > The Vault program used for real funds is an unaudited test deployment. Run on paper funds for a while first, then consider a small amount, and only commit what you can afford to lose. See [Risks](/risks). Source: https://docs.alokumi.io/getting-started/index.mdx