Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarHabr AI→ original

2GIS Built an AI On-Call Bot for Support: Each Team Gets Its Own Bot

A support channel bot can answer correctly and still not help: the on-call engineer has already posted a link, and the AI sends nearly the same answer. 2GIS built Bro.Dezhurnogo for Mattermost chats. It searches instructions, asks clarifying questions, and calls a human when it cannot handle a request on its own. Each team gets a separate instance with Markdown instructions that its on-call engineers edit themselves. The takeaway: for internal bots, measure usefulness, not the mere fact that the bot replied.

AI-processed from Habr AI; edited by Hamidun News
2GIS Built an AI On-Call Bot for Support: Each Team Gets Its Own Bot
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Key metric #1Each team gets its own Deployment and PVC in Kubernetes
Key metric #2Knowledge lives in Markdown, and edits go through an editor with no code required
The ideatrain the bot on the team's own discussion history

Picture an ordinary thread in a support channel. A colleague asks how to get access to a service. The on-call engineer finds the instructions and posts a link.

A minute later, an AI bot joins the conversation and sends almost the same answer. On paper, everything went well: the information was found, the answer is correct, there are no errors. But the on-call engineer's job did not get any easier, because the question was already closed.

This observation led 2GIS to think about what should count as help from AI in the first place. The story was told on Habr by Aleksandr Bozhnyuk from the "AI for Employees" team. They are building Bro.

Dezhurnogo, an assistant for internal support channels in Mattermost (a corporate messenger similar to Slack).

What problem the bot solves

On-call engineers in work chats constantly experience déjà vu: yesterday they debugged a service error, today a similar question comes in. Last week they explained who to ask for access, and now the same question is back. The answer usually exists somewhere: in the documentation, in an old discussion, or in a colleague's memory. But to find it, you need to know what to search for and what the services are called internally.

Bro is meant to take on routine requests: look up relevant instructions, ask clarifying questions, and call a specialist in time. The on-call engineer keeps their time for new and complex cases that require experience and access to internal systems.

The first version launched in spring 2026 in a single work channel. The bot monitors new messages and links them to threads. Each thread gets its own AI agent session, so neighboring discussions do not mix. If a colleague's build fails, Bro reads the conversation and checks whether there is an instruction for it. For a familiar problem, it suggests a solution. If it is unclear what happened, it asks for the error message. If a human is needed, it calls the current on-call engineer. People decide who is on call today.

Knowledge in plain files that people edit by hand

A general language model's knowledge is not enough. It can explain how build systems work, but it does not know what access a particular internal service requires or whom to contact for a specific error. So the bot's workspace contains plain Markdown files: service descriptions, frequently asked questions, rules of agent behavior (when to ask clarifying questions, how to determine the scope of responsibility, when to escalate to a human), and separate skills for special scenarios.

At first, the development team wrote the instructions itself, but they had to be updated constantly. If every change goes through the bot's developers, part of the on-call engineers' work simply shifts to another team. So the team built a knowledge editor: an on-call engineer or team owner opens the materials in an interface and edits the text without changing any code.

For example, the procedure for granting access changed. The on-call engineer updates a few lines, and the bot's next response is already based on the new text. The language model itself does not need retraining; only the text the agent uses at runtime changes.

Later they added change history with version comparison and rollback. This proved useful: sometimes a fix to an instruction also needs a fix.

A separate on-call bot for each team

When other teams wanted the bot, simply adding channels did not work: each team has its own services, owners, and ideas about what to handle themselves and what to hand off to a specialist. So each team gets a separate instance. In Kubernetes, this means its own Deployment (the bot's workload) and a persistent volume claim (PVC), that is, a disk that survives restarts. It stores the knowledge base, rules, session history, and the state of request handling.

Isolation also applies from the outside. An instance receives the configuration of only its own channels, its operations in Mattermost are limited to a specific channel and discussion, and access to its internal API is closed off as well. If one bot makes a mistake or hangs, the others keep working as usual. At the same time, several channels of one team can be served by a single on-call bot with a shared knowledge base.

To keep onboarding from becoming manual work, the team built a control panel. In it, you create a team, select channels, assign owners and on-call engineers, indicate who is on call right now, and start or pause the bot. Behind the form is a management service: it stores settings in PostgreSQL, creates resources in Kubernetes, and verifies that the instance started with the correct configuration. Users do not need to write YAML. Configuration freedom is limited to approved tools and files, while general technical constraints remain the platform's responsibility.

Training on chat history

A new bot knows the basic instructions but does not know the team's day-to-day reality: which services it supports, which errors occur most often, which solutions are trusted here. Filling all of this in by hand takes a long time, even though the necessary knowledge already sits in Mattermost conversations. So the team came up with the idea of training Bro on discussion history.

From the panel, you can launch training: the system collects the history of the connected channels, selects discussions, and passes them to the AI agent. The agent reads the questions, clarifications, and specialists' answers, extracts useful knowledge, and prepares instructions based on it. For example, several write-ups of the same failure turn into a description of the problem and the way to fix it.

Takeaways

For those building internal AI assistants, this story suggests three things. The mere fact that a bot replied says nothing about its usefulness, so look at the context of the thread. It is more practical to keep the agent's knowledge in editable files so teams can update them without developers. Team isolation is best built into the infrastructure from the start. A limitation: the author describes the architecture and approach but does not provide metrics showing how much the bot reduced the on-call engineers' workload.

Story

Key Questions Answered

What problem the bot solves?

On-call engineers in work chats constantly experience déjà vu: yesterday they debugged a service error, today a similar question comes in. Last week they explained who to ask for access, and now the same question is back. The answer usually exists somewhere: in the documentation, in an old discussion, or in a colleague's memory. But to find it, you need to know what to search for and what the services are called internally.

What are the key details on Knowledge in plain files that people edit by hand?

A general language model's knowledge is not enough. It can explain how build systems work, but it does not know what access a particular internal service requires or whom to contact for a specific error. So the bot's workspace contains plain Markdown files: service descriptions, frequently asked questions, rules of agent behavior (when to ask clarifying questions, how to determine the scope of responsibility, when to escalate to a human), and separate skills for special scenarios.

What are the key details on A separate on-call bot for each team?

When other teams wanted the bot, simply adding channels did not work: each team has its own services, owners, and ideas about what to handle themselves and what to hand off to a specialist. So each team gets a separate instance. In Kubernetes, this means its own Deployment (the bot's workload) and a persistent volume claim (PVC), that is, a disk that survives restarts. It stores the knowledge base, rules, session history, and the state of request handling. Isolation also applies from the outside.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Private AI Builders Community · Vibe Club

Ship AI Faster with Founders, Engineers & Weekly Architecture Reviews

Inside Vibe Club (hamidun.com/club) — weekly live masterminds with Zhemal Khamidun, Tech Radar, full LMS access, and 370+ production Claude Code skills.

Join Vibe Club →Free intensive — waitlist
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — 2GIS Built an AI On-Call Bot for Support: Each Team Gets Its Own Bot https://news.hamidun.com/en/news/18420/2gis-built-an-ai-on-call-bot-for-support-each-team-gets-its

What do you think?
Loading comments…