EngineeringLead

Leading with AI

Leading engineers who build with AI

AI assistants and agents can draft code, tests and documents in seconds. A team that uses them well ships more and learns faster. A team that uses them carelessly ships more of what it doesn't understand. The difference is leadership.

Principle 1: a person owns every change

Whoever merges a change owns it: they must be able to explain what it does, why it is correct, and how it fails. "The assistant wrote it" is never an answer in a review or an incident. Make this explicit in your team's working agreement, and model it yourself.

Principle 2: keep changes reviewable

Principle 3: set guardrails before rollout

DecisionQuestions to answer
Approved toolsWhich assistants and agents? Under which accounts and contracts?
Data boundariesWhat code, customer data, secrets or controlled technical data may each tool see?
Agent permissionsWhat can an agent do without a person approving it: run commands, open pull requests, touch production?
Licensing and provenanceHow are you checking that generated code doesn't bring in licensing problems?
SecurityHow are dependencies suggested by AI checked? How are secrets kept out of prompts?
RecordsIn regulated work, how are AI-assisted changes recorded and reviewed? See regulated engineering.

Principle 4: design for learning

Engineers early in their careers can now produce working code before they understand it. That is not a reason to ban the tools. It is a reason to build understanding on purpose:

  1. Explain-back in review. Ask the author to walk through the change and its failure modes.
  2. Debugging rotations. Diagnosing real incidents builds the mental models that generation skips.
  3. Design before prompting. For non-trivial work, a short written design comes first, and the tool helps implement it.
  4. Pairing across levels, including on how senior engineers direct, question and correct AI output.

Principle 5: decide what never gets delegated

Some decisions stay with people regardless of tooling: architecture that is expensive to reverse, security-sensitive changes, anything touching safety, and the call to ship. Write the list down. Teams move faster when the boundaries are clear than when they are guessed.

Common failure patterns

To tell whether AI tools are actually helping, see measuring engineering work.

Last reviewed 2026-09-17