Principal Engineer · 16+ years

Helping engineers take LLM and agent systems from demo to production.

Architecture, evaluations, observability, failure handling, cost and latency: the parts a demo never has to answer for.

Or go deeper: the live cohort ↗
Live cohorts on Maven500+ articlesThe Breakpoint podcast
Enrolling nowLive cohort on Maven

AI Transformation for Organisational Leaders

For directors, heads of function and founders: eight live evening sessions with Ehsan Gazar and Anoosh Zeighami, ending with a one-page 2027 AI plan for your organisation, built on a real workflow and ready for your leadership team.

Starts Wed, 4 Nov · 7:00pm London · live on Zoom

$1,495, or $1,045 with code EARLYBIRD until 23 Oct.

Enroll on Maven ↗
FreeWed, 21 Oct · 7:00pm London · 30 minutes
Free Lightning Lesson on Maven

For Leaders: How Can AI Solve a Millennium Problem Yet Fail?

Free, live, 30 minutes, for organisational leaders. AI may have just settled a 90-year-old maths problem, yet the same systems still fail simple tasks. A manager's framework for capability, intelligence and reliability, so you know when your teams should trust an AI output and when they should not.

FreeWed, 28 Oct · 7:00pm London · 30 minutes
Free Lightning Lesson on Maven

Stop Adding AI to Old Workflows: For Organisational Leaders

Free, live, 30 minutes, for organisational leaders. Take one knowledge workflow apart and redesign it around AI: which old constraints still shape it, what AI changes, what must stay human, and how to run a first bounded experiment.

Also on Maven, waitlist open: Production-Ready Systems with LLMs and Agents ↗ · From Senior to Staff: Master the Architecture Skills That Get You Promoted ↗

What engineers say

29+ engineers and colleagues, sharing what changed after we worked together.

“Ehsan is a great asset to any team. He is very knowledgeable and a team player. He goes the extra mile to get the job done and is always looking for ways to improve team dynamics. It was a pleasure working with him on several projects.”
Soroush Masoudi
Project Manager at RTA
“I've been working with Ehsan in Netbarg. He has always proved to be a results-oriented teammate who has great technical skills. I would like to recommend Ehsan as a key co-worker to whom to trust any critical work.”
Ali Fazeli, VP of Engineering at Snapp! Express
“It was a great session with Ehsan. I really admired the way he made me understand about so many things. I got to learn a lot from him”
Nihit Moolaney, Student
Read all 29+ testimonials →

More ways to learn

Two free tools I build

Read what your agents did. Keep your hands in the code.

Marlin

An open-source terminal for running coding agents. See what each one changed, read the diff, then stage and commit without leaving it. No account, no telemetry.

See Marlin →

Coding

One TypeScript problem, written from memory against hidden tests, on a schedule that brings it back just before you would have forgotten it. No account needed to try one.

Latest writing

View all →
Why AI Can Crack a 90-Year-Old Maths Problem and Still Get Your Invoice Wrong
Leadership

Why AI Can Crack a 90-Year-Old Maths Problem and Still Get Your Invoice Wrong

AI can do brilliant work and still fail a simple task. Leaders need to separate what it can do from whether they can depend on it.

I Use AI Every Day: Why I Built a Place to Practise the Old Problems
Leadership

I Use AI Every Day: Why I Built a Place to Practise the Old Problems

I use AI every day, I enjoy it, and I am not going back. What it quietly took is the part of me that produces code from an empty file: the best practices I used to apply without thinking, and the problem solving underneath them. Why the existing practice sites did not fit, and what I built instead.

LLM Tracing vs Evals: Which One Tells You Why Your Agent Broke
Artificial Intelligence

LLM Tracing vs Evals: Which One Tells You Why Your Agent Broke

Your agent gave a bad answer and you cannot say why. Tracing tells you what happened on one request. Evals tell you whether quality moved across many. They answer different questions, and if you only build one this quarter, build the one that makes the other actionable.

The Innovator's Dilemma: Why Doing Everything Right Gets You Killed
Reviews

The Innovator's Dilemma: Why Doing Everything Right Gets You Killed

Clayton Christensen showed why good engineering teams build irrelevant products. The paradox of listening to your best customers, and how to stop ignoring the toy technologies that will eventually replace you.

Containers vs Cloudflare Computer: There Is Not Enough Compute for One Box Per Agent
Artificial Intelligence

Containers vs Cloudflare Computer: There Is Not Enough Compute for One Box Per Agent

Nearly every agent framework decided that one agent means one container. Cloudflare says there are not enough computers on earth for that to work, and has flipped it around: the agent lives in a tiny sandbox with a filesystem that stays behind, and a container is only borrowed when Linux is truly needed. Here is the argument in plain words, why Cloudflare made it, and where I would use it.

Graph Engineering: Every Edge You Draw Takes a Decision Away From the Model
Artificial Intelligence

Graph Engineering: Every Edge You Draw Takes a Decision Away From the Model

Agent graphs are state machines with a new name on them. The engineering question is not what a node is, it is which routing decisions you take away from the model and which you leave to it. The rule I apply: only draw edges for decisions you can make better in advance than the model can at runtime.

Popular this week

What other engineers have been reading in the last seven days.

Lefthook vs Husky: Why I Switched and Never Looked Back
DevOps

Lefthook vs Husky: Why I Switched and Never Looked Back

Lefthook replaces Husky and lint-staged with a single Go binary, parallel hook execution, and built-in file filtering. Here is why I switched and kept going.

oxlint vs ESLint: Why I Replaced ESLint with oxlint
TypeScript

oxlint vs ESLint: Why I Replaced ESLint with oxlint

Replaced ESLint with oxlint in a React TypeScript project and cut lint time from 12 seconds to under one. What I traded away and whether it was worth it.

Situational Awareness: The Decade Ahead to AGI by Leopold Aschenbrenner
Reviews

Situational Awareness: The Decade Ahead to AGI by Leopold Aschenbrenner

A short, simple review of Leopold Aschenbrenner essay. He says AI will reach human-level smarts around 2027. Here is what he gets right, what he gets wrong, and what it means for you.

Clean Architecture and Onion Architecture: The Same Idea, Drawn Differently
System Design

Clean Architecture and Onion Architecture: The Same Idea, Drawn Differently

I've reviewed a lot of codebases over the years where someone had clearly read Uncle Bob's Clean Architecture book, gone back to their team, and said "we'...

Exploring Matrix Data Structure in TypeScript
Data Structures

Exploring Matrix Data Structure in TypeScript

A matrix is a 2D grid of numbers arranged in rows and columns. If you've ever worked with images, game boards, spreadsheets, or machine learning features,...

Everything Is Being Rewritten in Rust. Is It Time You Learned It?
System Design

Everything Is Being Rewritten in Rust. Is It Time You Learned It?

The kernel dropped the experimental label, Cloudflare rewrote its proxy, and your JavaScript build is already Rust underneath. That is the case for learning it. The case against is that the most important TypeScript tool of the decade picked Go. Here is how I read the trade-off, and where I would still not leave TypeScript.

Where to start

The deep dives I'd point a senior engineer at first, grouped by topic.

All 16 topics →