Sergey Natalenko
Hands-on Tech Lead · Backend & AI products · Python & Go · Moscow, remote
I build backend systems that behave predictably under load and during failures: event-driven services, third-party integrations, performance and reliability. I stay in the code (20–30% of my time) and own the result from architecture to production troubleshooting. I prefer decisions that can be checked: a benchmark or a failure test rather than an opinion.
My second line is AI products in production: RAG sales and support agents, MCP servers that connect internal services to AI assistants, and fine-tuned models that grade exam essays, from the first prototype to a production pipeline.
Open to backend tech lead and senior IC roles with real ownership, remote. Also available for consulting.
Impact
Experience
Dec 2025 — nowHead of IT, InSperia
Three products: an LMS (web, Android, iOS), a sales website and an AI platform for customer operations. Two teams; responsible for architecture, hiring and budget.
- Launched the LMS from scratch: first courses in June 2026, 20+ courses and 10,000+ students by September.
- Code judge that runs student submissions in Docker + gVisor sandboxes: Python, C++, Java, C#, Pascal.
- About ten integrations (payments, video, CRM, messengers, education platforms); TOTP and WebAuthn.
- Own and develop Prodaishka, a RAG platform for sales and support agents with CRM and messenger integrations (amoCRM, Bitrix24, Telegram, VK).
- Replaced the WordPress sales site with React + Python and added the Prodaishka sales agent widget: conversion doubled.
- Essay grading for the humanities part of the Russian state exam (EGE) with fine-tuned ML models, from the first prototype to a production pipeline: cost per check down 70%.
- MCP servers that give employees access to the company's internal services from AI assistants.
- Customer profiles and a churn model for the support team: used by 80% of support staff; sales up 20% since rollout.
Python 3.13 · Litestar · SQLAlchemy 2 · PostgreSQL 18 · Redis · NATS + FastStream · MinIO · OpenAI · RAG · MCP · NestJS · React 19
Jun 2025 — Aug 2026Tech Lead, Endrex
Real-time services of a trading platform. Designed the architecture of all platform services (BFF, exchange gateway, wallet management, copy trading, analytics); led a team of five.
- Moved the exchange gateway and wallet-management service from Python to Go: zero-downtime releases, idempotent processing, up to 1,000 wallets per instance.
- Led the Bybit integration for copy trading.
- Streaming over NATS and WebSocket; profiling of critical paths; monitoring and structured logging.
Python · Go · Litestar · NATS · WebSocket · PostgreSQL · Docker
Nov 2024 — Jun 2025Senior Backend Engineer, Endrex
- Designed and introduced a new service architecture: better scalability, maintainability and isolation.
- Built high-load real-time services with Litestar, WebSocket and NATS.
- Raised automated test coverage of each service to 75%+ and set shared quality standards.
Python · Go · Litestar · NATS · WebSocket · PostgreSQL · Docker
Nov 2024 — Oct 2025Senior Software Engineer, Kaspersky
Kaspersky Anti Targeted Attack Platform (KATA), Python/Go microservices.
- Built an incremental build system: affected packages and Docker images are derived from git changes and only those are built and tested, distributed over Docker Swarm. PR builds went from about 60 minutes to 15.
- Rewrote several services from Python to Go for the move to the web platform.
- Introduced a unified code style, formatting and linting setup.
Python · Go · protobuf · PostgreSQL · Redis · NATS · Kafka · Docker Swarm
May 2024 — Oct 2024Technical Lead, SEZ Alabuga
Technical lead for three teams, 21 people: backend, frontend, QA, project managers, analysts.
- Owned the architecture of internal product services; hired the teams and set up the workflow with the business.
- Delivered four web products: two analytics platforms, a merchandise store and an employee rewards system.
- Release cycle went from six weeks to two with Scrum and automated delivery.
- Set up GitLab CI/CD, Ansible deployments and Prometheus/Grafana monitoring; mentored two juniors to middle level.
Python · GitLab CI/CD · Ansible · Docker · Linux · Prometheus · Grafana
Oct 2023 — May 2024Software Engineer, Yandex
- High-load REST APIs in Python/aiohttp handling 500+ RPS.
- Async RabbitMQ / aio-pika event processing at 3,000+ events per second.
- PostgreSQL optimization, scheduled exports, load tests, monitoring and alerting; maintained legacy Go services.
Go · Python · aiohttp · aio-pika · PostgreSQL · RabbitMQ · Nginx
Mar 2023 — Oct 2023Lead Python Developer, MTS
- Scalable backend services in Python and FastAPI.
- ETL pipelines for PostgreSQL, MySQL, OracleDB and HDFS with PySpark and Onetl.
Python · FastAPI · Celery · SQLAlchemy · PySpark · PostgreSQL · HDFS
Feb 2022 — Mar 2023Python Developer, VK
- Backend services for Mail.ru media products in Python and Django.
- Refactored legacy applications and migrated services to Kubernetes; mentored juniors.
Python · Django · MySQL · Redis · Celery · Kubernetes
Aug 2021 — Feb 2022Software Engineer, KPMG
Analytics, forecasting and data-collection services; PostgreSQL and MongoDB schemas, CI/CD and automated tests.
Python · Django · FastAPI · NumPy · PostgreSQL · MongoDB
Aug 2020 — Feb 2022Full-stack Python Developer, InSperia
Built an LMS that automated teacher and student workflows, with GetCourse and Stepik integrations, learning analytics and dashboards.
Python · Flask · Django · PostgreSQL · Docker · Kubernetes
Projects
- asynclyTyped aiohttp HTTP clients with pytest fixtures for realistic mock servers.aiohttp · asyncio · pytest · PyPI
- example-web-serviceAsync web service on Litestar + FastStream/NATS with clean layers, DI and import-linter.Litestar · FastStream · NATS · SQLAlchemy · dishka
- example-litestar-serviceProduction-ready Litestar template: dishka DI, JWT + RBAC, NATS, observability.Litestar · PostgreSQL · Redis · NATS · Prometheus
AI tooling
- herdr-claude-accountsRun Claude Code agents across several accounts with shared conversation history, settings and usage tracking.Python · curses TUI · JavaScript · macOS Keychain
- opencode-plugin-subagents-sidebarOpenCode plugin for multi-agent coding: live subagent status and session navigation in a terminal sidebar.TypeScript · SolidJS · OpenTUI · Bun
Experiments
- pg-optimizationPostgreSQL 18 tuning: OS and DB settings, pooling, WAL, autovacuum, query plans, with measurements.PostgreSQL 18 · pgbench · replication · Linux
- http-deadlineReproducible experiments on HTTP timeouts and deadlines in asyncio.asyncio · aiohttp · Prometheus · matplotlib
- slow-tests-benchmarkBenchmarks for speeding up pytest integration tests.pytest · PostgreSQL · Litestar · xdist
- catfact-demo-serviceFive ways to test HTTP integrations in Python, side by side.FastAPI · aiohttp · vcrpy · aioresponses · asyncly
Writing
Articles on Habr, in Russian.
- Refresh succeeded, the session broke: token rotation explained
- Can ty or Pyrefly replace mypy in 2026?
- Why an HTTP call misses its timeout: queues, retries and asyncio
- import-linter: let a machine guard your layer boundaries
- Faster tests with plain xdist. I measured it. Part 2
- Your tests are slow, but not because of the database. Part 1
- Why your mocks don't catch real bugs
- Telegram login, the new way: the OIDC flow in Python
- How we made CI twice as fast with Docker Swarm
- Pitfalls of async Python frameworks. Part 1: FastAPI
- TDD and the feedback loop
Services
I take on a small number of projects alongside my main role.
- AI integrations & agents
- Connecting your databases, support desks, messengers and APIs to LLMs and agents; MCP servers for internal tools; autonomous agents, including on local models; security review of AI solutions.
- Architecture review
- An audit of your backend and a written plan you can act on: risks, bottlenecks, what to fix first.
- Performance & reliability
- Profiling, load tests, PostgreSQL tuning, idempotency and failure handling, Python → Go where it pays off.
- Fractional CTO / tech lead
- Part-time technical leadership: architecture, hiring, CI/CD and engineering process.
Stack
- Languages
- Python, Go
- Data
- PostgreSQL, Redis, MinIO
- Messaging
- NATS, Kafka, RabbitMQ
- Frameworks
- Litestar, FastAPI, aiohttp, SQLAlchemy, FastStream
- AI
- OpenAI API, Yandex AI Studio, RAG, vector search, MCP, fine-tuned models
- Ops
- Docker, Kubernetes, GitLab CI, Ansible, Prometheus, Grafana, Loki, Sentry
Education
- PhD, Mathematical and instrumental methods in economics — Synergy University
- MTech, Computer Programming — ITMO University
- BSc, Systems Engineering — Saint Petersburg Mining University