Available for Research Collaboration

Moh
Affan

I build production-grade AI systems for real government workloads. RAG agents, face recognition at scale, Rust backends — serving 15,000+ civil servants daily inside Pemerintah Kabupaten Sumenep. Currently pursuing S2 at ISTTS Surabaya, thesis on evaluating RAG for Indonesian government regulation.

15k+
Civil Servants Served
10+
Production Systems
5+
Years Gov. Tech
Scroll to explore
01 About

Who I Am

I build AI systems that actually work — not demos, but production systems handling thousands of real users every day inside the Indonesian government.

My work sits at an unusual intersection: deep AI engineering combined with government domain expertise. I understand both how to implement ArcFace with FAISS at scale, and how Indonesian civil service regulation (ASN law) is structured — which makes building systems like iASN possible.

Currently leading the full AI and digital infrastructure at BKPSDM Kabupaten Sumenep, where I've rebuilt the entire civil service management ecosystem — Rust backends, Next.js frontends, Flutter mobile, and an AI layer powered by Gemini and Qdrant.

My S2 thesis focuses on evaluating RAG-based AI agents for Indonesian government employment regulation — using RAGAS metrics and custom evaluation frameworks for low-resource Bahasa Indonesia legal documents.

Education
S2 Information Technology
ISTTS Surabaya · 2024–Present
Thesis: RAG Evaluation for Gov. AI
Current Role
AI & Backend Engineer
BKPSDM Kabupaten Sumenep
September 2020 – Present
Certifications
AI Professional GenAI for ASN Cloud Storage Data Transform Python Analytics
Research Interests
RAG Systems · LLM Fine-tuning · Face Recognition · Government AI · NLP Bahasa Indonesia · Bahasa Madura ASR
02 Selected Projects

What I've Built

Flagship · AI Research Project · Thesis
iASN — Intelligent ASN Chatbot
AI Agent for Indonesian Government Employment Regulation

An advanced AI agent evolved from simple RAG into a full orchestrator with native tool calling (Gemini SDK). Answers complex queries about civil service regulations (UU No. 5/2014), retrieves real-time employee data from SIMPEG/SIAGA, and renders interactive data visualizations. Features Parent-Child Retrieval, Hybrid Search with RRF, Semantic Caching, Vision LLM document assessment, and integrated RAGAS evaluation.

Gemini 2.0 Flash Qdrant LlamaIndex FastAPI Next.js 15 RAGAS PostgreSQL Vertex AI
15k
ASN Users
10+
AI Tools
S2
Thesis
Infrastructure · SSO
SIMANTRA

Glassmorphism-styled Single Sign-On portal for all civil service apps. MFA with OTP biometric, dynamic RBAC, Web-OS aesthetic with animated transitions.

Next.js 16React 19TypeScriptTailwind v4
Automation · AI Platform
Tirta

Production task scheduler and secure proxy. Rust control plane, Docker sandboxing, AES-256-GCM secret vault, Gemini AI assistant for script generation and debugging.

Rust/ActixNext.js 15Python 3.13Docker
AI · Data Analytics
DRCS

Tri-Mode AI for civil service data requests: SQL, Code, Hybrid. Gemini-powered narrative insights with PII protection and sandboxed Python execution via Pandas.

FastAPIGemini 3 FlashVertex AIPandas
Attendance · High Performance
SIAGA V4

Full rebuild from PHP/jQuery to modern stack. Decoupled Next.js + Actix-Web, multi-PostgreSQL, TPP calculation automation, glassmorphic premium UI.

Rust/ActixNext.js 15SQLxRBAC/JWT
Performance · HR
SINERGI V2

Daily performance management for ASN. Rebuilt from legacy, integrated with SIMPEG & SIMANTRA ecosystem, real-time validation, GCS document storage.

Rust/ActixNext.js 15PostgreSQLGCS
Computer Vision · Mobile
SICPRO Face System

Face recognition attendance with geofencing (30m radius), ML Kit detection, liveness validation. Migrating VGGFace → ArcFace + FAISS IVF for 15k employees.

FlutterOpenCVDjango DRFFirebase
API · National Integration
SIMPEG Plus API

Core HR management API. BKN SIASN real-time sync, OpenCV biometric liveness, PDF/Excel/Word document generation engine, automated cron data archiving.

Python/DjangoOpenCVGCSBKN SIASN
Mobile · UMKM · Side Project
Dagangin — POS App

Offline-first POS for Indonesian SMEs. Clean architecture, SQLite + Firestore sync, debt management, movement-based inventory. Flutter + Riverpod.

FlutterRiverpodFirebaseSQLite/Drift
03 Technical Skills

What I Know

AI / Machine Learning
RAG Systems
Production
LLM Integration
Advanced
Computer Vision
Advanced
Deep Learning
Intermediate
LLM Fine-tuning
Learning
Backend Engineering
Python / FastAPI
Advanced
Rust / Actix
Advanced
PostgreSQL
Advanced
Go
Intermediate
REST API Design
Advanced
Frontend & Mobile
Next.js / React
Advanced
Flutter / Dart
Advanced
TypeScript
Advanced
Svelte
Intermediate
Tailwind CSS
Advanced
Infrastructure & Cloud
Docker / Compose
Advanced
Google Cloud
Advanced
Qdrant / FAISS
Advanced
Security (MFA/SSO)
Advanced
CI/CD
Intermediate
Python Rust TypeScript Dart / Flutter Go SQL Bash
04 Experience

Where I've Worked

Sep 2020
Present
● Now
AI & Backend Engineer · Civil Servant
BKPSDM Kabupaten Sumenep
  • Designed and deployed 10+ production systems serving 15,000+ civil servants — RAG chatbot, face recognition attendance, SSO portal, automated analytics platform.
  • Built high-performance backends in Rust (Actix-Web) replacing legacy PHP — handling thousands of concurrent requests with sub-100ms latency.
  • Integrated AI layer using Gemini, LlamaIndex, Qdrant — from agentic tool calling to Vision LLM document assessment.
  • Managed Google Cloud infrastructure: Compute Engine, Cloud SQL, Cloud Storage, Cloud Run.
  • Led development of SIMANTRA SSO ecosystem connecting 6 integrated applications with MFA/RBAC/OTP architecture.
Apr 2019
Sep 2020
Civil Servant — IT Infrastructure
Dinas Pekerjaan Umum Bina Marga Sumenep
  • Managed and maintained network infrastructure within the work unit as part of CPNS 2019 intake.
Aug 2017
Apr 2019
Senior Programmer
Dinas Komunikasi dan Informatika Sumenep
  • Developed and delivered various information systems to improve efficiency of civil servants within Sumenep Government.
  • Full-stack development and system architecture for government web applications.
Jan 2016
Aug 2017
IT Support Assistant
Akademi Komunitas Negeri Sumenep
  • Information Technology support and infrastructure maintenance for academic institution.
05 Research

Research Directions

S2 Thesis · In Progress
RAGAS-based Evaluation of RAG Systems for Indonesian Government Employment Regulation

Comprehensive evaluation of RAG chatbot (iASN) for ASN queries on UU No. 5/2014. Custom metrics for low-resource Bahasa Indonesia legal domain. Ablation study across retrieval components.

Target: JOIV · JNTETI · Sinta Q2–Q3
Planned · Spin-off Paper
Fine-tuning LLM with LoRA/QLoRA for Indonesian Civil Service Domain

Comparative study: RAG-only vs RAG + LoRA fine-tuned model for ASN regulation. Synthetic dataset from regulatory documents via self-instruct. Target model: Llama 3 / Qwen2.5.

Target: ICACSIS · SEMNASTEK · arXiv
Work Project · Engineering
ArcFace + FAISS IVF Migration for 15k-Scale Government Face Recognition

Migration from VGGFace + Qdrant to ArcFace with FAISS IVF indexing. MiniFASNet passive liveness + MediaPipe active challenge for anti-spoofing in civil servant attendance system.

Production System · BKPSDM Sumenep
Future Direction · Exploratory
ASR for Bahasa Madura — Low-Resource Speech Recognition

First ASR system for Bahasa Madura, spoken by ~7 million people in East Java. Minimal digital resources. Potential for novel dataset creation and transfer learning from Bahasa Indonesia models.

Sumenep, East Java · Highly Novel Research Direction
06 Contact

Let's Connect

"Open to research collaboration, AI consulting, and building technology that creates real impact in the public sector."

Open to Collaboration
Let's Build Together

Available for AI research collaboration, technical consulting on government AI systems, and academic partnerships. Based in Sumenep, East Java — remote-friendly.

RAG Systems LLM Fine-tuning Government AI Face Recognition Bahasa Indonesia NLP Research Collab Bahasa Madura ASR