The sketch
Applied AI & Product Engineer · Ph.D. in Software Engineering
I build AI that fits its constraints, then I measure it.
I build AI products and developer tools, from the interface to the systems underneath. My Ph.D. studied how to measure the energy software uses. The habit stayed: keep the system small, then check the claim.
The small figure at the bottom of the screen is this visit’s estimated carbon cost so far.
The blueprint
I start with the question.
A photo. A book. An energy trace. Each started with a question.
The heart garden
BP Log
Personal project
Can a photo save some typing?
A blood-pressure reading should be easy to keep. BP Log reads the monitor from a photo, lets the user check the values, and saves them on the phone, offline.
Keep the system small
Image-processing rules handle the display’s layout; a small neural network, trained only on generated digits, reads the digits in plain JavaScript. When a photo failed, I fixed that failure. A heavier runtime would not have solved it.
Measured
- the whole network: 10,123 parameters, no libraries
- 54 KB
- of 55 real photos read fully, one monitor
- 40% → 91%
- of 187 held-out digits read right
- 99.5%
Public code, data and evaluation. The 55 photos also guided development, so they are not an independent test. Users check and confirm every reading before it is saved.
The reading pavilion
Whisperbook
Personal project
Can a phone narrate a book without uploading it?
I wanted to enjoy books while walking or before sleep. The options I tried felt expensive or sounded robotic. A book can stay yours, even when it speaks.
Enforce the promise in the app
Whisperbook narrates EPUBs and PDFs on the phone, with character voices and synchronized text. Its manifest removes the network permission, so the promise does not rest on my word. Audio is prepared progressively: the opening chapter can play while the rest is still being narrated.
Measured
- network permissions at runtime: the manifest removes them
- 0
- on-device latency, narration speed and peak RAM: no reproducible benchmark is linked
- not yet
No subscription or cloud service. Public source and an Android test release.
The observatory
pyRAPL, pyJoules & Wattch
Research & independent tools
What can an energy trace actually tell us?
Know what you measured before you optimize it. I designed pyRAPL to examine energy use during Python experiments. GPU and other measurement sources led us to pyJoules.
Keep the measurement inspectable
Restricted access and work on macOS led to Wattch: separate collection, evaluation and reporting, with a simple workflow and raw traces developers can inspect.
Measured
- Wattch’s overhead against a native RAPL reader: no reproducible comparison is linked
- not yet
I designed both Python libraries and developed them with the research team. Wattch’s Rust implementation is AI-assisted. Hardware readings cover device activity during an interval; they do not automatically isolate one function’s energy.
The workshop
MCQ Scan
Lead AI Engineer · 2024–present
Who decides what an agent may do?
A client’s cloud. A business rule. A tool an agent must not call. Here the constraints are not mine to choose.
For Store Chat, a clothing-shopping assistant, I evaluated constrained-decoding tools and integrated LM Format Enforcer with vLLM to enforce allowed enum values, alongside Pydantic validation for business coherence. For a client that required hosting in its own Google Cloud, I implemented compiled application packaging for serverless deployment, so we delivered without distributing the source.
Check the permission where the tool runs
I conceived AgentDiet, an agent-governance project: signed Biscuit tokens, delegations that can only narrow, and local checks before a tool is used. I built the Python/FastAPI demonstrator and prepared the technical proposal, market analysis, budget and project plan. It received a 2026 Hyper Open X grant, funded by France 2030.
Measured
- of Store Chat requests structurally valid, internal evaluation
- 97%
- semantic accuracy per attribute, the same internal evaluation
- 95%
- less end-to-end processing time for a workflow, internal measurement
- 60%
I coordinate a two-person technical team under the CTO. The AgentDiet demonstrator validates simulated authorizations; MCP/A2A integration is its target. Company code and internal evaluations are not public.
The tower
The path so far.
First, a serious-games startup. Then software-engineering research. Now applied AI. Across those settings, I have kept returning to the same work: building something people can use, understanding the system underneath, and checking whether it delivers.
Python is my strongest language. My work spans APIs, interfaces, model integration, and deployment. I use AI coding assistants and review and validate their output.
2014–2018
Funecs
Co-founder and CTO of a serious-games startup. I led six employees and two interns and delivered two Unity games after winning Ooredoo T-Start in 2014. Our 2016 national campaign drew more than 300,000 unique subscriber numbers.
2018–2022
Inria / Davidson Consulting
Ph.D. at the University of Lille / Inria on measuring and improving the energy software uses, with research engineering and measurement tooling alongside.
2022–2024
Inria, with Qarnot Computing as industrial partner
Adaptation of the existing HWPC sensor to Qarnot’s infrastructure.
2024–present
MCQ Scan
Lead AI engineer in a two-person technical team under the CTO: applied AI development, technical coordination, and delivery.
The greenhouse
Let’s talk about what you’re building.
If you’re hiring an applied AI or product engineer, I’d be glad to hear about the problem, the people it serves, and the constraints you’re working with.
The house is built. The figure at the bottom of the screen is what drawing it for you has cost, as an estimate.
chakib.belgaid@gmail.com