---
id: 18612
lang: en
title: "MTS Bank Builds a Microservice in Hours Instead of 3–4 Person-Weeks Using AI Agents"
published_at: "2026-11-29 08:31:13"
source_name: "Habr AI"
source_url: "https://habr.com/ru/articles/1113670/?utm_campaign=1113670&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/18612"
categories: ["llm", "autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# MTS Bank Builds a Microservice in Hours Instead of 3–4 Person-Weeks Using AI Agents

> **Краткая суть (BLUF):** MTS Bank now ships a microservice, a small self-contained part of a system such as a customer chat, in hours instead of 3–4 person-weeks (the time one developer would spend working on it). The team describes the idea using a template that includes a hypothesis and Event Storming, a workshop for mapping business events, and an AI agent writes the code from that description. The more precise the description, the smaller the gap between Codex, Claude, Kimi and cheap models. So it pays to invest in the template rather than in an expensive model.  • Model subscriptions are cheaper than paying per request through the API • DeepSeek Flash delivered very good results for a small amount of money • Without a template, models don't always choose CQRS, the separation of writes and reads

Imagine a bank needs a new chat for its customers. Previously, that meant 3–4 person-weeks of work: for example, two developers working for two weeks to write a separate small service, a microservice. At the ArchDays conference, held on November 27, 2026, Evgeny Voitov from MTS Bank showed how the same job is now done in hours. The secret is a "factory": the team doesn't write code by hand. Instead, it fills in a single description template, and an AI agent turns it into a finished service. For architects and tech leads, this is an example of how development economics change when agents write the code.

## How the factory works

The idea comes from DDD, an approach in which service boundaries are derived from the structure of the business, and in which teams and developers share a common language. At MTS Bank, models for event-driven microservices are built through Event Storming: participants jointly map out which events occur in a business process. The bank had already tried generating code from such materials but ran into limitations. Agents removed those limitations, making it possible to work along the lines of Jack Greenfield's "software factories" idea: not building a unique product each time, but shipping standard products from templates.

A description of a new task (discovery) is written in a single form: hypothesis, Event Storming, bounded context and aggregate cards. Then the team describes the command API (commands that change state), the query API (reads) and the materialized view, a ready-made data representation for fast queries. All of this is tailored to CQRS, the separation of reads and writes. There are standard constructions, such as chat, online store and banking, and four deployment configurations, from minimal to maximal. The output is one or more working microservices; the speaker's examples included applications made of 10–12 services.

There is another benefit: when code is written by hand, it inevitably drifts away from the business model. The process moves ahead, but the code stays the same. LLMs can read documentation and code together and spot such contradictions.

## What the model comparison showed

The presentation included a large table: one real microservice was generated with different models, with the task description gradually improved. The conclusions were as follows:

- Codex, Claude and Kimi cope even with a fairly poor description. As the description improves, the gap between models narrows, and cheaper ones can be used.
- Subscriptions are cheaper than paying per API call.
- DeepSeek Flash delivered very good results for little money; the speaker called this suspiciously cheap.
- GPT and Kimi are strongly results-oriented: they run many tests and double-checks, so they cost more.

Weaker models with good formalization are comparable to stronger ones. But all of them need "rails" in the form of a template: without it, a model doesn't always choose CQRS and doesn't always implement it correctly. A uniform template pays off mainly across a large number of projects. The bottom line on time: building a microservice now takes hours, not days or weeks.

## What changes for teams

The bottleneck becomes discovery and architecture, not development. Roles shift: there is a business customer and a product owner, an architect or principal who owns the methodology, and a product engineer who prepares the "development loops". Previously this work required a senior developer; now models can be used. Instead of splitting into backend and frontend, the team works on developing and refining the platform.

Another practice: a microservice is not reworked but regenerated from scratch, because generated services are fragile. Of the three approaches to AI transformation, bottom-up through initiatives, top-down by directive, or a "middle path" (bottom-up with support from leadership), the factory at MTS Bank belongs to the bottom-up initiative category.

## Limitations and conclusion

The approach so far works only for new development: legacy systems are not brought into the factory, and migration as bounded contexts evolve is still an open problem. There is also an open question of whether it is worth investing in formalization if models are improving quickly anyway. Voitov suggests considering something else too: if a service is easier to regenerate than to change, is code generation in its current form needed, or would serverless functions be a better fit?

The practical takeaway for an architect or tech lead: before paying for a top-tier model, spend time on templates, context cards and clear API contracts. The talk shows that these are what level out results across different models and let you save on tokens.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/articles/1113670/?utm_campaign=1113670&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18612
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
