Module 03 · Modules 1–5

Mental models of agents

How agents actually work.

03

The module describes how agents actually work, at the level of precision a practitioner needs to direct them effectively. Mental models make agent behaviour intelligible rather than mysterious, and failure modes predictable rather than surprising.

The context window is the agent’s entire world for a session. Everything the agent knows exists within a finite token budget. There is no memory outside the window unless the engineer explicitly provides it. The agent has no awareness of what it does not know. Context engineering follows as a structural necessity.

Tool use is the mechanism through which agents act on the world. The available tools (read file, write file, run shell command, search the web, call an API) define its action space entirely. The ADE determines this action space, and the human who configures it makes architectural decisions about what the agent can and cannot do.

Planning is how agents decompose complex tasks into sequences of actions. Plans are only as good as the agent’s understanding of the task, which is only as good as the context assembled for them. Agents plan confidently regardless of whether the plan is correct.

The failure-mode taxonomy is the most practically useful framework for diagnosing problems. Hallucination: generating plausible-sounding content that is factually wrong. Misalignment: solving the wrong problem because the intent was insufficiently specified. Ambiguity collapse: an underspecified instruction leads to confident output that picks one interpretation without acknowledging the others. Sycophancy: agreement with the human even when the human is wrong. Each failure mode has a different root cause and a different remedy.

The jagged frontier closes the conceptual material. AI vastly outperforms humans on some tasks and fails surprisingly on others that seem easier. Practitioners must develop intuition for where the frontier runs in their specific domain.

Mikael Alemu Gorsky

Mikael Alemu Gorsky is an educator and researcher, and the author of two programs: Agentic Software Engineering, on building software with AI agents, and Building Cognified Systems, on building software that thinks.

He teaches at the Holon Institute of Technology, near Tel Aviv, where Agentic Software Engineering runs as a graded course. He is an educator and researcher.

Nine published works, 100+ citations. A 350-page textbook under contract with a major academic publisher.

Teaching and programs

Agentic Software Engineering — program, preprint and textbook

The discipline of structured, auditable human-agent workflows for building software. The human frames, specifies and judges. The agent executes. Nineteen modules in four parts, built on a running project called Tribunal, a web application in which agents argue opposing sides of a case and a judge agent decides. Taught for credit at the Holon Institute of Technology.

Agentic Software Engineering curriculum

Building Cognified Systems — program, paper and book in writing

How to build systems that hold a language model as a working component, and treat that component as what it is: stochastic, slow and metered. Fourteen modules in four parts, about seventy hours. The running project is the Observatory, a news agency that watches sources, selects what matters and publishes on a cadence.

Research and analytics

Publications — journals and proceedings

Nine works, 100+ citations. Research on artificial intelligence in education, with Ilya Levin and Alexei Semenov.

The AI Pravda — LinkedIn newsletter

Critical analysis of artificial intelligence and its effect on work and society. 5,500+ subscribers. The complete archive of 103 issues (2023–2026) is published in full at mgorsky.net/theaipravda.

Subscribe to The AI Pravda on LinkedIn

Pro bono

AI for seniors — free workshop

Helping older adults use everyday AI tools. Delivered to Russian-speaking communities in Israel.

For older adults, artificial intelligence is about preserving quality of life, maintaining autonomy, and sustaining the feeling of independence that defines dignified aging. For seniors who have emigrated, AI becomes a bridge: it can translate documents, explain official letters, help compose emails in the local language, and guide users through government websites. The workshop has been delivered to Russian-speaking communities in Israel, where participants — many of them in their 70s and 80s — discovered that AI could help them read Hebrew documents and communicate with Israeli institutions.

Startup competitions — unpaid time

Judging and mentoring early-stage ventures. Helping teams clarify their value proposition, assess technical feasibility, and prepare for the realities of scaling an AI product.

AC/VC LinkedIn group — community

A group for developers and students working with coding agents. The community shares practical insights, code examples, tool comparisons, and honest assessments of what works in production.

Join the AC/VC LinkedIn group

Recent

Important Links