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

# Examples

> Practical usage examples for Flint AI Scan

Common patterns for scanning your agent code.

<Tip>
  For complete command syntax, see [Commands reference](/flintai/cli/reference/commands#flintai-scan).
</Tip>

**Scan a single file:**

```bash theme={null}
flintai scan agent.py
```

**Scan a directory:**

```bash theme={null}
flintai scan /path/to/agent/code
```

**Specify output file:**

```bash theme={null}
flintai scan /path/to/code --output results.json
```
