glpi-plugin-aiticketanalysis is a powerful add-on for GLPI 11 that brings artificial intelligence to your helpdesk. It connects to AnythingLLM and uses local AI models (like Qwen, Llama, or any LM Studio model) to analyze support tickets, summarize conversations, process attachments via OCR (optical character recognition), and provide intelligent suggestions. This plugin helps your service desk work faster by automatically understanding ticket content, detecting issues, and suggesting solutions based on your knowledge base. Best of all, everything runs on your own computer or server—no cloud services required, ensuring your data stays private and secure.
- Automatically analyze new tickets - AI reads incoming tickets and their attachments to understand what the user needs
- Smart ticket classification - Automatically categorizes tickets (bug, request, incident) based on content
- OCR for attachments - Extracts text from images, PDFs, and scanned documents so AI can read them
- Knowledge base matching - Finds similar past solutions from your GLPI knowledge base (RAG-powered)
- Suggested replies - AI drafts helpful responses based on ticket history and associated knowledge articles
- History intelligence - Analyzes previous ticket history, even across multiple user interactions
- Optional read-only GLPI MCP access - Connects to GLPI's Model Context Protocol for intelligent data retrieval without modifying data
The plugin uses RAG (Retrieval-Augmented Generation) with AnythingLLM. This means:
- When a ticket is created with attachments, the plugin extracts text from those attachments (using OCR)
- The extracted information is indexed into a vector database (RAG technology)
- The AI brain (your local model) asks questions about the content and finds relevant answers from the indexed data
- The AI generates a response or analyzes the ticket with context from previous tickets and the GLPI knowledge base
Everything runs locally using your own computer's resources. You can configure the plugin to use:
- LM Studio or Ollama - Run models on your own computer
- Qwen, Llama, Mistral, or any Hugging Face model - Choose your favorite local models
- OpenAI-compatible API - If you have a subscription (optional, privacy warning applied)
- Operating Systems Windows, macOS, Linux
- GLPI 11 - Must have GLPI 11 installed and running
- AnythingLLM - Required to connect this plugin to the AI model
- Recommended RAM: 8 GB minimum (16 GB+ for large models like Qwen 72B)
- Disk space - 1GB free for plugin + local model files
- Database - MySQL 5.7+ or MariaDB 10.6+
- PHP 8.1+
- Node.js 18+ (for AnythingLLM)
- GPU - Optional but recommended for faster AI processing (any NVIDIA or AMD GPU with >=8GB VRAM)
Visit this link to download the plugin:
- Copy the plugin - Upload the downloaded folder into your GLPI's
plugins/directory - Install Plugin - Log into GLPI as administrator, go to Administration > Plugins, find "AI Ticket Analysis", and click Install
- Enable Plugin - Click Enable to activate the plugin
- Run AnythingLLM - Start AnythingLLM on your computer (you'll need to install it separately from AnythingLLM's website)
- In GLPI settings - Go to Plugins > AI Ticket Analysis > Configuration
- Enter AnythingLLM API URL - Usually
http://localhost:3001/api(accept the defaults) - API Key - Create an API key in AnythingLLM and paste it in the GLPI plugin settings
- Test connection - Click "Test Connection" and wait for a green "Connected!" message
- Enable OCR - Under the OCR Settings tab, check "Enable OCR for attachments"
- Select language - Choose the language(s) of your tickets (e.g., English, German, French)
- Convert attachments - The plugin will automatically scan new tickets and extract text from uploaded images
If you want the plugin to use GLPI's MCP for data:
- Enable the Read-Only MCP option
- The plugin will connect to GLPI's Model Context Protocol without any modification rights
- Use for querying ticket history, user info, or other read-only data for analysis
- Scans subject and description fields of new tickets (including HTML formatting)
- Understanding the user's intent (troubleshooting request, new feature, service request)
- Detects urgency and escalates flagged key words
- Supports PDF, JPEG, PNG, TIFF, and scanned documents
- No character limit on attached pages
- Preserves original file format while processing with AI
- Extracted text is stored in RAG vector database
- Uses RAG to match ticket content with existing knowledge database
- Returns both similar past ticket solutions and article snippets
- Can auto-tag tickets with categories based on AI classification
- Provides confidence scores for each suggestion
- All processing happens locally - no data leaves your network
- No external API calls beyond the ones you configure
- Your GLPI data remains in your own database
- Works offline if needed
- Plugin integrates into GLPI's dashboard
- Shows AI activity statistics: tickets analyzed, OCR processed
- Real-time processing in ticket view - no delays
- Charts showing AI performance and ticket analytics
- "Connection refused" error - Make sure AnythingLLM is running and the API URL is correct
- "Model not loading" - Check your local model is installed properly (use
ollama listorLM Studio settings) - OCR not working - Install a library like Tesseract (Windows) or use a Docker container with OCR support
- Slow AI responses - Try a smaller model (Qwen 3B instead of 72B) or upgrade your computer RAM
- Plugin not showing - Check GLPI logs (
/var/www/glpi/files/_log/) for PHP errors - No emoji in suggestion? - This is normal; AI output depends on your model and character set
-
Q: Does this plugin modify the database?
-
A: No - It reads ticket information only (unless you enable MCP which remains read-only)
-
Q: How do I update the AI model?
-
A: Change in the AnythingLLM GUI or download a new model from Hugging Face
-
Q: Can I use this with cloud AI like OpenAI/Claude?
-
A: Yes - configure an OpenAI-compatible endpoint in Settings (e.g., for GPT-4) - then it uses cloud endpoints
-
Q: Does it require a GPU?
-
A: Strongly recommended for more than 10 tickets/day, but CPU-only is possible with small models
-
Q: How do I turn off AI analysis for certain tickets?
-
A: Disable per ticket or set plugin to manual mode
-
Q: What languages does OCR support?
-
A: Any language that Tesseract OCR supports: English, French, German, Spanish, Italian, Portuguese, and many more
This plugin is open-source and welcomes contributions. If you have ideas for improvements:
- Report issues on the GitHub repository
- Contribute code via pull requests - please test changes This plugin is not officially used by GLPI it's community-maintained
This plugin is released under a regular unique open-source license for GLPI plugins. See LICENSE file in the repository for full details.