Quickstart¶
1. Install¶
# Recommended: uv tool (isolated, globally available)
uv tool install mattermind
# Or: pip
pip install mattermind
2. Configure¶
Run the interactive wizard:
It will ask for your Mattermost URL, Personal Access Token, team name, LLM endpoint, and model, then write ~/.config/mattermind/config.yaml.
Or set environment variables directly:
export MATTERMIND_MM_URL=https://mm.company.com
export MATTERMIND_MM_TOKEN=your-pat-here
export MATTERMIND_TEAM=engineering
export MATTERMIND_LLM_BASE_URL=https://api.openai.com/v1
export MATTERMIND_LLM_API_KEY=sk-...
export MATTERMIND_MODEL=gpt-4o-mini
3. Ask a question¶
4. Validate your setup¶
This tests connectivity to both Mattermost and the LLM endpoint.