---
lang: en
page: about
title: "Dmitry Lakhvich — Data & AI Platforms"
description: "Dmitry Lakhvich on building data platforms at M2, designing tools for coding agents, and teaching distributed data processing at Bauman MSTU."
name: "Dmitry Lakhvich"
handle: "@ktt"
role: "Head of Data Platform at M2 · Product & Engineering at YABANIN"
headline: "I build the systems behind data teams, and teach people how they work."
location: "Data engineering · Self-hosted AI · Distributed systems"
updated: "2026-12"
avatar: "assets/avatar.jpg"
links:
  - label: "LinkedIn"
    url: "https://www.linkedin.com/in/dmitry-lakhvich/"
    primary: true
  - label: "YABANIN"
    url: "https://yabanin.ai/"
  - label: "GitHub"
    url: "https://github.com/ReiReiRei"
  - label: "DEV.to"
    url: "https://dev.to/ktt"
  - label: "ORCID"
    url: "https://orcid.org/0000-0002-2267-4204"
highlights:
  - value: "15+ yrs"
    label: "Data & AI platforms"
interests:
  - "AI-SDLC & agents"
  - "Tokenomics"
  - "Self-hosted AI"
  - "Data platforms"
  - "Open source"
---

# Dmitry Lakhvich

My route into AI was through data engineering.

I studied rocket science and computer science at Bauman Moscow State Technical University. My early work was close to the hardware: real-time embedded software, then Linux network drivers for IBM System z. At MaximaTelecom I worked on the other end of the network, processing streams of Wi-Fi events with Kafka and Spark.

At Tele2 I built a five-person data engineering team from scratch. At M2 I set up a Data & Analytics department with two teams: one for data and systems analysis, the other for platform engineering. I own the budget as well as the architecture, so a decision about which model to run is also a decision about what my team can afford to keep running. My [work history](./resume.html#experience) covers the roles in between.

## Engineering decisions

### When a cheaper GPU is the wrong choice

At M2 I had to decide whether to run our internal language model on discounted capacity that could be interrupted. Once colleagues were using it for documents and support requests, predictable availability mattered more than the lower daily rate. I chose a dedicated A100, and we accounted for usage by team rather than splitting the bill evenly. I discuss the trade-offs in my [WB Tech talk](https://www.youtube.com/watch?v=sQf-9p31NV0) (in Russian).

### What did it cost an agent to finish a task?

A provider invoice tells me which model ran, but not which change in a repository it paid for. In [Yabanin Core](https://github.com/yabaninai/yabanin-core) I link model requests and Git commits with a task identifier. That lets me trace a change back to its inference costs. [My walkthrough](https://dev.to/ktt/yabanin-core-an-open-source-gateway-with-own-keys-and-budgets-for-ai-agents-4jdb) explains the keys and budgets; this [gateway drawing](./assets/routing-plate.svg) shows the request path.

I also work on [RAIDER](https://github.com/yabaninai/raider), where I use Scala workflows to separate an agent's proposed code change from the tests and review that decide whether to keep it.

## Selected Talks & Writing

- **Nov 2026 · AI Tinkerers Tokyo** — *[Putting a gateway between coding agents and models: allow-lists, budgets and an audit trail](https://tokyo.aitinkerers.org/talks/rsvp_TENzzCFk_JU)* (live-code demo at Cybozu, Nihonbashi)
- **Nov 2026 · DEV Community** — *[Yabanin Core: an open-source gateway with own keys and budgets for AI agents](https://dev.to/ktt/yabanin-core-an-open-source-gateway-with-own-keys-and-budgets-for-ai-agents-4jdb)*
- **Oct 2026 · LinkedIn Pulse** — *[What Does It Cost an AI Agent to Finish the Job?](https://www.linkedin.com/pulse/what-does-cost-ai-agent-finish-job-dmitry-lakhvich-iikqf)*
- **2026 · WB Tech (YouTube)** — *[AI for a Mid-Sized Company — M2 Case Study (in Russian)](https://www.youtube.com/watch?v=sQf-9p31NV0)*
- **May 2025 · Spark Meetup** — [Spark and Trino: when to use them together and when not to](https://networkly.app/event/spark-meetup-29-05-2025_5063) (event programme, in Russian).
- **Northeast Scala Symposium** — [My Spark Streaming talk](https://www.youtube.com/watch?v=OJiJcs3a4-s) and [my Scala data lake project](https://github.com/ReiReiRei/spark_easy_datalake).
- **DataGym · ETL Meetup** — [Data lakes in practice](https://www.youtube.com/watch?v=gYHMZNWb1jI) (recording, in Russian).

## Research & teaching

I have taught Big Data and distributed processing at Bauman MSTU since 2015. With colleagues, I wrote a [book chapter on master's and doctoral education in data processing](https://doi.org/10.4018/978-1-5225-3395-5.ch013). Two papers show a different side of my work:

- **2014 · AIST** — In [Using CAPTCHA in a Massive Free Association Experiment on the Internet](https://ceur-ws.org/Vol-1197/paper25.pdf), I explored how to collect word associations on the web.
- **2024 · IEEE ICBDA** — I co-authored [Universal Data Model as a Way to Build Multi-Paradigm Data Lakes](https://doi.org/10.1109/ICBDA61153.2024.10607189). My [full CV](./resume.html) includes the bibliography.

## Community projects

Outside my platform work, I founded the [Data Engineers community](https://t.me/hadoopusers) and run [Data jobs feed](https://t.me/datajobschannel), a separate Telegram channel covering roles in data engineering, analytics and ML.

I'm also studying Japanese. To compare engineering notes or invite me to speak, [get in touch](./contact.html).
