MTS Bank Builds a Microservice in Hours Instead of 3–4 Person-Weeks Using AI Agents
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.
AI-processed from Habr AI; edited by Hamidun News
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.
- Nov 29, 2026Five AI Agents Now Share One Memory: Search Finds the Right Page in 89% of Cases
- Nov 29, 2026Aschenbrenner: At Anthropic, AI Agents Log 19 Hours for Every Hour of Researcher Time
- Nov 29, 2026Mira Murati's Laptop Model With 32 GB Beat Qwen 27B in 32 of 48 Benchmarks
- Nov 29, 2026Anthropic denies sabotage in Claude, but admits Fable 5 gave clipped answers for two days
Key Questions Answered
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.
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.
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.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
