← Back to essays
·2 min read·By Ry Walker

Put AI on Defense, Not Just Offense

Put AI on Defense, Not Just Offense

The conversation around AI-generated code has become predictable. Someone posts about shipping faster with AI. The replies pile up: what about security, what about debt, what about quality. These are legitimate concerns. They are also, almost universally, arguments against the wrong target. The problem is not that we are using AI to write code. The problem is that we are using AI on offense only — and the asymmetry is what creates the risk everyone is right to worry about. The fix is symmetric deployment: equal or greater firepower on defense.

Loading tweet...

I broke this argument into five atomic posts. Read them in any order:

The teams that figure this out first — deploying agentic AI on both sides of the equation — will ship faster AND be more secure than companies clinging to human-only review processes. Not because AI is perfect. Because AI operates continuously, at scale, without getting tired or distracted or taking PTO. Speed is not the enemy of security. Lack of automated defense is.

The alternative — humans moving slowly as the only answer to quality — does not scale. Deep down, everyone knows it does not scale. The companies still pretending otherwise are buying eighteen months of comfort against five years of competitive pressure. Build the defensive infrastructure now, while the patterns are loose enough that you can shape them.

If you are building this, Tembo is free for light use. I'd love to see what defensive agents you stand up.

— Ry

Key takeaways

  • Use AI for defensive work: reviews, tests, security checks.
  • Adversarial or multi-agent review surfaces more issues.
  • Guardrails are required to avoid noisy AI output.

FAQ

What does 'AI on defense' mean?

Applying AI to find problems, not just generate features. Think reviews, tests, and security checks first.

Does AI defense replace human review?

No—use it to augment and triage before human judgment. Treat it as a noisy scout, not a final gate.