Module 11 · Modules 10–17

Context engineering

The agent’s briefing.

11

Context is what the engineer deliberately puts in front of the agent, rather than whatever the agent happens to encounter. Context engineering is a discipline with its own principles, artefacts, and failure modes.

Context as a budgeted resource: the token window is finite, attention quality degrades toward the end of large contexts, and kitchen-sink context (providing everything that might be relevant) demonstrably degrades performance. The engineering task is curation.

Context as a designed artefact: the CLAUDE.md and AGENTS.md files are the primary mechanisms for persisting project-specific knowledge across sessions. Recent empirical research makes the design requirement concrete: human-written context files improve agent performance by approximately 4%, while LLM-generated context files decrease performance by 3% and increase token cost by over 20%.

What goes into such a file falls into four kinds of content. Standards and processes: coding conventions, naming rules, build steps, the testing approach. Code quality expectations: stylistic guidance, the team’s stance on readability versus performance. Problem-solving heuristics: how the team prefers tasks to be approached. Collaboration protocols: how the agent should communicate, what to flag for human review, when to escalate.

A related practice is a maintained lessons-learned file: a running record of corrections the human has made and rules the agent should internalise across tasks. This converts ephemeral course-corrections into durable project knowledge. Context as a maintained system: context files change as the project changes. Bad context is the dominant cause of bad agent output over time, and it accumulates silently.

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