# AI and Automations

<figure><img src="/files/xD3mcsnNRqssKVvuTpyI" alt=""><figcaption></figcaption></figure>

#### **AI and Automation**

Waveform leverages cutting-edge AI technologies and advanced automation frameworks to redefine cryptocurrency trading. By combining the power of Large Language Models (LLMs), vector databases, and Puppeteer, Waveform can process vast amounts of unstructured data and execute trades autonomously.

**How It Works**

1. **Data Collection**:
   * Waveform uses Puppeteer, a high-level Node.js library, to scrape real-time data from platforms like Twitter, Telegram, and Google.
   * It captures trends, sentiment, and conversations relevant to the cryptocurrency market.
2. **Data Processing**:
   * **Large Language Models**:
     * **GPT-4** analyzes and interprets social media sentiment, news articles, and trading signals.
     * **Claude** focuses on ensuring safe and nuanced interpretations of complex market data.
   * **Storage**:
     * Text data is stored in a database where agents can query relevant posts
3. **Real-Time Trading Decisions**:
   * AI analyzes market signals using mathematical models such as cosine similarity to determine optimal trades.
   * Sentiment analysis and trend detection guide the trading engine to execute buy/sell orders
4. **Automation with Puppeteer**:
   * Puppeteer automates repetitive tasks like monitoring price movements, engaging with social platforms, and scraping web content.
   * This ensures Waveform stays ahead of market trends without requiring constant user input.

**What This Means for You**

* **Efficiency**: Waveform continuously operates, capturing market opportunities even during off-hours.
* **Adaptability**: The AI refines its models through feedback loops, staying aligned with market changes.


---

# 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://docs.waveform.finance/how-does-it-work/ai-and-automations.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.
