Skip to content
Intuitions by Hamidreza Saghir

A notebook

Intuitions behind
the world.

Essays, notes, and experiments on machine learning, AI, and the non-linear nature of things, by Hamidreza Saghir.

Read the blog Research

Featured

All posts →

agents ·python

The loop is the product

Agent frameworks hide the loop behind agent.run() and a graph DSL. But the loop is where every interesting decision happens: what the model sees, whether a tool call proceeds, when to stop, what to record. What if you owned the loop and the framework just made it composable?

Read →

Recent writing

Archive →

security ·agents

The verification asymmetry

Offense asks 'does a bug exist?' Defense asks 'are all bugs gone?' One is an existential claim you can check with a single example. The other is a universal claim nobody can check. This asymmetry, not model capability, is what determines where AI agents work in security.

Read →