Imed Magroune

AI Lead at CEA — reasoning architectures, world models, autonomous agents

I design AI systems from first principles: new reasoning architectures, world models that learn how environments respond to actions, and HQOS, a Rust operating system for autonomous research agents that review their results and improve their own methods. Behind that are 30 years of putting critical IT into production at CEA, Andra and a national health ministry, and of recruiting and leading teams of up to 120.

Now

Current work

Reasoning

IERM / IERM2 — compact reasoning architecture

A 2–4M-parameter reasoning architecture for ARC-style tasks, designed and trained from scratch, released with preprint, code and checkpoints. Entered ARC Prize 2026 (ARC-AGI-3) on Kaggle.

Agents

HQOS and feynmagi — autonomous agents

feynmagi (2024): a self-improving open-source Python agent. HQOS: a Rust operating system that manages several always-on, self-improving autonomous agents, allocates per-task budgets and chooses between local models and cloud APIs.

Models

Models and inference engines from scratch

Language and vision-language models and their inference engines built from scratch, including in Rust. FeynModel and LLMEyeCap are released on Hugging Face.

2026

Talks & courses

Seminar · Edge AI October 2026

Local AI agents: from a model to an agent on GPU, CPU, ARM/RISC-V and ESP32 (in French)

Running a model locally, then turning it into an agent, on GPU, CPU, ARM/RISC-V and ESP32 hardware: Jetson Nano, Raspberry Pi 5, ESP32-P4. 76 slides.

Course · LLM September 2026

From Markov to AI agents: how a language model thinks (in French)

How a language model reasons — internal mechanisms, attention, and generation, with a timeline from 1900 to 2026. 78 slides.

2024 – 2026

Tutorials & workshops

Webinar2026

System One — a single-pass decision model

Notebook built step by step on Qwen3-0.6B: a model that scores a variable list of choices in one forward pass, with attention masks, decision heads, training and calibration.

GitHub
Workshop2025

RagLabs — AI engineering workshop (in French)

Jupyter modules: LLM and VLM access (local and API), MCP servers and clients, an agent from scratch, agentic RAG, n8n and no-code tools.

GitHub
MCP2025

MCP Server WebTools

An MCP server (FastMCP, Playwright) exposing web navigation, content extraction and form filling as tools for AI assistants.

GitHub
Reasoning2024

Q* — multi-step reasoning with A* search

Illustrated tutorial and implementation combining Q-learning with A*-style search to improve LLM reasoning on the MATH benchmark.

Research output

Publications, models & code

Preprint2026

IERM: Compact Interactive Endomorphic Reasoning Models for Program Induction

A compact architecture that separates the induction of latent programs from demonstrations and their execution during iterative reasoning. Around 12% of tasks solved on ARC-AGI-1 and over 63% on Sudoku Extreme, with 2–4M parameters.

About

About

I am AI Lead at CEA (IRFU / DEDIP). Before that I headed the institute's scientific computing laboratory, chaired its computing strategy committee and led the rollout of its HPC clusters and internal cloud. I brought generative AI into the laboratory: language models on its own infrastructure from 2023, then agents that use tools and execute code. I also contribute to CEA's AI working group and oversight committee.

Before CEA, I was customer-side IT and architecture lead at Andra (2010–2021), and earlier led a 120-engineer operations organization across 72 hospital sites at a national health ministry computing centre. My own research covers reasoning architectures, world models and autonomous agents.

Programming: Python, Rust, C/C++, CUDA

CEA / DRF / IRFU / DEDIP