- Go 70%
- TypeScript 29%
- JavaScript 0.4%
- Makefile 0.4%
- Go Template 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* webapp: add @mattermost/compass-ui and runtime CSS loading Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: render ToggleSwitch with compass-ui Switch Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: use compass-ui Button in ConfirmationDialog Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: bump compass-ui to alpha.12 and add simplebar-react Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: remove unused checkbox, ask AI input, and no-bots page components Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: build System Console form items on compass-ui inputs, selects, radios and checkboxes Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: replace react-select pickers with compass-ui Combobox Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: build dot menus on compass-ui IconButton, PopoverMenu and MenuItem Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: fix lint in dot menu item Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: use compass-ui AdminPanel, EmptyState and Tag for System Console panels and license chips Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: convert System Console and access control UI to compass-ui Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * e2e: drive compass-ui pickers, tabs and switches by role Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: convert RHS, bot posts and tool cards to compass-ui Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: convert agents, custom prompts, tour and modals to compass-ui Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: remove legacy button, pill and spinner primitives Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * e2e: follow compass-ui tabs and tour close button in agent specs Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: show a placeholder for unset System Console selects Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: put inline checkbox test ids on the input Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: show the effective default bot in the System Console Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * e2e: find the MCP OAuth callback copy button from its row Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: bump compass-ui to alpha.13 Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: use compass-ui alpha.13 labels, pass-through and action states instead of workarounds Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: regenerate package-lock with npm 11 to match CI Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: clear picker results on failed search and keep picks during selection reload Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: polish System Console Compass UI for services, bots, and MCP Co-authored-by: Cursor <cursoragent@cursor.com> * e2e: find the Open Agents action on the bots moved notice as a button Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> * webapp: tokenize Compass chrome and share underline tabs Replace hardcoded card/panel spacing with design tokens, extract shared underline tabs (prompts + MCP + agent config), and polish prompts modal row/radio interactions. Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: use medium size for Custom Prompts modal Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: name BooleanItem radio groups for accessibility Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: keep pin keyboard activation from opening prompt row Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: improve modal focus, tab keyboard nav, and radio group a11y Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: use divider-style rows for agent and prompt lists, pad prompts menu Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: fix modal Escape/focus, animate delete agent dialog, wire confirm dialog close button Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: fix lint errors in agent config and custom prompts Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: ignore hidden or exiting dialogs in modal Escape handler Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: fix stale agent name in delete dialog for empty display names Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: fix no-undefined lint error in delete agent dialog Co-authored-by: Cursor <cursoragent@cursor.com> * webapp: let Tab reach every control in ConfirmationDialog Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com> Co-authored-by: Matthew Birtch <2040554+matthewbirtch@users.noreply.github.com> |
||
| .agents/skills/agent-browser | ||
| .claude/agents | ||
| .config/notice-file | ||
| .github | ||
| accesscontrol | ||
| api | ||
| assets | ||
| audit | ||
| autoreply | ||
| bifrost | ||
| bots | ||
| build | ||
| channels | ||
| chunking | ||
| cmd/evalviewer | ||
| config | ||
| conversation | ||
| conversations | ||
| customprompts | ||
| dev | ||
| docs | ||
| e2e | ||
| embeddings | ||
| enterprise | ||
| evals | ||
| external/pluginmcp | ||
| files | ||
| format | ||
| i18n | ||
| img | ||
| indexer | ||
| llm | ||
| llmcontext | ||
| loadtest | ||
| mcp | ||
| mcpserver | ||
| meetings | ||
| metrics | ||
| mmapi | ||
| mmtools | ||
| postgres | ||
| prompts | ||
| public/bridgeclient | ||
| react | ||
| scripts | ||
| search | ||
| server | ||
| store | ||
| streaming | ||
| subtitles | ||
| telemetry | ||
| threads | ||
| toolrunner | ||
| webapp | ||
| websearch | ||
| .editorconfig | ||
| .gitignore | ||
| .golangci.yml | ||
| .mockery.yml | ||
| .nvmrc | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| cursor_cloud_supplement.md | ||
| go.mod | ||
| go.sum | ||
| go.tools.mod | ||
| go.tools.sum | ||
| LICENSE.enterprise | ||
| LICENSE.txt | ||
| Makefile | ||
| NOTICE.txt | ||
| plugin.json | ||
| README.md | ||
| skills-lock.json | ||
Mattermost Agents Plugin 
The Mattermost Agents Plugin integrates AI capabilities directly into your 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: Learn how to interact with AI features
- Admin Guide: Detailed installation and configuration instructions
- Load Testing: Configure the in-process mock LLM and load-test-ng Agents controller
- Provider Setup: Configuration for supported LLM providers
- Feature Documentation: Detailed guides for individual features
- Channel Summaries: Use the Ask Agents about this channel button to summarize and analyze channel activity
Installation
- 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
System Requirements
- Mattermost Server v11.9.0+
- 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:
- Navigate to System Console > Plugins > Agents
- Create an agent and configure it with your LLM provider credentials
- Set permissions for who can access the agent
- Open the Agents panel from any channel using the AI icon in the right sidebar
- Start interacting with your AI assistant
For detailed configuration instructions, see the Admin Guide.
Integration
Bridge Client
The plugin provides a Go client library for other Mattermost plugins and the Mattermost server to interact with the AI plugin's LLM Bridge API. This allows you to easily add AI capabilities to your own plugins or server-side features.
See the Bridge Client README for installation and usage instructions.
Development
Prerequisites
- Go 1.24+
- Node.js 24.11+
- Access to an LLM provider (OpenAI, Anthropic, etc.)
Local Setup
-
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-agents.git
cd mattermost-plugin-agents
- 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
Other make commands
- Run
make helpfor a list of all make commands - Run
make check-styleto verify code style - Run
make testto run the test suite - Run
make e2eto run the e2e tests - Run
make evalsto run prompt evaluations interactively (with TUI) - Run
make evals-cito run prompt evaluations in CI mode (non-interactive)
Benchmark Tests
The streaming code has benchmark tests to measure performance and detect regressions:
# Run all streaming benchmarks
go test -bench=. -benchmem ./llm/... ./streaming/...
# Run specific benchmark
go test -bench=BenchmarkStreamToPost -benchmem ./streaming/...
# Run with CPU profiling
go test -bench=BenchmarkReadAll -cpuprofile=cpu.prof ./llm/...
Benchmarks cover:
ReadAll()stream consumption with varying response sizesTokenUsageLoggingWrapperinterception overheadStreamToPost()full processing pipeline with WebSocket events
Multi-Provider Evaluation Support
The evaluation system supports testing with multiple LLM providers: OpenAI, Anthropic, and Azure OpenAI. By default, evaluations run against all providers, but you can target specific ones:
# Run with all providers (default)
make evals
# Run with only Anthropic
LLM_PROVIDER=anthropic make evals
# Run with OpenAI and Azure
LLM_PROVIDER=openai,azure make evals
# Use a specific model
ANTHROPIC_MODEL=claude-3-opus-20240229 make evals
See cmd/evalviewer/README.md for complete documentation on environment variables and configuration options.
License
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.
