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

# Using Chat

> Interactive chat interface for ad-hoc investigations

The Chat interface provides an interactive copilot experience for ad-hoc investigations and exploratory work.

Chat is helpful for ad-hoc investigations or exploring your environment. It is also a helpful starting point to [build agents](/chat/creating-agents-from-chat)

## How Chat Works

<Steps>
  <Step title="Start Conversation">
    Navigate to **Chat**, select relevant tools/integrations (by default, all tools are selected)
  </Step>

  <Step title="Ask Questions">
    Natural language queries about your environment
  </Step>

  <Step title="Chat Investigates">
    Calls tools, gathers data, analyzes
  </Step>

  <Step title="Iterative Refinement">
    Follow-up questions, drill deeper
  </Step>

  <Step title="(Optional) Create Agent">
    Convert successful chat to reusable [agent](/chat/creating-agents-from-chat)
  </Step>
</Steps>

## Use Cases

<CardGroup cols={2}>
  <Card title="Investigations">
    Explore alerts, users, indicators
  </Card>

  <Card title="Research">
    Gather information across systems
  </Card>

  <Card title="Troubleshooting">
    Debug issues with AI assistance
  </Card>

  <Card title="Report Generation">
    Create formatted reports from conversations
  </Card>

  <Card title="Agent Creation">
    Convert successful chat to reusable [agent](/chat/creating-agents-from-chat)
  </Card>
</CardGroup>

## Example Conversation

**You**: `Investigate user john@example.com - check for suspicious activity`

**Cotool Chat**:

```
Searching across systems...

✓ Okta: Found user, last login 2 hours ago from 192.168.1.50
✓ AWS: User has admin access to production
✓ Splunk: 0 security alerts in past 24h
✓ SentinelOne: No endpoint alerts for john's devices

Summary: No suspicious activity detected. Normal activity pattern.
```

**You**: `Check that IP address 192.168.1.50`

**Cotool Chat**:

```
✓ VirusTotal: IP clean (0/90 vendors flagged)
✓ Internal records: IP belongs to HQ office network
✓ Geolocation: San Francisco, CA (matches office location)

Verdict: Legitimate office IP ✅
```

## Features

**File Attachments**: Upload logs, screenshots, documents to chat for analysis

**Create Agent**: Convert successful chat to reusable [agent](/agents/creating-agents)

<Card title="File Attachments" href="/chat/file-attachments">
  Learn about uploading files to chat
</Card>
