Designing the Microservice Foundation for an AI Platform
Defined the architectural standards, development patterns, and event-driven conventions used across all backend services of a multi-service AI platform.
Overview
As the platform evolved from a prototype into a distributed system, there was a need for a consistent architectural approach across all backend services. I designed the reference architecture, repository structure, development guidelines, and operational standards that became the foundation for new microservices.
Problem
Without clear standards, teams risked creating services with inconsistent patterns, event contracts, testing approaches, and infrastructure integrations. The challenge was establishing enough structure to enable scalability while keeping development practical and fast.
Approach
Defined an opinionated architecture based on Domain-Driven Design, Hexagonal Architecture, and event-driven communication. Established conventions for service boundaries, repository interfaces, domain events, Kafka integration, testing strategies, observability, dependency management, and CI/CD workflows. Created documentation and examples that allowed engineers to bootstrap new services while maintaining consistency across the platform.
Outcomes
- Created the architectural blueprint used across backend services.
- Standardized service structure, testing practices, and event contracts.
- Improved consistency between independently developed microservices.
- Reduced onboarding time for engineers working on new services.
- Established patterns for observability, reliability, and event-driven communication.
- Provided a scalable foundation for future platform growth.
More selected work
Real-Time Conversational Engine for AI Voice Agents
Designed a finite-state conversational engine orchestrating telephony, speech recognition, language models, tool execution, and speech synthesis for real-time AI phone calls.
Data Extraction and Document Intelligence Systems
Integrated government portals, financial platforms, and document processing pipelines to transform fragmented external data into structured APIs and product workflows.
Scaling Digital Onboarding for a European Bank
Unified multiple identity verification providers, automated KYC and KYB risk assessment, and streamlined compliance workflows to help users open bank accounts in under five minutes.
Designing a Billing Microservice for an AI SaaS Platform
From zero to a production-ready billing domain: subscriptions, credits, Stripe integration, domain events, and failure-safe webhook handling.
Building a Low-Cost Payments Platform with Open Banking
Co-founded and built a recurring payments platform that leveraged direct debit and Open Banking infrastructure to reduce transaction costs compared to traditional card networks.