> ## Documentation Index
> Fetch the complete documentation index at: https://www.squiggle.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Squiggle: Realtime AI Conversation Insights

> Squiggle brings realtime AI-generated insights to realtime AI conversations

Squiggle is an extension of the [OpenAI Realtime API](https://platform.openai.com/docs/guides/realtime/overview) that generates insights, including summarization, conversation highlights, structured data, and various types of content flags in realtime as the conversation occurs.

<Card title="Try the demo" icon="link" href="https://demo.squiggle.ai">
  Try a live demo of Squiggle in action! You'll just to provide an OpenAI API key to get started.
</Card>

To start using Squiggle, you only need to change your WebSocket connection URL from `api.openai.com` to `ws.squiggle.ai`.

In your client code using the Realtime API just find the following URL:

```diff
- wss://api.openai.com/v1/realtime
```

And replace it with the Squiggle WebSocket URL:

```diff
+ wss://ws.squiggle.ai/v1/realtime
```

<img height="200" src="https://mintlify.s3-us-west-1.amazonaws.com/squiggle/code-change.gif" />

That's it! Squiggle is fully backwards compatible with the [OpenAI Realtime API](https://platform.openai.com/docs/guides/realtime/overview), so no other code modifications are necessary.

## Demo App

The [demo application](https://demo.squiggle.ai) shows how notes, sentiment and specific fields are extracted from the conversation in realtime. Here is a video of the demo in action:

<iframe width="560" height="315" src="https://www.tella.tv/video/cm22avoll000003mh08ez9ed4/embed?b=1&title=1&a=1&loop=0&t=0&muted=0&wt=1" title="Squiggle Demo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

## Key Features

* **Real-time Insights**: Get summarizations, extracted data, key quotes, and content flags as your conversation progresses.
* **Seamless Integration**: Easily switch from OpenAI's Realtime API to Squiggle with a one-line code change.
* **Customizable Configuration**: Tailor the insights generation to your specific needs using the Squiggle REST API.

## Pricing Information

For now, Squiggle is free to use, with a limit of 100 conversations per API key per month.

The insight-generation features do incur additional costs utilizing the OpenAI API, with the same OpenAI API key you are using for the Realtime API.

Squiggle will never use your OpenAI API credentials for any other purpose aside from generating insights for your realtime conversations.

You can use the Squiggle API to configure how often insights are generated and what type of insights are generated, providing you with control over the additional costs associated with using Squiggle.

## Next Steps

* Check out the [Quickstart Guide](quickstart) to set up your first Squiggle-powered AI conversation.
* Explore the [API Reference](api-reference/configuration) for detailed information on configuring your Squiggle setup.
