~whoami

Senior Software Engineer with 10+ years designing and building backend and distributed systems, from banking infrastructure to event-driven data platforms. Currently focused on reliability and observability for production LLM agents at Volvo Cars.

Experience

Where I've worked

  1. Feb 2025 – Present

    Stockholm, Sweden

    Senior Software Engineer

    Volvo Cars

    • Reliability and observability for production LLM agents: an LLM-as-judge evaluation framework, per-agent failure handling in a multi-agent chatbot, and a real-time Kafka pipeline streaming every agent interaction to analytics.
    • Zero-downtime migrations of identity management to a self-managed Keycloak on Kubernetes and of Kafka services from AWS to Confluent Cloud on Azure.
    • Designed a relative-URL scheme and resolution endpoint that fixed a data-residency compliance issue for in-car app assets with zero changes to existing integrations; now the most-called endpoint in the team's APIs.
  2. May 2022 – Feb 2025

    Stockholm, Sweden

    Backend Software Engineer

    Valitive AB

    • Built data-source integrations into an event-driven pipeline that turns ~12M raw records into unified company entities, using Kafka and Akka Streams.
    • Designed the Elasticsearch layer behind the customer-facing search and lookup product, and operated the pipeline in production on Kubernetes and AWS.
  3. Sep 2020 – Apr 2022

    Tehran, Iran

    Software Team Lead

    Tosan Banking and Payment Solutions

    • Led a team of 6 engineers building an API integration platform that lets third-party providers connect to core bank services, adopted by 4+ financial institutions.
    • Designed the target microservices architecture for the core banking platform and led the migration of the first services onto Docker and Kubernetes.
  4. Apr 2018 – Sep 2020

    Tehran, Iran

    Java Developer

    Tosan Banking and Payment Solutions

    • Owned the General Ledger and the core framework modules relied on across the company's banking products, and built the foundational REST service infrastructure.
  5. Sep 2017 – Apr 2018

    Tehran, Iran

    Java Developer / Android Developer

    Sepehr Intelligent Technology and Solutions

    • Delivered two Android applications for Saderat Bank and led end-to-end QA for a mobile payment application.
  6. Nov 2013 – Jun 2015

    Tehran, Iran

    PHP Developer

    Darmankade.ir

    • Engineered the backend and APIs for a medical-consultation scheduling platform, including an admin panel, a triage tool, and SMS/email notifications.

Selected projects

A few highlights

AI AgentsVolvo Cars

LLM-as-Judge Evaluation Framework

An evaluation framework for a production AI agent. Each test case defines natural-language criteria, and a configurable judge model scores both the agent's final output and its full session trace. Replaced manual side-by-side model comparison with repeatable batch runs across ~100 test cases, and is now the team's standard for model selection and feature validation.

LLM-as-JudgeAgent EvaluationPrompt EngineeringLangChain4j
Data StreamingVolvo Cars

Real-Time Agent Session Pipeline

A Kafka pipeline that streams every agent interaction (user and AI messages, tool calls, and tool responses) to analytics as it happens, captured by decorating LangChain4j's ChatMemory without touching agent logic. At-least-once delivery with deduplication keys, retries, and a dead-letter topic replaced a weekly manual Redis-to-Snowflake export that risked data loss.

KafkaLangChain4jJavaVirtual ThreadsEvent Schema Design
AI AgentsVolvo Cars

Per-Agent Failure Handling

An exception-handling layer for a multi-agent chatbot where errors used to reach users as raw 5xx failures. It attributes each error to its originating agent while preserving the session trace, applies per-agent rules for retries, fallbacks, and messages, and returns structured responses so users always get a meaningful answer.

Multi-Agent SystemsAgent ReliabilitySession Tracing
InfrastructureVolvo Cars

Zero-Downtime Keycloak & Kafka Migrations

Moved identity management from a legacy Keycloak to a self-managed deployment on Kubernetes, with dual-server support so the application could authenticate against both during cutover; authentication response times dropped by about two-thirds. Also moved Kafka services from AWS to Confluent Cloud on Azure with no downtime and no data loss.

KeycloakKotlinKubernetesKustomizeKafkaConfluent CloudAzure
Backend SystemValitive AB

Company Data Unification Pipeline

Data-source integrations for an event-driven pipeline that unifies company and business data from disparate sources, transforming ~12M raw records into structured company entities. Designed the Elasticsearch index and query layer that powers the customer-facing search and lookup product.

KafkaAkka StreamsElasticsearchProtocol BuffersKubernetesAWS
Core BankingTosan

Bank API Integration Platform

Led a team of 6 engineers through an end-to-end initiative to build a platform that lets third-party providers connect to core bank services, and architected the banking service infrastructure behind it. Adopted by 4+ financial institutions.

JavaRESTMicroservicesTeam Leadership

Capabilities

What I work with

AI & Agentic Systems

  • LangChain4j
  • Prompt Engineering
  • RAG
  • LLM-as-Judge Evaluation
  • Agent Evaluation & Reliability

Languages

  • Java
  • Kotlin
  • Go
  • TypeScript

Backend & Architecture

  • Spring Boot
  • Akka
  • Microservices
  • Event-Driven Architecture
  • Domain-Driven Design
  • REST / OpenAPI
  • GraphQL
  • Hibernate / JPA

Data & Messaging

  • Kafka
  • Stream Processing
  • PostgreSQL
  • Elasticsearch
  • Protocol Buffers

Cloud & Infrastructure

  • Docker
  • Kubernetes
  • AWS
  • Azure
  • Terraform
  • CI/CD (GitHub Actions)
  • Keycloak / OAuth2
  • OpenTelemetry
  • Prometheus / Grafana

Frontend

  • React
  • Next.js

Background

Education & teaching

Education

  • M.Sc. Artificial Intelligence

    Sharif University of Technology, Tehran, Iran · 2015

  • B.Sc. Software Engineering

    Mazandaran University of Science and Technology, Babol, Iran · 2012

Languages

  • PersianNative
  • EnglishProfessional
  • SwedishB1

Teaching & mentoring

  • Led a software development workshop, mentoring early-career developers

    Karyar College · 2023

  • Designed and delivered a professional Java development curriculum, "Road to Become a Star Java Developer"

    Hamro Institute · 2022

  • Taught courses in Artificial Intelligence and Machine Learning fundamentals

    Sharif ITC Institute · 2021

Get in touch

Let's work together

I'm open to conversations about backend and distributed systems, production AI agents, and technical architecture.