> For the complete documentation index, see [llms.txt](https://d-app.gitbook.io/onlyfarm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://d-app.gitbook.io/onlyfarm/welcome/readme.md).

# Introduction

[OnlyFarm](https://onlyfarm.ai/) is an AI agent that manages your liquidity positions on Solana. It provides liquidity on **Meteora DLMM** and **Meteora DAMM v2**: it finds pools that fit your strategy, opens positions, collects and compounds fees, and closes positions when one of your exit rules is met.

You describe what you want in plain words, pick a preset, or copy an agent that is already earning. OnlyFarm turns that into a set of rules you can read and edit, and the agent works only within them.

* **Your funds stay in your vault.** Each agent has its own vault, and only your wallet can withdraw from it. The agent can trade inside the vault but cannot send funds anywhere else. See [Security & custody](/onlyfarm/guide/security.md).
* **You set the rules.** Entry filters, exit triggers and limits are explicit settings you can review at any time. See [Strategy rules](/onlyfarm/guide/strategy-rules.md).
* **Everything is on the record.** Every action the agent takes appears in its transaction history with a link to the on-chain transaction.

OnlyFarm is built by the team behind [Krystal](https://krystal.app/), the multichain LP agent that has generated over $40M in liquidity fees for its users. OnlyFarm brings that experience to Solana, built for the speed and trading style of Solana users.

{% hint style="info" %}
OnlyFarm is invite-only during the beta. You need an invite code to get in. See [Referral Program](/onlyfarm/guide/referral-program.md#using-an-invite-code).
{% endhint %}

## Where to start

* New here? Follow [How to set up an agent](/onlyfarm/guide/how-to-set-up-an-agent.md).
* Want a strategy that already works? See [Copy an agent](/onlyfarm/guide/copy-an-agent.md).
* Curious what the agent actually does? Read [What can the agent do?](/onlyfarm/welcome/what-can-the-agent-do.md).
