back home

Top Skills

NLP LLM agents Knowledge graphs Code synthesis RAG Multi-agent systems Prompt caching Code retrieval Federated learning Graph ML Python TypeScript

Work

WSO2

Associate Technical Lead (AI R&D) Feb 2026 - now
Sri Lanka

Lead the AI-for-code sub-team in the WSO2 Integration team, building agent harnesses and small language models. Research focus: LLM failures in low-resource code generation and benchmarking LLM agents on enterprise integration.

  • Designing multi-agent systems and developing/training custom models for agentic workflows.
  • IntegrationBench: Leading a 100-task, behavior-graded benchmark that evaluates LLM agents by the runtime behavior of the integrations they build (targeting ICLR 2027).
  • Domain-specific SLM: Developing a lightweight small language model for on-prem domain-specific code generation.
  • Owning architecture, execution, and delivery of agentic developer workflows, and production readiness (security, scalability, reliability).
  • Mentoring engineers and interns to ship high-quality AI features.
Senior Software Engineer (AI R&D) Jan 2024 - Feb 2026
Sri Lanka

Led the effort to bring AI into WSO2 Micro Integrator.

  • WSO2 Integrator Copilot: Owned from ideation to production. NL to Synapse DSL code generation with version-aware retrieval, XSD/Schematron validation, LSP diagnostics, and automated repair loops. 700+ active daily users.
  • WSO2 Integrator Copilot Agent Mode: Cursor/Claude Code-style agentic integration engineer inside VS Code with 23 tools across 8 categories, multi-step planning, and autonomous task execution.
  • Integrated domain-specific embedding models into WSO2 Integrator Copilot retrieval system for low-latency semantic code search.
  • Optimized operational cost via advanced prompt caching (~90% cost reduction) and production hardening/observability hooks.
  • Small Language Model initiative: Initiated domain-specialized SLM training for Ballerina to enable low-latency on-prem code generation.
Software Engineer Jan 2022 - Dec 2023
Sri Lanka

Built open-source products for API Management and Integration.

  • Delivered multiple end-to-end features for WSO2 API Manager and contributed 40+ product improvements.
  • Distributed Transaction Counter: Scalable transaction counting for high-throughput API gateways handling 10,000+ TPS with sub-millisecond latency.
  • GenAI / Multi-agent framework: Led a low-code framework supporting multiple LLM backends + vector stores, reducing delivery time and standardizing deployments.

Persistent Systems

Research Engineer Mar 2021 - Dec 2021
Sri Lanka
  • Developed architectures and POCs for a new API Marketplace intended to host and manage thousands of APIs.

Zeptolytics

Machine Learning Research Intern Jun 2019 - Dec 2019
Colombo, Sri Lanka
  • Developed end-to-end automated data analytics and Business Intelligence pipeline for the ZEPTO platform.
  • Resulted in 40% improvement in decision-making speed for client companies.
  • Built using Python, Scikit-learn, pandas, NumPy. Deployed with Docker and AWS.

Research

University of Moratuwa

Lead External Volunteer Researcher Aug 2025 - now
Sri Lanka

Supervisors: Dr. Surangika Ranathunga (Massey University, NZ) and Dr. Nisansa de Silva (UOM)

  • Leading Google-funded research on Automatic Post-Editing (APE) for low-resource languages (Sinhala, Tamil).
  • Proposing controllable minimal-edit post-editing with hidden-state anchoring and dynamic edit-distance constrained decoding.
  • Driving experimentation, evaluation, and research direction for practical APE workflows.
Graduate Researcher (Thesis Continuation) Jun 2021 - Dec 2021
Sri Lanka

Supervisors: Prof. Sanath Jayasena, Dr. Miyuru Dayarathna

  • Extended undergraduate thesis on privacy-preserving distributed graph ML.
  • Developed novel common-attribute and common-entity aggregation mechanisms for heterogeneous multi-organization graph learning while maintaining privacy.
  • Implemented prototype on JasmineGraph distributed graph database.
Undergraduate Thesis Researcher Jan 2020 - Jun 2021
Sri Lanka

Supervisors: Prof. Sanath Jayasena, Dr. Miyuru Dayarathna

  • Researched privacy-preserving distributed graph ML and federated GNNs for large-scale link prediction.
  • Built memory-efficient distributed/federated GCN training enabling training on very large graphs on commodity hardware (JasmineGraph).
  • Peer-reviewed publication at IEEE Big Data 2020.

Education

University of Moratuwa 2017 - 2021
B.Sc. Engineering (Honours), Computer Science and Engineering
  • GPA: 3.87 - First Class Honours
  • Dean’s List: 7 out of 8 semesters (Semesters 1, 3, 4, 5, 6, 7, 8)
  • Thesis: Privacy-Preserving Machine Learning on Distributed Graphs (Grade: A+)
  • University Award for Best R&D Project (highest marks achieved)

Awards

IEEE Signal Processing Cup 2020 - First Runner-Up 2020
  • First Runner-Up at ICASSP 2020 finals (team Icarus Inhibition).
  • Achieved the highest score in the selection round for anomaly detection in autonomous drone systems using multimodal sensor data.
University Award for Best R&D Project 2021
  • Highest marks achieved in undergraduate thesis research on distributed graph ML.
Virtusa Award 2019
  • Awarded to the student who earned the highest marks for the semester 5 Software Engineering Project.
  • Issued by Department of CSE, University of Moratuwa.
Flu Shot Learning Challenge - 18th/4811 (top 0.4%) 2020
  • DrivenData machine learning competition.
SLIIT Codefest Datathon - Champions 2019
  • Winning team (XGCoders) of nationwide inter-university data mining competition.
iHack 5.0 - Winners 2019
  • 24-hour inter-university software development hackathon at University of Colombo.
  • Team ODIGOS designed and developed a mobile/web app solving Sri Lanka’s tourism issues. First place out of 59 teams.