Documentation pages
AI agents take the first hour of an incident off the team: they investigate with read-only tools, troubleshoot in plain words, and propose the fix, which a person approves. AI is part of the Security licence and of the free licence; you bring the model. Three ways to connect one, usable together:
| Way | Who uses it | Set up in |
|---|---|---|
| Portal AI | everyone; also automatic investigations, summaries, drafts | Monitoring > Overview & alerts > Incidents > Settings... (L4) |
| My AI (personal key) | one operator, on their own AI account | Security > AI > My AI |
| AI app connector (MCP) | claude.ai, Claude Desktop, ChatGPT, Copilot Studio, GitHub Copilot, Claude Code, Cursor | Security > AI > My AI > AI policy (L4) |
18.1 What the agents do
| Task | Where | What you get |
|---|---|---|
| Investigate an incident | the incident, Investigate (or automatically for new incidents, by severity, with a daily cap) | the agent calls read-only tools (firing alerts, entry state, changes and events, logs, alert history, dependencies, similar incidents, runbooks) and writes a root-cause hypothesis with the evidence |
| Troubleshoot | Security > AI > Ask AI, the Ask AI window, ChatOps ask <question> |
answers about the estate in plain words, with every tool call listed |
| Propose the fix | the investigation | a runbook run with its reason (an L4 approves, also from the phone app), a maintenance window or a change request draft |
| Summarise | incidents, monthly report, quarterly review, IT health check | summary, likely cause, impact and next steps; the executive summary of the reports |
| Service desk | tickets, problems, ticket clusters, the support page | reply proposals (never sent by themselves), knowledge base drafts when an incident closes (unpublished until reviewed), cluster descriptions |
Nothing is changed by the AI itself: its tools read, and every proposal waits for a person. Requests and tool calls are in the audit log.
18.2 Portal AI
Monitoring > Overview & alerts > Incidents > Settings... (L4):
| Setting | What to enter |
|---|---|
| Provider | Anthropic Claude API, an OpenAI-compatible endpoint (OpenAI, Ollama, LM Studio, vLLM, LiteLLM) or Azure OpenAI |
| Address, model, key | the endpoint and model of the provider; the key is stored encrypted and never shown again |
| Log lines | how many log lines go with an incident (default 40); they are passed as untrusted data |
| Mask addresses | replaces IP and e-mail addresses before the request leaves the portal |
| Tool rounds per investigation or question | 3 to 90 (new installations: 30); one round can hold up to 8 tool calls |
| Automatic investigation | from which severity, and how many a day |
A local model keeps all data on your network, for example Ollama on a GPU server (http://ai01.corp.example.com:11434/v1, OpenAI-compatible). With Sovereign mode the portal calls no service outside the EU. The outbound proxy of the notifications (NotifyProxy) is used for cloud providers.
18.3 My AI: personal keys
- L4, Security > AI > My AI > AI policy: tick Users may use their own AI key, choose the Providers users may choose (anthropic, openai, azure, gemini, github, mistral, openrouter, custom, local) and, if wanted, Mask IP / e-mail addresses for personal keys. Save.
- Each operator, Security > AI > My AI > Your own AI for investigations: Provider, Model, API key / token, optionally Tool rounds per question or investigation; tick Use my AI instead of the portal AI; Test, Save.
Investigate, Ask AI, the drafts and the summaries then run on that user's account; results say which model produced them. A claude.ai, ChatGPT or Microsoft Copilot subscription has no key for other programs: those connect the other way round (18.4).
18.4 AI apps through MCP
The portal is an MCP server at https://trinity.corp.example.com/rest.ashx/mcp. The app signs in as the user (OAuth 2.1, with the user's two-factor) and works with that user's level.
- L4, Security > AI > My AI > AI policy: tick AI app connectors (MCP) on (off by default), set Minimum level for connectors, and only if wanted Connectors of L3 / L4 users may propose runbooks (L4 approves) and ... may acknowledge and mute alerts (with a note ...); keep Mask IP / e-mail addresses in connector results as your policy says; Allowed sign-in return addresses holds claude.ai, chatgpt.com, vscode.dev, Copilot Studio and the desktop schemes by default. Save.
- Connect the app:
| App | How |
|---|---|
| Claude Code (on a PC in the network) | claude mcp add --transport http --scope user trinity https://trinity.corp.example.com/rest.ashx/mcp, then claude mcp login trinity and Approve on the portal page |
| GitHub Copilot in VS Code | MCP: Add Server > HTTP with the same address; approve in the browser |
| Cursor | add the same address as an HTTP MCP server in Cursor's MCP settings; approve in the browser |
| ChatGPT | developer mode, Create connector with the address |
| Microsoft Copilot Studio | Tools > Model Context Protocol, OAuth dynamic discovery |
| claude.ai, Claude Desktop, Claude on the phone | Anthropic's servers connect from the internet: publish the connector port (below), then Customize > Connectors > Add custom connector with https://mcp.example.com/rest.ashx/mcp |
Connector port for the Claude app (Linux portal): a second HTTPS port that answers only the connector and its sign-in page, so the portal itself stays internal.
sudo ./install-trinity.sh --mcp-port 8443 --mcp-cert fullchain.pem --mcp-key privkey.pem
The certificate is from a public CA for the public name (e.g. mcp.example.com); forward TCP 443 of that address to the node's port 8443 (destination NAT). Then Security > AI > My AI > Connector port for the Claude app (L4): Public address, Networks of the AI service (the button fills in Anthropic's published ranges), Networks of your people, the sign-in methods (AD user name and password with the authenticator code, Microsoft or Google account), Save, Switch the port on. Connected apps are listed on My AI and can be disconnected (L4: all of them).
18.5 ChatOps and knowledge base drafts
Admin > Settings > ChatOps (L4): tick allow ask to let the chat users of Telegram, Slack or Microsoft Teams ask the AI about the current alerts and incidents; write a KB draft when an incident closes (AI) with From severity and Minimum incident duration. At most 10 automatic drafts a day; they stay unpublished until someone reviews them.
Names, addresses and accounts in the examples (corp.example.com, 10.0.x.x, CORP\…) are examples: use your own. TRINITY 1.2.1, December 2026.