Ali Parchekani

Ali Parchekani in a tweed blazer and glasses, hands in his pockets

Based in
Toronto, Canada

AI/ML Engineer
& Researcher

About me

Ali Parchekani

I am an AI/ML engineer and a PhD candidate in Electrical and Computer Engineering at the University of Toronto.

Right now I am an intern engineer at Huawei Technologies Canada, on the openJiuwen agent platform. I build tools for AI agents. The largest is a system that tests agent workflows, finds their faulty steps and gets them repaired. I also built a desktop-control tool for agent-core, a gaze and voice plugin for the WorkSwarm client, a financial filing screening workflow, an SEC EDGAR connector that works through MCP and a visual editor for openJiuwen workflows, and I fixed defects in the openJiuwen SDK. Most recently I built the host of OpenVoice, an open-source voice assistant that runs on one Mac.

Before the PhD I was a data scientist at HARA AI in Tehran. I built the Persian language understanding service for an automated call center there and took it to production.

My PhD research is on reconfigurable intelligent surfaces for wireless sensing. I work on how to configure a surface so that a scene is easier to estimate, how to keep a radar target visible when other radars interfere, and when surface control can mislead a radar. I have published four IEEE conference papers on this, and a fifth was accepted at IEEE ISAC 2026.

I have also been teaching for several years. I started as a teaching assistant in the second year of my undergrad, and since 2024 I have been a course instructor at the University of Toronto International Summer Academy at New College.

Now
Intern Engineer, AI Agent Research and Engineering (openJiuwen)
Huawei Technologies Canada
PhD
Electrical & Computer Engineering, University of Toronto
Planned defense in Winter 2027
Languages
English, Farsi and French

Selected work

Four projects in more detail. The rest are listed below them.

WorkSwarm Eye and Voice

macOS plugin · Huawei internship · 2026

Look at a window and say what you want. The agent takes that window as its context and does the task.

WorkSwarm is the desktop client of the openJiuwen agent platform. My plugin follows your gaze with the Mac's webcam and outlines the window you are looking at. When you say "WorkSwarm" and your request, the agent receives the request together with a screenshot of exactly that window. Gaze tracking and speech recognition both run on the Mac.

I published it on the openJiuwen Agentic Hub. It has about 880 automated tests, and its companion app is checked with a signature and a checksum before it runs.

The plugin on the Agentic Hub

Gaze tracking / Speech recognition / macOS / WorkSwarm plugin

The demo at normal speed, 1 minute 21 seconds. I look at a note in TextEdit, the plugin outlines it, and I ask WorkSwarm about it by voice. The note is a sample.

Workflow testing and repair

openJiuwen · Huawei internship · 2026

A system that tests LLM agent workflows, finds where they go wrong, and gets the faulty code steps repaired. It is about 30,000 lines of Python with more than 700 automated tests.

Testing
It checks a workflow against its plain-language specification without an answer key. Reference workflows built independently from the specification have to agree with each other, and when its checks cannot decide, it asks the workflow owner.
Repair
Each confirmed failure becomes a repair task for openJiuwen's program optimizer. A fix is accepted only after the original and the repaired workflows are run again on every input the tester used. I packaged the loop as a WorkSwarm plugin and ran it end to end inside WorkSwarm.

Python / openJiuwen / WorkSwarm plugin / Evaluation

Correct outputs on held-out workflows8,883 test inputs
  • Before repair84%
  • After repair96%

2.2×

On 100 incorrect programs from the public TestCase-Eval benchmark, the tester exposed 2.2 times as many faults as the model working alone. It stayed ahead of the same model given a matching compute budget.

Desktop control for agents

agent-core · WorkSwarm · Huawei internship · 2026

Two tools for agents that operate a computer. One limits what the agent can touch on your Mac. The other gives the agent a desktop of its own.

On your Mac
A tool for agent-core that lets an agent operate only the macOS windows you have shared, with focus guards, cancellation and bounded batches of actions. I opened it upstream as a pull request with more than 1,200 passing tests and about 88% statement coverage.
Its own desktop
I am now building a Linux desktop that runs in a container. The agent reaches it through an MCP bridge that checks a token on every call, so it works there and not on your machine. In every end-to-end run with a real model, the agent built the requested chart in its own desktop, left the original files unchanged and removed the desktop afterwards. The build passes its compatibility checks on both arm64 and x86_64.

Python / macOS / MCP / Docker / Regression testing

An agent with a desktop of its own The agent reaches a containerized Linux desktop only through an MCP bridge that checks a token on every call, and it has no direct path to the user's own desktop. CONTAINER YOUR MACHINE TOOL CALL ALLOWED NO DIRECT PATH AgentWorkSwarm MCP bridgetoken checked per call Linux desktopapps, screens, files Your desktopwindows, files
The agent works in a container of its own. The dashed path is the one it does not have: it cannot reach your desktop directly.

Persian NLP for a call center

HARA AI · In production · 2020–2021

The language understanding service of a Persian automated call center. It reads the transcript of what the caller said, finds the intent, and routes the call.

Data
I built a corpus of more than 10 million Persian sentences from web crawls, news archives and user text, and wrote the cleaning and normalization pipeline for it.
Models
I trained BERT, ALBERT and DistilBERT variants in PyTorch and compared them with confusion matrices and per-class error analysis.
Production
The models ran behind a FastAPI service between speech-to-text and the dialogue manager. I owned this part from the corpus to the deployment handoff.

PyTorch / Transformers / FastAPI / NLP

Language understanding in a call center Offline, a corpus of more than 10 million Persian sentences is used to fine-tune the intent models. In a call, speech-to-text passes the caller's words to the language understanding service, which normalizes the text, classifies the intent and routes the call by confidence to the dialogue system. TRAINING, OFFLINE LANGUAGE UNDERSTANDING SERVICE WEIGHTS INTENT Corpus10M+ sentences Fine-tuningPyTorch Speech-to-textcaller audio in NormalizeUnicode, tokens Intent modelBERT, ALBERT Routeby confidence Dialogue systemnext step of call MODELCALL PATHOFFLINE
Intent classification reached more than 85% accuracy on in-domain data. The full system reached more than 70% end-to-end accuracy in production.

More from the internship

Huawei Technologies Canada · 2026

  • OpenVoice host

    OpenVoice is an open-source voice assistant that runs speech recognition and a language model on one Mac, so no audio leaves the device. It is a team project, and the host is my part. It serves dictation, translation, spoken answers and hands-free listening over HTTP and WebSocket, and it asks you before any tool takes an action. A dictated sentence comes back as clean text in about 0.3 seconds. I also added live speaker labels with a streaming diarization model. On a 36-minute, four-person meeting from the public AMI corpus, the labelling error fell from 46% to 18% against the per-sentence method it replaced. I opened the host upstream as a pull request with 145 automated tests.

  • Financial filing screening

    A workflow that reads a company filing, retrieves the relevant passages with BM25, and extracts the figures with an LLM that has to cite its source. The financial checks are then computed in plain Python and give a pass, review or reject decision. On real 10-K filings, every screening that completed matched the companies' own XBRL figures, and fixing the defects that real filings exposed raised retrieval recall from 77% to 100%. I packaged it as a WorkSwarm plugin for SEC filings and opened it upstream as a pull request.

  • SEC EDGAR connector

    A connector in standard-library Python that gives agents read-only access to company filings and XBRL financial facts through MCP, with one rate limiter shared by all tools. At the time, none of the 492 assets on the platform's hub fetched data from EDGAR.

  • Visual workflow editor

    An editor for building openJiuwen workflows visually, on a FastAPI backend. It generates Python code from the graph, draws it with the SDK, and checks its structure with lint rules that I matched against the SDK's actual behaviour.

  • openJiuwen SDK fixes

    I root-caused defects in the open-source openJiuwen SDK, such as workflow construction that failed without an event loop and node configuration that could not be reloaded after a save-and-load round trip. I opened issues and pull requests upstream, each fix with regression tests that fail before the change and pass after it. The round-trip fix has been merged into the SDK's development branch.

  • Verification benchmark

    I designed a controlled benchmark that compares verification strategies for an invoice-processing agent. Direct verification got every case right, and so did a more complex recovery-based method that cost about 67% more to run, so I stopped scaling the complex one.

Personal projects

2022–2026
GitHub

  • Team Room

    A local app where I lead a small team of coding agents from one room. Each agent (Claude Code, Codex and others) is a real thread in T3 Code, connected through its MCP interface. In an automatic round every agent writes a proposal without seeing the others. Then they critique each other and respond, and the room stops and waits for my decision.

  • Local LaTeX Workbench

    A workspace for revising a LaTeX paper with the source, the PDF and a coding agent side by side. I can select text in the PDF and jump to the source, and the other way around. Every edit the agent proposes is shown before it is applied and can be undone. It uses the Codex, Claude Code or Cursor CLI that is already signed in on the machine.

  • Credit Card Analyzer

    A tool that reads card statements, classifies the transactions with rules and a local Ollama model, and ranks Canadian credit cards by yearly rewards minus the annual fee. It also finds the best pair of cards. Nothing leaves the machine, and there is a version that runs in the browser.

  • LangGraph Sidekick

    An assistant for browser and file tasks, built as a LangGraph graph with four nodes and 19 tools. An evaluator checks each result against success criteria and sends the task back if it failed. File writes, code execution and notifications need my approval. In my test suite it completed every live task and recovered from every failure.

  • MCP trading floor

    Four trading agents on the OpenAI Agents SDK, each with its own researcher agent. They work only through MCP: I wrote three MCP servers with FastMCP and connected three existing ones. The agents run on five different models, and the accounts are simulated.

  • Career Digital Twin

    A chat assistant that answers questions about my background from my own profile files. It runs on AWS Lambda behind API Gateway and CloudFront, with 26 resources defined in Terraform. The system prompt passed all 25 of my hardening checks.

  • Deep research pipeline

    Four agents (planner, search, writer and email) that turn a question into a written report. The planner starts five searches at the same time, and the writer returns a typed report with follow-up questions.

  • CrewAI software builder

    A CrewAI team with four roles (lead, backend, frontend and test) that turns a written spec into a design, a backend module, an interface and unit tests. The code runs in Docker. 122 of the 125 unit tests it generated passed.

  • Reproducible ML pipeline

    A seven-stage pipeline for rental price prediction with Hydra configs, drift checks, W&B artifacts and MLflow. I ran 17 logged sweeps on about 19,000 listings. The goal was a reproducible pipeline, not the score.

Research

My PhD is on reconfigurable intelligent surfaces (RIS) for wireless sensing. A RIS is a panel of small elements, and the reflection of each element can be set electronically. I work on three problems.

Open the research page
Sensing a scene with a programmable surface A transmitter illuminates a surface of elements. The surface reflects the signal into a target space divided into cells, some holding objects, and a receiver collects one measurement for each surface configuration.

Configuring the surface to sense a scene

A surface with 16 elements and 4 states per element has 416 possible configurations, and only a few can be used in one sensing task. I search for the ones that make the scene easiest to estimate, with a Swendsen-Wang evolutionary method that needs no training.

In a synthetic study, 97.24% of 8,000 held-out cells were labelled correctly as empty, cube or sphere.

Read more
Keeping a radar target while suppressing interfering radars Seen from above, a radar vehicle carries a surface of tunable elements. The return from the target straight ahead is kept, while signals from two interfering radars at other angles are suppressed. Neighbouring surface elements influence each other.

Keeping the target when other radars interfere

Another car's radar on the same channel can hide a weak target. I choose one setting of the surface loads that keeps the target and suppresses the interference, and I take into account that neighbouring elements of a real surface affect each other.

In simulation, the worst-case SINR is 13.33 dB higher than a design that ignores this coupling, at the reference operating point.

Read more
A radar reporting a target at the wrong bearing Seen from above, a radar scans a sector of the road. A vehicle carrying a programmable surface sits at one bearing. The radar reports a target at a different bearing and velocity, on the same range ring as the real vehicle.

When a surface can mislead a radar

The same control can be used against a radar. I study a vehicle that carries a surface and makes a radar report a target at a wrong bearing and velocity, and how the result depends on the type of receiver.

The conference paper on this was accepted at IEEE ISAC 2026.

Read more

Four peer-reviewed IEEE conference papers (VTC, ICC Workshops, PIMRC), one more accepted at IEEE ISAC 2026, and two journal manuscripts under review.

Experience

  1. Aug 2026 — PresentMarkham, Canada

    Huawei Technologies Canada

    Intern Engineer · AI Agent Research and Engineering (openJiuwen)

    • I built a system that tests LLM agent workflows and gets their faulty code steps repaired, about 30,000 lines of Python with more than 700 automated tests.
    • On 100 incorrect programs from the public TestCase-Eval benchmark, it exposed 2.2 times as many faults as the model alone. On held-out workflows, the accepted repairs raised correct outputs from 84% to 96%.
    • I built a desktop-control tool for agent-core, opened upstream with more than 1,200 passing tests, and a gaze and voice plugin that is published on the openJiuwen Agentic Hub.
    • I wrote an SEC EDGAR connector that works through MCP, and fixed defects in the openJiuwen SDK with regression tests. One fix is merged into the SDK's development branch.
    • I built the host of OpenVoice, an open-source voice assistant that runs on one Mac, and opened it upstream as a pull request with 145 automated tests.
    Contract assignment via Adecco.
  2. Jan 2021 — PresentToronto, Canada

    University of Toronto

    Research Assistant · Applied ML & Wireless Sensing

    • I developed an optimizer for discrete RIS configurations and a load design for automotive OFDM radar that accounts for coupling between elements.
    • I built the simulation pipelines in Python and MATLAB, from the circuit model of the surface to range-Doppler processing and detection.
    • I wrote reports and gave technical presentations to Huawei, the industry partner of our lab.
    • I have published four IEEE conference papers. The complete draft of my thesis is with my supervisor.
  3. Jan 2020 — Jan 2021Tehran, Iran

    HARA AI

    Data Scientist

    • I built the language understanding service of a Persian automated call center: text normalization, intent classification with transformers, confidence scoring and routing.
    • I built a corpus of more than 10 million Persian sentences and trained BERT, ALBERT and DistilBERT variants in PyTorch.
    • I deployed the models behind FastAPI. The system reached more than 70% end-to-end accuracy in production.
  4. Sep 2018 — Jan 2021Tehran, Iran

    University of Tehran

    Research Assistant · Network Traffic Analysis

    • I built pipelines for VPN detection and traffic classification from more than 500,000 packet records with PySpark, pandas and NumPy.
    • I trained CNN, RNN and MLP classifiers that reached more than 85% accuracy in the study, and used inverse reinforcement learning to model user behaviour.

Teaching

I have been a course instructor at the University of Toronto International Summer Academy at New College since 2024. The courses are three weeks long, 15 sessions of three hours, for pre-university students who are mostly 15 to 18 years old. I created the course content, delivered the lectures, led the class discussions and guided the group projects.

  • Game Studies and AI

    Instructor · 2026

    We play a game first and formalize it after. The first week covers winning positions, the prisoner's dilemma, auctions and fairness, all through games we play in class. In the second week the students trace simple game AI by hand: state machines, counting the moves of an opponent, and adaptive difficulty. Then teams of three or four build a browser game in GDevelop that must include one AI behaviour. They present it and write a report.

    I wrote the 15 slide decks and the project guide. I also built a web app for the class. Students join from their phones with a QR code and play about 30 live games, and I follow the results on a dashboard.

  • Critical Thinking in Statistics

    Instructor · 2024, two sections

    13 lectures, from sampling bias and data displays to regression, confidence intervals and hypothesis tests. The last lectures are on misleading graphs and a short introduction to machine learning.

    Each group designed and ran its own statistical study: a survey, a proposal talk, data collection and cleaning, a regression, a hypothesis test, a final talk and a short report.

  • World Economics

    Instructor · 2026

    15 sessions. I prepared a pack for each session and a class app for running markets and auctions with the students.

  • Applied Mathematics in Statistics

    Instructor · 2026

    I rebuilt the statistics course for 2026. Colab notebooks replaced the spreadsheets, and I added live class games such as a Monty Hall simulation and a reaction time lab.

  • Teaching Assistant

    University of Toronto · Fall 2021 to Fall 2026

    I have been a TA in more than 30 courses in machine learning, AI, data science, statistics, programming, mathematics, signals and physics. The work included tutorials, labs and office hours. Two of the courses were game theory, at the undergraduate level (MAT406) and at the graduate level (ECE1657).

Education

  • PhD, Electrical & Computer Engineering

    University of Toronto · 2021 — present

    PhD candidate since Summer 2023. Thesis: Sensing and Scanning Using Reconfigurable Intelligent Surfaces. Doctoral Completion Award, Winter 2026.

  • MSc, Electrical & Computer Engineering

    University of Tehran · 2018 — 2020

    GPA 19.57 out of 20, ranked first in the department. Thesis on traffic classification with neural networks and user behaviour prediction with inverse reinforcement learning.

  • BSc, Electrical Engineering

    University of Tehran · 2014 — 2018

    GPA 18.78 out of 20, ranked third in the department.

Skills

Agents
LangGraph, OpenAI Agents SDK, CrewAI, MCP, FastMCP, tool calling, structured outputs
Machine learning
PyTorch, scikit-learn, TensorFlow, Transformers, pandas, NumPy, SciPy, PySpark
Engineering
FastAPI, WebSockets, vLLM, Docker, AWS, Terraform, MLflow, Weights & Biases, Hydra
Signal processing
OFDM radar, direction-of-arrival estimation, range-Doppler analysis, RIS optimization
Languages
Python, C++, TypeScript, JavaScript, MATLAB, SQL, LaTeX