https://github.com/mattermost/mattermost-plugin-agents
Mattermost Agents plugin supporting multiple LLMs
https://github.com/mattermost/mattermost-plugin-agents
ai llm mattermost mattermost-plugin
Last synced: about 2 months ago
JSON representation
Mattermost Agents plugin supporting multiple LLMs
- Host: GitHub
- URL: https://github.com/mattermost/mattermost-plugin-agents
- Owner: mattermost
- License: apache-2.0
- Created: 2023-05-03T15:30:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-08-07T13:20:06.000Z (2 months ago)
- Last Synced: 2025-08-07T14:34:23.899Z (2 months ago)
- Topics: ai, llm, mattermost, mattermost-plugin
- Language: Go
- Homepage: https://mattermost.com/copilot
- Size: 30.6 MB
- Stars: 178
- Watchers: 18
- Forks: 54
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.enterprise
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Mattermost Agents Plugin [](https://github.com/mattermost/mattermost-plugin-ai/releases/tag/latest-master)
The Mattermost Agents Plugin integrates AI capabilities directly into your [Mattermost](https://github.com/mattermost/mattermost) workspace. **Run any local LLM** on your infrastructure or connect to cloud providers - you control your data and deployment.

## Key Features
- **Multiple AI Assistants**: Configure different agents with specialized personalities and capabilities
- **Thread & Channel Summarization**: Get concise summaries of long discussions with a single click
- **Action Item Extraction**: Automatically identify and extract action items from threads
- **Meeting Transcription**: Transcribe and summarize meeting recordings
- **Semantic Search**: Find relevant content across your Mattermost instance using natural language
- **Smart Reactions**: Let AI suggest contextually appropriate emoji reactions
- **Direct Conversations**: Chat directly with AI assistants in dedicated channels
- **Flexible LLM Support**: Use local models (Ollama, vLLM, etc.), cloud providers (OpenAI, Anthropic, Azure), or any OpenAI-compatible API## Documentation
Comprehensive documentation is available in the `/docs` directory:
- [User Guide](docs/user_guide.md): Learn how to interact with AI features
- [Admin Guide](docs/admin_guide.md): Detailed installation and configuration instructions
- [Provider Setup](docs/providers.md): Configuration for supported LLM providers
- [Feature Documentation](docs/features/): Detailed guides for individual features## Installation
1. Download the latest release from the [releases page](https://github.com/mattermost/mattermost-plugin-ai/releases). You can also download the **experimental** [latest master](https://github.com/mattermost/mattermost-plugin-ai/releases/tag/latest-master)
2. Upload and enable the plugin through the Mattermost System Console
3. Configure your desired LLM provider settings### System Requirements
- Mattermost Server versions:
- v10.0 or later recommended
- v9.11+ (ESR)
- PostgreSQL database with pgvector extension for semantic search capabilities
- Network access to your chosen LLM provider## Quick Start
After installation, complete these steps to get started:
1. Navigate to **System Console > Plugins > Agents**
2. Create an agent and configure it with your LLM provider credentials
3. Set permissions for who can access the agent
4. Open the Agents panel from any channel using the AI icon in the right sidebar
5. Start interacting with your AI assistantFor detailed configuration instructions, see the [Admin Guide](docs/admin_guide.md).
## Development
### Prerequisites
- Go 1.23+
- Node.js 20.11+
- Access to an LLM provider (OpenAI, Anthropic, etc.)### Local Setup
1. Setup your Mattermost development environment by following the [Mattermost developer setup guide](https://developers.mattermost.com/contribute/server/developer-setup/). If you have a remote mattermost server you want to develop to you can skip this step.
2. Setup your Mattermost plugin development environment by following the [Plugin Developer setup guide](https://developers.mattermost.com/integrate/plugins/developer-setup/).
3. Clone the repository:
```bash
git clone https://github.com/mattermost/mattermost-plugin-ai.git
cd mattermost-plugin-ai
```4. **Optional**. If you are developing to a remote server, setup environment variables to deploy:
```bash
MM_SERVICESETTINGS_SITEURL=http://localhost:8065
MM_ADMIN_USERNAME=
MM_ADMIN_PASSWORD=
```5. Run deploy to build the plugin
```bash
make deploy
```### Other make commands
- 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## License
This repository is licensed under [Apache-2](./LICENSE), except for the [server/enterprise](server/enterprise) directory which is licensed under the [Mattermost Source Available License](LICENSE.enterprise). See [Mattermost Source Available License](https://docs.mattermost.com/overview/faq.html#mattermost-source-available-license) to learn more.