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

# AI Agent

> Ask product questions in natural language and get answers backed by your data.

The AI agent answers product questions using your connected data sources. Ask in plain language -- it writes queries, runs analysis, and returns results as tables, charts, and summaries directly in the conversation.

## How it works

Open the chat from the sidebar or press **Cmd+.** on any page to open the side panel. The side panel is context-aware -- if you're looking at a funnel or an interview, the agent already knows what's on your screen.

Ask a question, and the agent figures out which data sources to use. Follow up to refine, drill into segments, or take the analysis in a different direction. The full conversation history is preserved.

<Tip>
  Try broad questions like "How is my product doing?" -- the agent runs multiple queries and assembles a health check across your key metrics.
</Tip>

## What the agent can do

The agent's capabilities depend on which data sources are connected to your project. Your team's connections are configured during onboarding.

### Always available

* **AI interviews** -- Create interview studies, analyze transcripts, synthesize themes. See [Interviews](/interviews) for the full guide.
* **Text analysis** -- Analyze survey responses, feedback, and support tickets for patterns.
* **Visualizations** -- Charts, tables, metric cards, and journey graphs rendered inline.
* **Ticket generation** -- Turn analysis findings into actionable tickets for your team.

### With analytics data

When your project has BigQuery, [PostHog](/funnels/posthog), or [Mixpanel](/funnels/mixpanel) connected:

* **SQL queries** -- Retention cohorts, funnel analysis, conversion tracking, custom metrics.
* **Predictive models** -- Churn prediction, activation drivers, feature importance rankings.
* **Session replays** -- Find and watch recordings filtered by user behavior.
* **Experiments** -- List running A/B tests, analyze statistical significance, run power calculations.

### With other integrations

* **GitHub** -- [Read your codebase, implement changes, and create draft pull requests](/chat/github-app).
* **App database** -- Query business entities directly -- users, orders, subscriptions, revenue.
* **Pages** -- Build interactive dashboards with live data that update automatically.
* **File export** -- Package results as CSV, PDF, images, or presentations.

## Using from other tools

You can also interact with the agent from external AI tools like Claude Code, Cursor, or Claude Desktop. Go to **Settings > Integrations > AI Assistants** for setup instructions.
