The Mattermost Copilot Plugin integrates AI capabilities directly into your Mattermost workspace, supporting both self-hosted and vendor-hosted Large Language Models (LLMs).
- Download the latest release from the releases page. You can also download the experimental latest master
- Upload and enable the plugin through the Mattermost System Console
- Configure your desired LLM provider settings
More details on the Mattermost documentation site
- Mattermost Server versions:
- v10.0 or later recommended
- v9.11+ (ESR)
- PostgreSQL database
- Network access to your chosen LLM provider
After installation, you'll need to configure the plugin through the System Console:
- Navigate to System Console > Plugins > Copilot
- Create a bot
- Select and setup an upstream provider
- Check it's working in the copilot RHS
For detailed configuration instructions, see the Mattermost Product Documentation.
- Go 1.22+
- Node.js 20.11+
- Access to an LLM provider (OpenAI, Anthropic, etc.)
-
Setup your Mattermost development environment by following the Mattermost developer setup guide. If you have a remote mattermost server you want to develop to you can skip this step.
-
Setup your Mattermost plugin development environment by following the Plugin Developer setup guide.
-
Clone the repository:
git clone https://github.com/mattermost/mattermost-plugin-ai.git
cd mattermost-plugin-ai
- Optional. If you are developing to a remote server, setup environment variables to deploy:
MM_SERVICESETTINGS_SITEURL=http://localhost:8065
MM_ADMIN_USERNAME=<YOUR_USERNAME>
MM_ADMIN_PASSWORD=<YOUR_PASSWORD>
- Run deploy to build the plugin
make deploy
- Run
make help
for a list of all make commands - Run
make check-style
to verify code style - Run
make test
to run the test suite - Run
make e2e
to run the e2e tests
This repository is licensed under Apache-2, except for the server/enterprise directory which is licensed under the Mattermost Source Available License. See Mattermost Source Available License to learn more.