Featured Work
Projects demonstrating forward-deployed AI engineering, legacy C++/C# system integration, deterministic LLM guardrails, and cross-org client delivery.
Bounded LLM Orchestrator & Legacy System Integration
MSc Thesis deployed as the Skyrim LLM Bridge: an end-to-end generative pipeline supporting both online cloud and offline local models inside an authoritative legacy C++ runtime.
- Legacy System Integration: Built an asynchronous IPC bridge connecting Skyrim's C++/Papyrus engine to both online and offline LLM endpoints without thread-blocking.
- Deterministic Guardrails: Gated LLM inference behind a JSON state-machine validator and epistemic clue gating to eliminate hallucinations.
- Edge QLoRA Fine-Tuning: Adapted Gemma 2B via 4-bit QLoRA, raising state-machine routing compliance from 19.0% → 53.4% (p < 0.001).
- Empirical Benchmarking: Evaluated across 1,500 automated trials, achieving 0.98s median latency and 36.2 TPS within a 7.1 GB VRAM budget.
Cross-Org Systems Engineering — Awkward Studios (CULTVR & Media Cymru)
Forward-deployed R&D for venue partner CULTVR Lab and sponsor Media Cymru, delivering custom spatial UI and math correction for a 360° dome installation.
- Ambiguous Client R&D: Collaborated across organisations to bridge gaps in open-source 360° dome tooling where no off-the-shelf UI spec existed.
- Applied Math Engineering: Solved 360° spherical distortion in C# by manipulating vertex buffers with custom trigonometry and Quaternions.
- Boundary & State APIs: Engineered a half-sphere clipping system to eliminate visual artifacts and built decoupled state APIs using C# delegates.
Engineering Team Lead — Landell Games (Apoceus)
Production engineering leadership and cross-department delivery on a live-service project shipping to Steam.
- Coordinated a 3–6 person engineering team, translating production priorities into sprint tasks and raising sprint completion from 40% → 90%.
- Profiled CPU and rendering bottlenecks, improving runtime performance by 10–30 FPS on target hardware.
- Led rigorous code reviews and enforced clean branch hygiene across a distributed remote team.
- Owned weekly release pipelines and aligned technical architecture across 5 department leads.
AI Safety Cardiff University (AISCU) — Founding Fellow
Founding member and fellow of the Spring 2026 Fundamentals Fellowship at AI Safety Cardiff University.
- Evaluated specification gaming, deception/scheming, and model evaluation frameworks for frontier AI systems.
- Analysed AI governance, cyber risks, and safety controls at the biosecurity interface.
- Focused research on autonomous AI alignment, behavioral data privacy, and human autonomy.
AI-Driven NPC Interaction Prototype
A real-time, voice-driven AI microservice bridging live microphone audio to autonomous C++ behavior logic.
- Architected a local Python FastAPI server bridging real-time audio input to a C++ runtime via REST API.
- Orchestrated Whisper (STT), Wit.ai (intent), and Hugging Face transformers for real-time emotion detection.
- Curated custom voice datasets to train the emotion classifier and configure domain-specific intent schemas.
- Wired low-latency C++ audio capture to drive autonomous Behavior Tree decision logic in real time.
Publication — ICHORA 2024
Balancing Game Satisfaction and Resource Efficiency: LLM and Pursuit Learning Automata for NPC Dialogues
- Published peer-reviewed research proposing a resource-efficient local LLM pipeline for interactive systems.
- Applied Pursuit Learning Automata to dynamically balance output quality against local compute constraints.
- Demonstrated real-time feasibility of hybrid ML orchestration in hardware-constrained environments.
About
Forward Deployed Engineer / AI Engineer
Forward Deployed Engineer & AI Engineer bridging local LLM/NLP pipelines with complex C++/C# systems and cross-org client R&D. Published researcher (ICHORA 2024), Engineering Team Lead (40% → 90% sprint delivery), and Founding Fellow at AI Safety Cardiff University.
CV
Contact
Available for Forward Deployed Engineer and AI Engineer roles.
- GitHub: github.com/devPirate01
- LinkedIn: linkedin.com/in/m-mahdi-jahangiri
- Hugging Face: huggingface.co/devPirate01
- Nexus Mods: nexusmods.com (Mod #194492)
- Email: mapjiv@live.com