# MD Kamrul Hassan

> Senior Software Engineer at Optimizely. 5+ years of experience. Based in Dhaka, Bangladesh.

I maintain backend services and agentic architecture for Mark, Optimizely's AI agent platform — agent and workflow orchestration, tool calling, and agent memory and retrieval — along with the underlying platform infrastructure and zero-downtime data model migrations. Outside work I build developer tools: terminal CLIs, Neovim plugins, AI coding agent orchestration. I write about what I learned the hard way, some of it in Bengali.

Email: [kamrul1157024@gmail.com](mailto:kamrul1157024@gmail.com) · [GitHub](https://github.com/kamrul1157024) · [LinkedIn](https://www.linkedin.com/in/kamrul1157024/)

## Experience

### Senior Software Engineer — Optimizely

Apr 2026 – Present

- Maintain backend services and agentic architecture for Mark, the Optimizely AI agent platform, covering agent and workflow orchestration, tool calling, and agent memory and retrieval.
- Maintain platform infrastructure and delivery: Terraform-managed Cloud Run and Cloud SQL, Ansible playbooks, multi-arch Docker images, sharded GitHub Actions CI, and an API gateway with signed service-to-service auth, correlation-ID logging and request redaction.
- Shipped agentic workflow capabilities and remote sandboxed code execution infrastructure, including multi-agent routing, tool registry integration, fused semantic and keyword recall, and prompt guardrails.
- Architected phased zero-downtime data model migrations (double-write, backfill, cutover) and partitioned a shared event bus into dedicated brokers to isolate failure domains.
- Mentor engineers through design reviews and pairing, lead technical direction on cross-team initiatives, and drive alignment between product and platform teams.

### Software Engineer II — Optimizely

Jan 2023 – Apr 2026

- Added boolean query support to the global search system across MySQL and Elasticsearch, and improved search ranking and indexing pipelines for relevance and index freshness.
- Led migrations and refactors across services, including Kue to AWS SQS, JavaScript to TypeScript, and AngularJS 1.x to React.

### Software Engineer — Optimizely

Dec 2021 – Dec 2022

Joined via the Welcome acquisition.

- Built a live website proofing system for browsing and annotating live sites collaboratively.
- Delivered branded login pages so each organization could authenticate on its own subdomain.
- Implemented rate limiting as a rapid response to an active DDoS attack, restoring availability.
- Authored technical specs and onboarding docs, and mentored interns and new engineers.

### Software Engineer — Welcome

Oct 2021 – Nov 2021

Software Engineer Intern, Apr 2021 – Sep 2021.

- Developed microservice features in JavaScript and Node.js for the content marketing platform, and wrote API contract tests to catch breaking changes between services.

## Technical Skills

- **Languages:** Python, TypeScript, JavaScript, Go, Java, C++, SQL
- **AI & Agents:** LLM application development, agentic workflows, multi-agent orchestration, tool calling, MCP, RAG, prompt engineering, evals
- **Backend & Frontend:** Node.js, Express.js, FastAPI, Spring Boot, Flask, Django, React, AngularJS, Microservices, REST APIs
- **Data & Messaging:** MySQL, MongoDB, Elasticsearch, Event-driven architecture, Message brokers
- **DevOps & Cloud:** AWS (EC2, VPC, SQS, Kinesis), GCP (Cloud Run, Cloud SQL, Spanner), Docker, Kubernetes, Terraform, Ansible, GitHub Actions, Jenkins, CI/CD, Infrastructure as Code, API gateways, Nginx, Observability

## Projects

- **[Helios](https://github.com/kamrul1157024/helios):** A head for headless coding harnesses.
- **C*Opal:** CLI coding agent that indexes existing codebases, self-corrects generated code, and supports MCP servers.
- **[terminal-ai](https://github.com/kamrul1157024/terminal-ai):** Published npm CLI bringing LLM assistance to the terminal (OpenAI GPT-4o, local Llama 3.2 via Ollama).
- **[Bangla OCR](https://colab.research.google.com/drive/1sGOqpF5XOfQ9-6xuigj21zmv6tLJ2a2j):** Modified VGG-16 CNN trained on the Ekush dataset for Bangla OCR. Python, TensorFlow.
- **[Social Media App](https://github.com/kamrul1157024/Social-Media-App):** Full stack platform with rich-text posts, comments, booklets and follows, plus an NLP political-content classifier. Spring Boot, Django, TensorFlow, React, Docker.

[All projects](https://md-kamrul-hassan.com/projects/)

## Education

B.Sc. in Mechanical Engineering — Bangladesh University of Engineering and Technology (BUET), 2016–2021. CGPA 3.03/4.00.

## Writing

- [React Hooks In layman's terms](https://md-kamrul-hassan.com/posts/react-hooks-in-laymans-terms.md): Even though React Hooks are simple I have found myself(in my early days) and codes where people use hooks in the wrong way due to the open nature of hooks
- [SSH Simplified](https://md-kamrul-hassan.com/posts/ssh-simplified.md): ssh is simple, still people seems have no or wrong understanding of it
- [Composited Pattern - Design Pattern shorthands](https://md-kamrul-hassan.com/posts/composite-pattern-design-pattern-shorthands.md): কম্পোজিট প্যাটার্ন তখন কাজে আসবে যদি আমারাদের ক্লাস গুলা কে ট্রি এর মাধ্যমে ডিফাইন করা যায়।
- [Decorator Pattern - Design Pattern shorthands](https://md-kamrul-hassan.com/posts/decorator-pattern-design-pattern-shorthands.md): Decorator pattern এর কাজ হল বিহেভিওয়ার দেয়া সেটা হতে পারে ক্লাসের অবজেক্ট বা একটা ফাংশন।
- [Template Method Pattern - Design Pattern shorthands](https://md-kamrul-hassan.com/posts/template-method-pattern-design-pattern-shorthands.md): কোন এলগোরিদমে কমন কিছু স্টেপ থাকলে সেটাকে সাবস্টেপে ভেঙে এবস্ট্রাক্ট ক্লাসে রাখা হয়, এটাই টেমপ্লেট মেথড প্যাটার্ন।
- [Bridge Pattern - Design Pattern shorthands](https://md-kamrul-hassan.com/posts/bridge-pattern-design-pattern-shorthands.md): ব্রিজ ডিজাইন প্যাটার্ন ব্যবহার করা হয় যখন আমাদের ২টা ডিফারেন্ট ইন্টারফেস এর যেকোনো কম্বিনেশন লাগে, এতে ক্লাস এক্সপ্লোশন এড়ানো যায়।
- [Command Pattern - Design Pattern shorthands](https://md-kamrul-hassan.com/posts/command-pattern-design-pattern-shorthands.md): কমান্ড প্যাটার্নের কাজ হল কমান্ড করা ও কমান্ড undo করা, Invoker এ একটা Stack মেইনটেইন করে রিভার্স অর্ডারে আনডু করা হয়।
- [Abstract Factory Pattern - Design Pattern shorthands](https://md-kamrul-hassan.com/posts/abstract-factory-pattern-design-pattern-shorthands.md): Factory আর Abstract Factory এর মধ্যে প্রধান পার্থক্য হল ফ্যাক্টরি মেথড যাস্ট একটা প্রোডাক্ট রিটার্ন করে আর এবস্ট্রাক্ট ফ্যাক্টরি একটা গ্রুপ অফ প্রোডাক্ট রিটার্ন করে।
- [Proxy Pattern - Design Pattern shorthands](https://md-kamrul-hassan.com/posts/proxy-pattern-design-pattern-shorthands.md): অবজেক্ট ক্রিয়েশন এর সময় হেভি কম্পিউটেশন বা I/O করলে ক্লাসকে লেজি করার জন্য প্রক্সি প্যাটার্ন ব্যবহার করা হয়, ক্লাস মডিফাই না করেই।
- [Facade Pattern - Design Pattern shorthands](https://md-kamrul-hassan.com/posts/facade-pattern-design-pattern-shorthands.md): হাইলি Decoupled সিস্টেমের অবজেক্ট গুলার মধ্যে কমপ্লেক্স wiring থাকতে পারে, ক্লায়েন্ট কে সেই কমপ্লেক্সিটি থেকে বাঁচানোর জন্য হায়ার লেভেল ইন্টারফেস বানানো হয় যেটা ফাসাড।
- [Adapter Pattern - Design Pattern shorthands](https://md-kamrul-hassan.com/posts/adapter-pattern-design-pattern-shorthands.md): Adapter আর Decorator ডিজাইন প্যাটার্ন এর মধ্যে পার্থক্য হল, ডেকোরেটোর বিহেভিয়ার পরিবর্তন করে কিন্ত Adapter পুরাতন ইমপ্লিমেন্টেড লজিকেই ব্যবহার করে।

## Site

- [Human-readable résumé](https://md-kamrul-hassan.com/)
- [Printable résumé](https://md-kamrul-hassan.com/resume/)
- [Writing index](https://md-kamrul-hassan.com/posts/)

The optional Ask panel is a local intent classifier that routes questions to public résumé sections. It is not a generative chatbot. It does not provide private company information or personal details beyond those published here.
