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

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.prowler.com/feedback

```json
{
  "path": "/user-guide/tutorials/prowler-app-lighthouse",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# How It Works

export const VersionBadge = ({version}) => {
  return <a href={`https://github.com/prowler-cloud/prowler/releases/tag/${version}`} target="_blank" rel="noopener noreferrer" className="version-badge-link">
            <span className="version-badge-container">
                <span className="version-badge">
                    <span className="version-badge-label">Added in:</span> 
                    <span className="version-badge-version">{version}</span>
                </span>
            </span>
        </a>;
};

<VersionBadge version="5.8.0" />

Prowler Lighthouse AI integrates Large Language Models (LLMs) with Prowler security findings data.

Behind the scenes, Lighthouse AI works as follows:

* Lighthouse AI runs as a [Langchain agent](https://docs.langchain.com/oss/javascript/langchain/agents) in NextJS
* The agent connects to the configured LLM provider to understand the prompt and decide what data is needed
* The agent accesses Prowler data through [Prowler MCP](https://docs.prowler.com/getting-started/products/prowler-mcp), which exposes tools from multiple sources, including:
  * Prowler Hub
  * Prowler Docs
  * Prowler App
* Instead of calling every tool directly, the agent uses two meta-tools:
  * `describe_tool` to retrieve a tool schema and parameter requirements.
  * `execute_tool` to run the selected tool with the required input.
* Based on the user's query and the data necessary to answer it, Lighthouse agent will invoke necessary Prowler MCP tools using `discover_tool` and `execute_tool`

<Note>
  Lighthouse AI supports multiple LLM providers including OpenAI, Amazon Bedrock, and OpenAI-compatible services. For configuration details, see [Using Multiple LLM Providers with Lighthouse](/user-guide/tutorials/prowler-app-lighthouse-multi-llm).
</Note>

<img src="https://mintcdn.com/prowler/dxKr6jfROeYV7A0M/images/lighthouse-architecture.png?fit=max&auto=format&n=dxKr6jfROeYV7A0M&q=85&s=0660e8227b6a43de0c74b393185709e6" alt="Prowler Lighthouse Architecture" width="3036" height="3279" data-path="images/lighthouse-architecture.png" />

<Note>
  Lighthouse AI can only read relevant security data. It cannot modify data or access sensitive information such as configured secrets or tenant details.
</Note>

## Set Up

Getting started with Prowler Lighthouse AI is easy:

1. Navigate to **Configuration** → **Lighthouse AI**
2. Click **Connect** under the desired provider (OpenAI, Amazon Bedrock, or OpenAI Compatible)
3. Enter the required credentials
4. Select a default model
5. Click **Connect** to save

<Note>
  For detailed configuration instructions for each provider, see [Using Multiple LLM Providers with Lighthouse](/user-guide/tutorials/prowler-app-lighthouse-multi-llm).
</Note>

<img src="https://mintcdn.com/prowler/zb_u7I8G3elj5JJ8/images/prowler-app/lighthouse-configuration.png?fit=max&auto=format&n=zb_u7I8G3elj5JJ8&q=85&s=2a21cba1b3f2867d37eb12c3c7498bb6" alt="Lighthouse AI Configuration" width="3248" height="1784" data-path="images/prowler-app/lighthouse-configuration.png" />

### Adding Business Context

The optional business context field lets teams provide additional information to help Lighthouse AI understand environment priorities, including:

* Organization cloud security goals
* Information about account owners or responsible teams
* Compliance requirements
* Current security initiatives or focus areas

Better context leads to more relevant responses and prioritization that aligns with your needs.
