Assistant Professor (Tenure-Track) · University of the Fraser Valley

Majid BabaeiPH.D.

I pursue accountability by contract for AI agents

I am a tenure-track Assistant Professor in the School of Computing at the University of the Fraser Valley. My research combines software engineering and model-driven engineering (MDE) to make AI agents accountable for their decisions and transparent about their collaborations. I approach this by applying Foundational Contracts1 that allow us to capture human goals, assumptions, and constraints, and connect them to evidence of agent behavior so people can check whether those expectations are met. I hold a Ph.D. in Software Engineering from Queen's University, and my work has received an ACM SIGSOFT Distinguished Paper Award. I advocate for open research software and bring experience from both academia and industry.

1 Here, I use “foundational contracts” to mean a contract between the stochastic nature of AI responses and deterministic human expectations. Related work: [anonymous for review] (under review); identifying details are withheld. ↩

School of Computing, UFV Associate Member, ECE, McGill Lead, [anonymous for review]
Portrait of Majid Babaei
ACM SIGSOFT Distinguished PaperMODELS 2021
15Published & accepted
14In review & ongoing
14Open research artifacts
9UFV course sections
§ 01 — Research agenda

Closing the loop between humans and agentic AI

Agentic AI systems plan, delegate, and collaborate, yet they rarely see the higher-level concerns people care about, and people rarely see how agent teams reach their objectives. My research builds abstractions in both directions. Building this loop efficiently and effectively is, I believe, what is missing.

agenda.statechart2 states · 2 transitions · 1 loop
① MDE abstractions for agents concerns [modeled] / specify · verify ② Abstractions of collaboration for people behavior [abstracted] / trace · explain Human intent · concerns · oversight Agentic AI agents · teams · tools the missing loop EFFICIENT · EFFECTIVE
Two states, Human and Agentic AI. MDE abstractions carry human concerns to agents; abstractions of agent collaboration carry behavior back to people. Building this loop efficiently and effectively is the missing piece.
01 · Human → AIabstractions for agents

Connecting agents to higher-level concerns

Safety, correctness, intent, and organizational constraints usually reach an agent as informal prose. I use model-driven engineering (models, contracts, and model transformations) so that agentic systems can be specified against these concerns and checked for them.

[anonymous for review]TINTSafe CoordinationAutoM2M
02 · AI → Humanabstractions for people

Showing people how agents collaborate

Transcripts, tool logs, and traces are abundant but unreadable at scale. I build abstractions (slices, typed hand-offs, provenance, and knowledge graphs) that explain how agent teams collaborate, where they break, and why an objective was or was not achieved.

03 · The loopwhat is missing

Effective and efficient, together

Specifications without visibility cannot tell us whether they were honored; visibility without specifications gives us nothing to check against. The loop must be effective, with abstractions at the level people reason about yet precise enough to check. It must also be efficient enough to repeat whenever a team, prompt, or model changes.

Read the full agenda

Foundations · how the agenda grewMDE → SE × AI → AI × MDE

01 · Model behavior

Behavioral models to isolate interactions, replay executions, and regression-test distributed real-time systems.

02 · Software evidence

Knowledge graphs, semantic analysis, and LLMs that turn traces, changes, and repositories into decisions developers can check.

03 · Agentic systems

Formalization and model checking for safe coordination, composition defects, and guardrail guarantees in agent teams.

Explicit assumptionsTraceable evidenceCheckable guarantees

Research software & artifacts

Projects & memories
Release history for every project (papers, posters, code) and a gallery of the moments behind them.
§ 02 — Publications

Papers & manuscripts

Refereed journal articles and conference papers, with abstracts, artifacts, and BibTeX. Submitted and in-progress work is listed separately and is not counted as published.

ACM SIGSOFT Distinguished Paper Award

Efficient replay-based regression testing for distributed reactive systems in the context of model-driven development (with J. Dingel). MODELS 2020 also earned Artifacts Available & Evaluated–Reusable badges.

MODELS 2021

Statuses mirror the curriculum vitae. Abstract summaries are paraphrases; follow the source link for the original.

§ 03 — Teaching

Teaching & educational leadership

Software engineering and programming at UFV, building on courses and program coordination at McGill, Concordia, Queen's, and St. Lawrence College.

9UFV sections
237Course enrolments
5Institutions

University of the Fraser Valley2025 – present

UFV courses by term
TermCourseTitleStudents
Fall 2026NOWCOMP 370Software Engineering · 2 sections25 + 27
CIS 285End User Training and Support23
COMP 481Functional and Logic Programming28
COMP 155Object-oriented Programming26
Winter 2026COMP 370Software Engineering · 2 sections25 + 25
Fall 2025COMP 370Software Engineering26
COMP 481Functional and Logic Programming32

Enrolments count course seats across completed and current terms, not unique students.

Earlier teaching & coordination

  • McGill · Electrical & Computer Engineering

    ECSE 437, Software Delivery — Fall 2022 and Fall 2023; software-project instruction with structured peer feedback. Course site ↗

  • McGill · School of Continuing Studies

    CCCS 300 Programming Techniques 1 (W24, W25) · CCCS 301 Programming Techniques 2 (F23, W24, W25) · CCCS 330 Database Design (S23) · CCCS 610 Digital Thinking for Data Analysis (F24).

  • Program coordination · McGill SCS

    Academic Program Coordinator for the Certificate in Computers and Information Technology and the Micro-credential in Digital Product Management and Emerging Technologies; curriculum review and program redesign.

  • Concordia University

    COMP 218, Fundamentals of Programming (Fall 2021, Winter 2023).

  • Queen's University & St. Lawrence College

    ELEC 377, Operating Systems (Fall 2021), plus course-lecturer and TA experience during the Ph.D.; applied AI and machine-learning teaching at St. Lawrence College (2020–2022).

§ 04 — Students

Supervision & advising

Currently co-supervising, with Abbas Heydarnoori, two graduate students and one undergraduate on AI-powered fault localization and context engineering. With Fatemeh Hendijani Fard, I co-supervise graduate and undergraduate students on collaborative projects, including CodeFaithBench, a benchmark on the faithfulness of LLM code explanations.

Completed master's theses · co-advisedBrock University, with Prof. Naser Ezzati-Jivan

Ghazal Khodabandeh
M.Sc. · Jan 2024 – Sep 2025

Ghazal Khodabandeh

Link Prediction on Distributed Systems. Publication: ICPE 2025.

Now Research Assistant, York University

Alireza Ezaz
M.Sc. · Jan 2024 – Sep 2025

Alireza Ezaz

TAAF: A Trace Abstraction and Analysis Framework Synergizing Knowledge Graphs and LLMs. Publication: ICSE 2026.

Now Data Quality Specialist, Cohere

Undergraduate & project advising

Brock · Jan 2024 – Apr 2025

Bilal Bilal · Yuvraj Sehgal

Semantic code coverage using topic models and LLMs; LLM-generated README files from source code.

McGill · Jan – Apr 2024

Felicia Sun · Zachary Hayden

A review of AI-enabled continuous testing in DevOps; LLMs and technical debt in DevOps.

Felicia SunZachary Hayden
McGill · Sep – Dec 2023

Benakmoum Amine · Ammar Ryad · Zakaria Bouhemhem

DAPPER, a subscription application (ECSE 458 capstone).

Zakaria Bouhemhem
McGill · Sep – Dec 2022

Michael Buchar · Ege Karadibak · Ezra Gomolin · Dominic Chan

A decentralized NFT-locking application (ECSE 458 capstone).

Michael BucharDominic Chan

Interested in working with me?

If you are a bachelor's, master's, or capstone student interested in model-driven engineering, software testing, or trustworthy AI systems, I'd like to hear from you. In your email, please include:

  1. your degree program and year;
  2. the project you have in mind (or the topics above that interest you);
  3. how much time you can dedicate each week;
  4. any deadline you need to meet.

Write to majid.babaei@ufv.ca.

§ 05 — Service

Community & partnerships

Conference organizing and program committees for the software engineering community, institutional committees, and industry partnerships that connect UFV students with practice.

Conference organization

Institutional & professional committees

  • 2025–2026Chair of Industry PartnershipsSchool of Computing, UFV · ended Sep 2026
  • 2023–26SCS Strategic Planning CommitteeMcGill University
  • 2023–25Academic Integrity Guide Working GroupRevisions to the guide to reporting alleged violations, McGill SCS
  • 2023–25Professional Development CommitteeCanadian Association for University Continuing Education
  • 2024Program Evaluation CommitteeChair; Honours Bachelor of Computer Science, Sheridan College

Program committees

Industry partnerships & knowledge mobilization

As Chair of Industry Partnerships (Fall 2025–September 2026), I built relationships that support experiential learning, curriculum relevance, applied research, and professional pathways for UFV computing students.

  • Tech Panel 2026 (Mar 12, 2026) — panel and networking with Zynim, PixelPaddle, Kwixand, and ADAMnetworks, organized with the Computing Student Association.
  • Industry events, Fall 2025 — a cloud-computing talk by Invero's CEO (a UFV alumnus) and a technical-interview event with Crafty Penguins and UFV career-education partners.
  • Curriculum integration — guest practitioners from Intuit Mailchimp and Caseway brought real requirements into COMP 370.
  • External Program Advisory Committee — chaired the Nov 27, 2025 meeting on Terms of Reference, systematic industry feedback, alumni engagement, and research–industry bridges.
  • Earlier research connections — Aggregate Intelligence (explainable information retrieval, 2022) and Humanitas (robustness analysis, 2022–2023); organizer of the McGill SCS Tech Trends Speaker Series, Winter 2025.

Invited talks

OXAI'24 · co-located with CASCON

Enhanced LLMs with KGs: Towards explainable performance analysis in microservices

University of Regina

Software testing in distributed systems

MacEwan University

From red to blue: How to apply test-driven development techniques

University of the Fraser Valley

Recursive thinking with Fibonacci!

§ 06 — Background

Appointments, education & industry

Before academia I spent a decade building software in industry — PKI and networking in Tehran, IoT analytics at Bosch in Germany, and DevOps in Canada. That experience still shapes what I teach and the problems I choose.

Academic appointments

  1. Aug 2025 – present

    Assistant Professor (Tenure-Track)

    University of the Fraser Valley · School of Computing

    Chair of Industry Partnerships (Fall 2025–Sep 2026).

  2. Nov 2024 – present

    Associate Member

    McGill University · Electrical and Computer Engineering

    Adjunct professorship under review.

  3. Jan 2024 – Jul 2025

    Assistant Professor (Professional)

    McGill University · School of Continuing Studies

    Academic Program Coordinator, Certificate in Computers and Information Technology.

  4. Jan 2023 – Jan 2024

    Faculty Lecturer

    McGill University · School of Continuing Studies

    Academic Program Coordinator, Micro-credential in Digital Product Management and Emerging Technologies.

  5. 2022 – 2023

    Postdoctoral Research Fellow

    Concordia University · Computer Science and Software Engineering

    Software robustness analysis, with Prof. Yann-Gaël Guéhéneuc.

  6. 2022 – 2023

    Visiting Researcher

    McGill University · Electrical and Computer Engineering

    Knowledge-graph explainability for information retrieval, hosted by Prof. Dániel Varró; industry project with Aggregate Intelligence.

Education

  1. 2018 – Dec 2021

    Ph.D. in Software Engineering

    Queen's University, Kingston, Ontario

    Regression Testing of Distributed Real-Time Embedded Systems in the Context of Model-Driven Development. Supervisor: Prof. Juergen Dingel.

  2. 2015 – Nov 2017

    M.Sc. in Automotive Software Engineering

    Technische Universität Chemnitz, Germany

    Pattern recognition for Big Data from distributed embedded AMRA boxes. Supervisor: Prof. Martin Gaedke.

  3. 2007 – May 2012

    B.Eng. in Computer Engineering

    Shahrood University of Technology, Iran

Industry experience

  1. Nov 2021 – Mar 2023

    Senior Software Developer & DevOps Engineer

    Imaginary Spaces, Canada

    Row64 development and debugging; CI/CD workflows for Pipeline-In-Box readers and writers.

  2. May – Sep 2021

    Software Developer (Internship)

    National Research Council Canada, Ottawa

    Representation learning for cybersecurity logs; advanced persistent threat detection.

  3. Jan – Dec 2017

    Software Developer

    Robert Bosch GmbH, Germany

    Bosch IoT/AMRA datasets; React and React Native monitoring apps; log analysis for real-time embedded devices.

  4. Apr 2015 – Dec 2016

    Software Developer

    EPAK GmbH, Leipzig, Germany

    VSAT/TV antenna networking platform, simulation, and web interfaces.

  5. May 2012 – Apr 2015

    Software Developer

    Farazpajohan, Tehran, Iran

    PKI-based digital certificates; Linux networking APIs; modular TCP/SSL servers.

§ 07 — Contact

Let's build software
you can check.

majid.babaei@ufv.ca

Office

School of Computing
University of the Fraser Valley
Abbotsford campus, Building C, Room ABC-2454

Elsewhere

[anonymous for review] GitHub ↗ LinkedIn ↗ Notes & blog ↗

More

Request my CV ↓ Interview, McGill SCS (2023) ↗

Languages: English and Persian