Engineering notes and research.
I write about AI agent architectures, distributed systems, and the tools that connect them. Currently building at Microsoft.
What a sandbox does not solve for an AI agent
An isolated agent can still make the wrong production change. Isolation, identity, and per-action approval are separate controls.
Presentations
Recent Writing
What a sandbox does not solve for an AI agent
An isolated agent can still make the wrong production change. Isolation, identity, and per-action approval are separate controls.
Can a machine learn from a bowl of fruit?
Ordinary instructions, examples, and the AI family.
What counts as an example?
Data, features, targets, representation, and responsible collection.
What kind of answer are we asking for?
Categories, quantities, groups, and reward-driven actions.
How does a wrong guess become a better one?
Models, parameters, loss, optimization, and training.
Why build a network of little calculators?
Units, activations, layers, architecture, and backpropagation.
Did it learn the task or memorize the cards?
Data splits, generalization, overfitting, and leakage.
How does a word become numbers?
Vectors, tokens, identifiers, and learned embeddings.
How does a model connect words across a sentence?
Order, attention, transformer blocks, and generation boundaries.
How can one model help with many jobs?
Foundation models, training stages, modalities, and diffusion.
Why can the same question get a different answer?
Context, probabilities, sampling, temperature, and uncertainty.
How does the assistant find today's recipe?
Chunks, indexes, search, RAG, memory, and context assembly.
How can words cause an action?
APIs, schemas, tool calls, MCP, and reusable skills.
When does an assistant become an agent?
Applications, workflows, agent loops, state, and recovery.
What keeps the agent inside the kitchen?
Harnesses, context management, permissions, limits, and traces.
How do we know it helped?
Evaluation cases, rubrics, tests, judges, and meaningful fractions.
What does the whole cafe actually need?
A connected task, deployment, resources, caching, drift, and privacy.
One scenario, several defensible designs
A fictional lab scenario brings the contracts, tests, recovery paths, and location choices together without requiring a single endpoint.
The road ahead: What evidence would justify more autonomy?
Before removing an approval step, ask what evidence would justify the change, what the trial cannot show, and what would reverse the decision.
The Amplification Playbook
A proposed trial for redesigning one workflow around AI, with explicit baselines, worker input, learning checks, and a decision to stop.
Incident resolution with AI: A hypothetical reference design
A fictional incident workflow follows an AI-assisted rollback from alert to verified recovery, with explicit authority, handoff, and failure constraints.
Keep the playbook, or move behavior into the service?
An architecture decision separates execution form from implementation location, with ownership, rollout, and recovery on both sides.
The New Skill Premium
Job postings show which skills employers ask for, not what caused a wage premium. Build a development plan without mistaking either for a guarantee.
From vibe coding to verified: Practising independent diagnosis
A proposal for practising independent diagnosis in AI-assisted engineering, with synthetic exercises and tests of whether the learning transfers.
Measure the outcome, not just the model calls
Define eligible work, verified outcomes, cost, and human effort before comparing execution forms or claiming an improvement.
What sleeper agents mean for production AI systems
Sleeper-agent experiments show why cleaner evaluations do not prove harmful behaviour is gone, and why production checks need independent evidence.
Amplifying Creativity
AI suggestions can improve an individual story while making a collection of stories more alike. Quality and variety need separate tests.
Permissions, recovery, and changed inputs
A recovery runbook for denied access, stale evidence, partial work, and drift, without silently granting an agent more authority.
Designing Decision Boundaries for AI Autonomy
How to turn autonomy policy into testable action conditions, using a hypothetical booking service to examine consent, reversibility, retries, and the cost of delay.
Intelligence Amplification in Code
AI coding tools can accelerate a bounded task and slow experienced maintainers. Measure the work you actually need to finish.
Five Ways to Question an AI Agent's Success
A proposed review framework for checking an agent's diagnosis, scope, lasting outcome, downstream effects, and context freshness beyond a successful tool call.
When a rule has earned its place
An executable synthetic example tests a narrow status rule, its rejection boundary, and the limits of replacing interpretation with code.
AI Governance Needs Shared Rules and Different Controls
How to keep shared AI governance rules while tailoring controls to each use, with explicit ownership, testable evidence, and reassessment when permissions change.
The Cognitive Offloading Trap
Better assisted work and better learning are different outcomes. A classroom experiment shows why the distinction matters.
Keep the reasoning where it is needed
A worked hybrid workflow separates collection from interpretation and makes invalid answers, uncertainty, and consequences visible.
When Human Oversight Pays for Itself
A practical cost model for human review, with a hypothetical payback calculation, sensitivity checks, and cases where oversight does not break even.
The Great Equalizer
AI can narrow performance gaps on a task. That does not mean it gives novices an expert's knowledge, pay, or independence.
What a playbook must promise, and who can author it
A fictional lab contract separates evidence, decisions, and authority, with ownership and stop conditions that a reviewer can inspect.
Your AI Agent's Skills Might Be Malware
What the ToxicSkills audit found, what its numbers do not prove, and how to limit the damage from a compromised agent skill.
Graduated Automation: How to Scale AI Without Losing Control
How a procedure earns permission to act: scoped approvals, independent checks, and withdrawing autonomy when conditions change.
The Centaur Advantage
Human-AI routing only helps if the router can identify a useful difference in ability. A chess experiment shows both the opportunity and the difficulty.
Two ways to get a useful playbook
Learn from an investigation or start with domain expertise. Both routes need an explicit contract and a record of what remains uncertain.
The Hidden Debt in AI-Generated Code
What public studies reveal about persistent code-quality issues, the limits of AI-versus-human comparisons, and reviewing architectural change.
The Amplification Thesis
AI can improve human work without making human-plus-AI the best option. Design for amplification, then test it against the alternatives.
Three execution forms, not a maturity ladder
Who chooses the next step, where reasoning occurs, and how to describe a mixed workflow without calling it a maturity ladder.
AI and critical thinking: What the research actually shows
What an EEG experiment, a knowledge-worker survey, and a perspective paper tell us about AI, critical thinking, and meaningful human oversight.
When an AI workflow should become ordinary automation
Once an AI-assisted workflow works, which parts should become normal software and which still need reasoning?
AI changes the work. Who gets the gains?
Automating a task can help a worker, replace their work, or create demand elsewhere. The outcome depends on how jobs and institutions change.
Why Human-in-the-Loop is Not Optional for Production AI Agents
The six-pillar argument for why HITL is not a transitional compromise but a structural requirement of any production AI system.
Decentralized Granular Access Control for Agentic AI Systems
Multi-layered access control architecture for agentic AI in critical cloud infrastructure.
The Case for Human-in-the-Loop: A Six-Pillar Framework
53 research papers argue HITL is a structural requirement of any production AI system.
Autonomous Incident Resolution at Hyperscale
Multi-agent orchestration for autonomous network incident resolution with safety guarantees.
From Reactive to Autonomous: Evolution of AI Operations
Five-generation maturity model from manual troubleshooting to autonomous resolution.
MCP vs CLI: Comparative Analysis of AI Agent Tooling
Complementary transport layers evaluated across 14 dimensions with benchmarks.
Zero Trust in Azure: Strategies for Securing Cloud Infrastructure
Seven practical strategies covering NSGs, Private Links, Azure Policies, AVNM.
Explore Series
AI Kitchen: from first principles
Sixteen chapters on data, learning, models, retrieval, tools, agents, evaluation, and operation, with 168 linked concepts and original teaching pictures.
Progressive Crystallization
Ten essays on agent-led, hybrid, and deterministic playbooks: where knowledge comes from, what to test, and where the behavior belongs.