# Lunar AI

{% hint style="info" %}
Lunar AI can be accessed [here](https://ai.lunar.trade/)
{% endhint %}

***

{% stepper %}
{% step %}

### <mark style="color:orange;">What is Lunar AI?</mark>

An AI powered assistant that can access blockchain activity to support users and their trading strategies.&#x20;

Lunar AI can be used to support users via

* Providing data from the **previous 30 day trading history** on pump.fun & bonk.fun.
* Creating **charts and visualizations** from the data.
* Assisting with **gathering insights, identifying patterns and data analysis**.

{% hint style="info" %}
Currently 1 week of data is available; this will limit increase daily by 1 day until 30 days are covered
{% endhint %}

***

{% endstep %}

{% step %}

### <mark style="color:orange;">What data does Lunar AI cover?</mark>

#### Tokens (pump.fun & bonk.fun)

* Token name
* Token symbol
* Token mint address
* Creator address
* Dev initial SOL buy
* Dev initial token buy
* Price after the transaction
* Creation TX: slot, signature, and UTC timestamp
* Links (if available): image, Twitter, Telegram, website URL

#### Swaps (pump.fun & bonk.fun)

* Type: buy or sell
* Trader address (who performed the swap)
* Token mint address
* Token amount (of the swap)
* SOL amount (of the swap)
* Price after the transaction
* Transaction details: slot, signature, and UTC timestamp
* Trader remaining SOL balance (after the swap)
* Trader remaining token balance (after the swap)
* Bonding curve progress
* Jito used in the transaction

***

{% endstep %}

{% step %}

### <mark style="color:orange;">Usage Notes and Limits</mark>

* You are initally rate‑limited to **10 messages per day**.
* When you see “Requesting tool use” or “Querying database,” responses can take up to 3–5 minutes depending on request complexity
* You **can’t send another message while the AI is answering**; please wait for the response to finish.
* Data is near real‑time with a **maximum delay of 5 minutes**.

{% hint style="info" %}
Multiple models run in the background to improve result quality. We’re working to reduce latency
{% endhint %}

***

{% endstep %}

{% step %}

### <mark style="color:orange;">Best Practice for Users</mark>

* Be as **precise** as possible and avoid vague terms in your question.
* Specify **which platform** (pump.fun or bonk.fun) whenever relevant.
* English works best but all languages are supported.
* Avoid **repetition** to improve response quality.&#x20;

{% hint style="success" %}
Make sure to clear your chat (top right) when changing topic to ensure the AI can operate more precisely
{% endhint %}

***

{% endstep %}

{% step %}

### <mark style="color:orange;">Final Notes</mark>

This is a **prototype**, and we’d love feedback to improve the tool and give users the best possible edge in data analysis for their trading journey.

{% hint style="success" %}
If useful, we can provide the AI with **more data** and **more tools.** For example connect to other services, integrate with Lunar Cloud directly, link your wallet, stream real‑time Solana data, etc.
{% endhint %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.lunar.trade/lunar-cloud/general-guides/lunar-ai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
