A Book by Rasmus Bornhoft Schlunsen
Engineering in the Age of AI Agents
March 2026
"You write code, you ship it. That loop is breaking."
"The craft isn't dying — it's molting."
19 chapters covering:
The spectrum of AI assistance in software engineering:
"You're Tom Cruise. The agent is Dustin Hoffman."
Click to reveal
Breaking down complex tasks into steps. Understanding dependencies, ordering work, and deciding what to do first.
Click to reveal
Reading files, running commands, calling APIs, writing code. The agent's hands in the real world.
Click to reveal
Running code, seeing errors, fixing them, and trying again. The observe-adjust loop that makes agents powerful.
Agent expands beyond the task, refactoring code you didn't ask it to touch.
Fix: Small, focused prompts. One task at a time.
Agent invents function signatures or library methods that don't exist.
Fix: Always run tests. Pin dependency docs in context.
Agent presents wrong answers with certainty. No hedging, no doubt.
Fix: Verify everything. Trust but verify.
Agent forgets earlier instructions as the conversation grows long.
Fix: Fresh sessions. Project rules files. Keep context lean.
Wee — from theory to working code
"The best way to learn agentic engineering is to build agentic tooling."schlunsen/wee
What if your pipeline could hack itself before attackers do?
(Case study: Donna — open-source, Claude Agent SDK + Temporal)
"Every principle from the book — guardrails, sandboxes, orchestration, testing — converges here. If you can safely let agents attack your software, you've mastered agentic engineering."
"The same guardrails that protect you FROM rogue agents now need to protect the world FROM your intentionally hostile agents."
Sandbox your pentesting agents. Get written permission. Scanning production isn't testing — it's an incident.
Agents hallucinate vulnerabilities. Every finding needs human eyes before it becomes an action item.
"You're the captain. The crew is disposable. The ship is not."