Project 2 of 7
A rule engine, live agent handoff and three-layer data safety.
An enterprise support bot driven by a YAML state machine, connected to the production database strictly read-only, that hands the conversation to a human agent when it cannot resolve it.
Most of what reaches a support team is the same handful of questions repeated: common account and request questions. Letting a language model answer those freely introduces two risks at once — the model inventing an answer, and customer data leaking into logs uncontrolled. On an enterprise support channel neither is acceptable.
I built the bot on a rule engine rather than free generation. Conversation flows live in YAML files as a state machine: 16 separate flows, each with its own steps, validations and exits. Changing a flow means editing YAML, not changing code — the support team can update their own scenarios without writing any.
When the bot cannot resolve something it does not simply drop the conversation: it opens a ticket in the ticketing system and hands off to a live agent together with the full conversation history, so the customer never has to explain twice.
If the bot cannot resolve it: a ticket is opened in the ticketing system and the conversation is handed to a live agent with its history.
A three-layer read-only guarantee on the production database. The bot reads the production database, but the possibility of a write had to be closed entirely. Instead of trusting a single safeguard, I stacked three:
READ ONLY transaction — the query runs inside a transaction the database itself refuses writes onEven if the first two are bypassed, the third is enforced by the database engine. Not leaving safety to the good intentions of the application layer was the single best decision in this project.
End-to-end PII masking. Sensitive fields — national ID numbers, phone numbers, email addresses and card numbers — are caught by regex patterns plus Luhn validation for card numbers, then masked. Masking runs before anything is written to logs or the database, so sensitive data never hits disk in raw form.
107 tests as a regression net. I wrote tests for every step of all 16 flows. Because changing one YAML flow can silently break another, updating the system safely would not have been possible without them.
Flask + Gunicorn. A deliberately plain stack: a single service that fits the synchronous request/response model and can be packaged and scaled horizontally. State lives in YAML and the database; the application server itself is stateless.
A significant share of repeat requests now close without ever reaching an agent, and the ones that do arrive with the ticket and history already attached. Answers are correct because they come from production data, safe because queries are read-only, and changeable because the flows live in YAML.
AI Engineer · Computer Engineer
I build products where AI meets data systems.
Computer engineer working on AI-driven systems, data pipelines and system integrations. I design automation-oriented, scalable structures that turn complex raw data into something meaningful and usable.
Open to new projects
As an AI Engineer with a degree in Computer Engineering, I build LLM-based chatbot and AI agent systems, data processing pipelines and system integrations.
I have hands-on experience setting up PII masking, read-only database security and Prometheus/Grafana-based observability layers in production environments. Using Python, REST APIs, SQL and Elasticsearch, I integrate AI-powered systems into real business processes and focus on building secure, scalable and maintainable products.
01/ 07
01TransifyYour meeting is over. Your summary is ready.Read the details
02AI Support ChatbotA rule engine, live agent handoff and three-layer data safety.Read the details
04Data Processing & Automation PipelinesCollection, enrichment, classification and reporting — in one flow.Read the details
05Averis Soft — Freelance Web & Software WorkFrom analysis to launch, delivered across eight different industries.Read the details
06Monitoring & Observability InfrastructureServer, service and application — all on the same screen.Read the details
07Blog & Content Management PlatformThe first end-to-end product I wrote with a layered architecture.Read the details Résumé
AI Engineer · Computer Engineer
Built a pipeline with n8n and Python services that collects data from different sources, enriches and classifies it with an LLM and reports on it; automated the manual collect–join–report loop. Secured a rule-based enterprise support chatbot with 16 flows and 107 regression tests; applied three-layer read-only access to the production database and PII masking at the source. Kept cost and reproducibility under control by using the LLM only where reasoning is needed (classification, field extraction from free text) and leaving deterministic work to code. Cut query time and database load by moving high-volume search from the relational database to Elasticsearch. Brought server, application and log monitoring into one dashboard and wrote alert rules that fire only on actionable situations; problems are now learned from alerts, not from customers. Split services into VMs and containers on the virtualisation layer, setting up resource isolation, snapshots and backups.
Supported software development within the Credit Card Payment Systems department. Contributed to data analysis, SQL query optimisation and reporting on Microsoft SQL Server. Gained experience with service integrations and layered architecture in C#/.NET enterprise applications.
Built a blog platform with user and content management features using ASP.NET MVC, SQL Server and Entity Framework. Designed the application structure with a layered architecture and implemented database management and CRUD operations.
Bachelor's degree, Faculty of Engineering, Department of Computer Engineering.
Certificate of participation.
Contact
If you want to talk about AI, data systems or automation work, drop me a line — I usually reply the same day.