Chapter 7: The Unleashed Intelligence (Autonomous Mode)
AgentSpek - A Beginner's Companion to the AI Frontier
I gave Sonnet 4 my slow blog build overnight and woke to a better fix than mine. Another night it turned my S3 and CloudFront setup into a multi-region design costing hundreds a month.
Autonomous AI development is more a direction than a place you arrive at. Once you start moving in it, you do not go back.
What Happens When You Sleep
I had been struggling with a content processing bottleneck in my Astro blog’s build pipeline for weeks. Every build was taking longer. The markdown-to-HTML conversion crawled. Image optimization that should have been parallel was somehow sequential. The whole system felt sluggish in ways I could not quite pinpoint.
So I wrote a CLAUDE.md specification describing the problem and the constraints, set up Sonnet 4 in agent mode with access to the codebase, and went to bed.
What I found in the morning changed how I think about delegation.
The AI had traced the data flow through my entire Python ETL pipeline and found where transformations were being duplicated, and race conditions in the async processing I had not suspected existed. It refactored the pipeline to use proper work queues and put caching in at the right abstraction level. It also found that my Neo4j queries were creating cartesian products in certain edge cases.
It was better than what I would have built, and I do not think that is because the AI was smarter. It did not share my assumptions about where the problem was. I had focused on the markdown processing because that is where I saw symptoms. The AI found the real disease in the orchestration layer.
Letting Go
Trying to control the process tightly makes it worse. The best results I have had from autonomous AI came when I let go the most while keeping the clearest sense of what “good” looks like.
I am still responsible for all of it. I just work higher up now. I curate outcomes and set the conditions for the intelligence to explore, and I leave the implementation details and the specific moves to it.
Zhuangzi taught that the perfect man uses his mind like a mirror, grasping nothing, refusing nothing, receiving but not storing. Your role becomes something like that. You reflect clear objectives and constraints and let the intelligence find its own path.
The progression happens on its own. First you hand over small tasks. Fix this function, optimize that query. You check everything and verify every line. The AI is a faster typist.
Then you start handing over whole features. Build the authentication system, create the data pipeline. You review higher up, at the level of the architecture and the approach, and you stop reading for syntax.
Then the leap. You hand over whole problem spaces. Make the build faster, improve the user experience. You have stopped specifying how. You say what and why and let the intelligence find the path.
The more autonomy you grant, the more precise your thinking has to be. Ambiguity is fine when the AI is typing syntax for you, and dangerous once it is designing architecture. By the time you are handing over a whole problem space, it is catastrophic.
Trust as Architecture
The trust this takes rests on what I can watch happening, which is a different thing from faith.
I learned this when I first let Sonnet 4 redesign my entire AWS CDK infrastructure overnight. I woke up to find it had replaced my simple S3 and CloudFront setup with a complex multi-region architecture that would have cost hundreds of dollars a month. Brilliant work that I could not afford.
I still trusted it after that. What changed was the structure around the trust.
I think about autonomous AI the way I think about rivers. You do not control where every drop of water goes. You shape the banks and decide where the river can and cannot flow, and the water finds its own path inside that, often down channels you would never have imagined.
Observability matters more than control. I want to see what the AI is thinking and understand how it decides, more than I want a hand in every decision.
Intervention thresholds. Some things need a human looking before they happen. Database migrations, API contract changes, costs above a threshold, alert me on those. Everything else, show me what you did and why after you have done it.
Reversibility changes everything. When I know I can undo, I can afford to let the AI do. Every autonomous session happens in a branch, every change is atomic, and every experiment can be rolled back. Failure is cheap that way, so I can let it explore.
The short definition of where agent mode ends and autonomous mode begins is its own essay: Agent Mode vs Autonomous Mode.
You’ve read the opening sections of this chapter. The full chapter (Monitoring as Conversation, Making Autonomous Mode Real: Technical Implementation, The Language of Autonomy, When to Pull the Plug, Learning from the Unleashed Mind, The Morning After) continues in the book.
Chapter 7 of 18 in Chapter 7: The Unleashed Intelligence (Autonomous Mode)