> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/workflow-builder/apps/local.md).

# Local

The **Local LLM integration** allows you to connect to your **preferred** particular models and use them directly in StackAI projects.&#x20;

Once connected, Local Models behave like any other LLM provider in StackAI and can be selected inside AI Agent nodes in your workflows.

For detailed instructions on **setting up and managing** Local Model connections, see the full guide:&#x20;

[**Local LLM Setup Guide**](https://docs.stackai.com/workflow-builder/llms/local-llm)

***

### Usage Overview

<div align="left"><figure><img src="/files/hvAW6SIraWaXolHG9HZv" alt=""><figcaption></figcaption></figure></div>

1. Click **New Connection** to create a **Local Model** connection.&#x20;
2. Enter the endpoint details for the server hosting your model.
3. Use **Test Connection** to verify the connection is **Healthy**.
4. Select the connection when configuring an **AI Agent node** in your workflow.

After the connection is created, it will appear in the connection dropdown when selecting **Local** as the AI Provider.

***

### Workspace Setup

Workspace administrators can configure **default Local Model connections** and control provider access in the workspace settings.

For detailed instructions on:

* Creating default connections
* Enabling or disabling AI Providers
* Managing connections across the workspace
* Disabling StackAI-managed API keys

See the full guide: [**Local LLM Setup Guide**](https://docs.stackai.com/workflow-builder/llms/local-llm)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.stackai.com/workflow-builder/apps/local.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
