Skip to main content

Use GitHub Copilot CLI in Open WebUI

Set up GitHub Copilot CLI in the terminal​

Install the standalone copilot executable on the terminal. With a supported Node.js version, you can install and open it with npm.

npm install -g @github/copilot
copilot

Enter /login if prompted and authorize a GitHub account with Copilot access. Check that the CLI can answer a prompt in your repository. A working gh command verifies GitHub CLI installation only. Open Terminal needs copilot for this integration. Install GitHub Copilot CLI

Select GitHub Copilot in Open WebUI​

In a new saved chat, select your Terminal, then use Choose working directory to pick your project. Open the model picker and choose a model beginning with copilot/. If you still need to connect the workspace, follow the Open Terminal quick start.

Open Terminal starts copilot --acp in the selected workspace. For a first task, ask which files define the repository's CI checks and have Copilot quote the relevant lines. Compare its answer with the workflow files in Files.

This content is for informational purposes only and does not constitute a warranty, guarantee, or contractual commitment. Open WebUI is provided "as is." See your license for applicable terms.