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

# How it works

below is a diagram on how decay3 makes certain decisions based off of API returns.

1. the 2 LLMs take in information from the dataset + prompt
2. EleutherAI/gpt-neo-125M scans X for fud and tweets about it
3. project with most fud gets sent to Llama 3.2 LLM where it will place a long via MEXC/ByBit API
4. it will place a leverage long using the Treasury Wallet funds
5. if 100% profitable, it will buyback 50% of profits into the coin, and the other 50% will be stored in the treasury wallet.

<figure><img src="https://1411156222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMSkyF3Bu96llVLBMa7P4%2Fuploads%2FswkKNt9OP9OzIYc25Ktv%2F4ba73e8114a8cb0410b7a2dc31861625.png?alt=media&amp;token=f33d2c6a-4133-44df-9f60-448ce33e1425" alt=""><figcaption></figcaption></figure>
