EXO Cluster OpenWebUI Pipe
functionThis pipe function allows OpenWebUI to communicate with a locally running exo instance, enabling you to: Chat with your local exo LLMs directly from the OpenWebUI interface Use all OpenWebUI features while running inference on your own hardware Keep your conversations private by running everything locally.
20 class Valves(BaseModel):21 exo_endpoint: str = Field(22 default="http://localhost:52415/v1/chat/completions",23 description="URL for the exo API endpoint",24 )25 default_model: str = Field(26 default="llama-3.2-1b",27 description="Default model to use if none is specified",28 )29 emit_interval: float = Field(30 default=2.0, description="Interval in seconds between status emissions"31 ) Exo Pipe for OpenWebUI
This repository contains a custom pipe function for OpenWebUI that allows you to connect to a local exo LLM cluster directly from the OpenWebUI interface.
What is exo?
Exo is an open-source AI clustering service that allows you to run large language models (LLMs) locally. It provides a ChatGPT-compatible API endpoint that can be used with various front-ends.
What does this pipe do?
This pipe function allows OpenWebUI to communicate with a locally running exo instance, enabling you to:
- Chat with your local exo LLMs directly from the OpenWebUI interface
- Use all OpenWebUI features while running inference on your own hardware
- Keep your conversations private by running everything locally
Installation
Prerequisites
Installation Steps
-
Download the
exo_pipe.pyfile from this repository. -
In OpenWebUI, navigate to Settings > Functions.
-
Click on Add Function.
-
Upload the
exo_pipe.pyfile or paste its contents into the editor. -
Click Save.
-
The "Exo LLM Pipe" should now appear in the dropdown list when creating a new chat.
Configuration
The pipe comes with default settings that you can modify in the OpenWebUI interface:
-
Navigate to Settings > Functions.
-
Find "Exo LLM Pipe" in the list and click on the edit (pencil) icon.
-
You can modify the following settings:
-
exo_endpoint: The URL of your exo API endpoint (default:http://192.168.64.1:52415/v1/chat/completions) -
default_model: The default model to use if none is specified (default:llama-3.2-1b) -
max_turns: Maximum allowable conversation turns (default:100) -
enable_status_indicator: Enable/disable status indicators (default:true) -
emit_interval: Interval between status emissions in seconds (default:2.0)
-
-
Click Save to apply your changes.
Usage
-
Create a new chat in OpenWebUI.
-
Select "Exo LLM Pipe" from the dropdown menu.
-
Start chatting! Your messages will be processed by your local exo instance.
Troubleshooting
If you encounter issues:
- Pipe not showing in dropdown: Ensure the file was uploaded correctly and OpenWebUI was restarted.
- Connection errors: Verify your exo endpoint is running and accessible from OpenWebUI.
- Error responses: Check the exo logs for details on any processing errors.
- Debug mode: Set
self.debug = Truein the pipe code to enable detailed logging.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.

